[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook] How to handle lost functionality regarding the tocelement and lot element in DocBook 5
Rowland, Larry wrote:
> Since we publish HTML version of all books as well as the PDFs and want
> them to be as consistent as possible, processing instruction seem less
> desirable, since it would be necessary to repeat them for the HTML and
> PDF if the convention of directing the processing instruction at the
> specific output format is to be maintained.
Processing instructions does not have to be tied to a specific output
format. You can use some general PIs like <?toc?> <?lot figure?> <?lot
procedure?> to mark places where ToC or LoT should appear.
I use PIs exactly for this purpose very successfully. I usually use
customer name as a target for PI to prevent name clashes. So in your
case, it can be perfectly reasonable to PIs like:
<?hpdoc toc?>
<?hpdoc lot="figure,procedure"?>
Just my 0.02 PIs ;-)
Jirka
--
------------------------------------------------------------------
Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz
------------------------------------------------------------------
Profesionální školení a poradenství v oblasti technologií XML.
Podívejte se na náš nově spuštěný web http://DocBook.cz
Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
Nejbližší termíny školení:
** XSLT 13.-16.3.2006 ** XML schémata 24.-26.4.2006 **
** DocBook 15.-17.5.2006 ** XSL-FO 12.-13.6.2006 **
------------------------------------------------------------------
http://xmlguru.cz Blog mostly about XML for English readers
------------------------------------------------------------------
S/MIME Cryptographic Signature
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]