Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2003 05:34:36 +0900 (JST)
From:      Hiroki Sato <hrs@eos.ocn.ne.jp>
To:        doceng@FreeBSD.org, doc@FreeBSD.ORG
Subject:   suggestion for adding a l10n-capable doc-format navi
Message-ID:  <20030414.053436.95910003.hrs@eos.ocn.ne.jp>

next in thread | raw e-mail | index | archive | help
----Next_Part(Mon_Apr_14_05:34:36_2003_748)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

 I think I would like to commit the attached patch.
 The changes are:

  1) Generate a link which can be used for readers to choose split and
     single HTML version of a document easily.  This is enabled for docs
     under articles/ and books/ if WITH_DOCFORMAT_NAVI_LINK=YES is
     specified in the Makefile.  In the patch it is enabled in
     en_US.ISO8859-1/articles/pam only, but I am planning to add it
     into all of docs in articles/ and books/.

  2) Add an entity-set for l10n purpose.  When WITH_DOCFORMAT_NAVI_LINK=YES
     &docnavi.split-html; and &docnavi.single-html; are used,
     but they should be translatable.  I added l10n.ent to
     share/sgml, en_US.ISO8859-1/share/sgml, and ja_JP.eucJP/share/sgml,
     and defined FPIs respectively.  During build process, the two of l10n.ent
     are read in ${LANGCODE}/share/sgml/l10n.ent -> share/sgml/l10n.ent order,
     so when &docnavi.split-html; is defined in a language-specific directory
     it is used, otherwise share/sgml/l10n.ent is used.  Since l10n.ent is
     included in share/sgml/freebsd.dsl, it can also be used for general
     purpose.

  3) Add `margin-left' into PROGRAMLISTING and SCREEN class in docbook.css, and
     remove %indent-{programlisting,screen}-lines% in freebsd.dsl.
     This resolves a indentation problem of <programlisting><inlinegraphic
     fileref="foo" format="linespecific"></programlisting>.

 Any comments or objections?  These are not small changes,
 so I would like your advice.

-- 
| Hiroki SATO  <hrs@eos.ocn.ne.jp> / <hrs@FreeBSD.org>

----Next_Part(Mon_Apr_14_05:34:36_2003_748)--
Content-Type: Application/Octet-Stream
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="docnavi.diff.gz"

H4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REBEFaz2Buqt8kJ4HPApaPJyFnE4xgznNdf2xBjv1nW1lkN6Kg59kqYnMg
UA7hMIwtDYSz1nthVSi4dB/L13DuE6rB81xOaLTrvZ6A8pyp1C/7jKgISQOL/Pq4eDz3fAAhXSJl
lTw0EK5ofcXryuGjECxxvyju0B/EhpJf5sQxSCJuhuuYCWdyOXbCfRlqSjrJuZ1IXeqO3LUgRVNz
hu6F8/P7T3Ux8fRuOnQTGvI7p+La9NVJ8JyVO5GfQdeivS0iQVT4ngjiGu5p/ipMkBcjViTZYo2Z
l9QNUImrWyT22frZ+CR1fg53WhCQKKDmMhzp5nYtKukLyBsgvFC2DWb7OLSatM9KG/+J4WvnbUea
VjRRLBLOWNRnMzx7sIQLzE1KxJFrmxiYX50wEnkcDGFwHxwsf0v5HwYCsSlZl0qvf+Ejt1g/pviG
DQkbOyNc+5e+nc0sJRtpPex5bllqIA7ftHRuK2RhE+MSK63sTVfYFI4EN9kWC4akcMexQXjOiczn
b7J7xO2rxC4lfrAhRRuDuLbYBOji/I//ItqfWBTwz58QYD+Sge+CaaG/+h0yCX576Pq+OwV3BEQ3
JsDyICWY2BkZ6XPbp2w2buYJrlEC1E0A+4h1a5mYFaALSk3xDOPObTOhxSNh1n3mlE7BIQahVPfu
JP5TLWfcisrIdqFaVZOkmzPr4IreF+yatTPHF2eeO/b0KdvNwWMGh9CDrBhpEPhLLIiByk3aKJZj
4uypJakkZaNvJN6baff6+fmBnjJse7LwpU8T/v+IM/0R538AW1mGG4YjAAA=

----Next_Part(Mon_Apr_14_05:34:36_2003_748)----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030414.053436.95910003.hrs>