Subject: Re: Counting lines From: Norbert Mikula <nmikula@xxxxxxxxxxxxxxxxx> Date: Fri, 27 Jun 1997 17:27:53 +0200 (MET DST) |
On Fri, 27 Jun 1997, Norman Walsh wrote: > For example, suppose I wanted to write a style sheet that could > enumerate the lines of a ProgramListing in DocBook so that > > <programlisting> > int main (int argc, char **argv) > { > ... > } > </programlisting> > > came out as > > 1. int main (int argc, char **argv) > 2. { > ... > 97. } > > Can I? (er, no, _I_ can't ;-) But can it be done?! ;-) Not that I have ever tried it, but the paragraph flowobject has the characteristics line-number and numbered-lines?. >From what I read there, it should work. (page 222 and 223 in the standard) Best regards, Norbert H. Mikula ===================================================== = SGML, XML, DSSSL, Intra- & Internet, AI, Java ===================================================== = mailto:nmikula@xxxxxxxxxxxxxxxxx = http://www.edu.uni-klu.ac.at/~nmikula ===================================================== DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Counting lines, Norman Walsh | Thread | Re: Counting lines, James Clark |
Re: API to formatters and grove eng, Paul Prescod | Date | Re: DSSSL library, Tony Graham |
Month |