[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: Automatic numbering in DocBook
/ Jirka Kosek <jirka@kosek.cz> was heard to say:
| nico wrote:
|
|> Ok, role is a handy way to customize things, but you cannot do everything with
|> this. There might be some cases where the same kind of programs (say, perl)
|> should have a different line numbering. Would you create another role, like
|> "perl-short", "perl-long"?
|
| No ;-)
| You can use something like:
|
| <programlisting language="perl" role="densenumbering">
D'oh! <sound-effect>hand slapping on forehead</sound-effect>
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Man is an intellectual animal, and
http://www.oasis-open.org/docbook/ | therefore an everlasting
Chair, DocBook Technical Committee | contradiction to himself. His
| senses centre in himself, his
| ideas reach to the ends of the
| universe; so that he is torn to
| pieces between the two, without a
| possibility of its ever being
| otherwise.-- Hazlitt
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]