Next in thread → Next in month →

Re: [docbook] Automatic numbering in DocBook

From
Jirka Kosek <>
Date
2006-06-11T09:24:55+00:00
ID
Thread
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:      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
------------------------------------------------------------------
Next in thread → Next in month →