OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook] Automatic numbering in DocBook


nico wrote:

> IMHO there are cases where verbatim layout should look differently in 
> the same document. For example, one can have two listing flows, one for 
> some old code implementation (in perl), the other for the new 
> implementation (in python), and it can be interesting to show each flow 
> differently. Moreover, a document can contain many kinds of listing 
> stuff: to dump log files, to dump listing code, to dump a README or some 
> legacy text, or to dump some configuration file. For each case it can be 
> interesting to have a different rendering. BTW, I don't see why some 
> global style setting should affect in the same manner <programlisting>, 
> <literallayout>, <screen> or <synopsis>.

You can use role or language attributes to differentiate between various 
kinds of listings.

-- 
------------------------------------------------------------------
   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í:
        ** DocBook 15.-17.5.2006 ** XSL-FO 12.-13.6.2006 **
     ** XSLT 23.-26.10.2006 ** XML schémata 13.-15.11.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]