Subject: Re: numbered paragraphs in docbook From: Chris Maden <crism@xxxxxxxxxxx> Date: Mon, 15 Jun 1998 17:42:51 -0400 (EDT) |
[Norman Walsh] > / Alexander Taranov <tay@xxxxxxxxxx> was heard to say: > | 2. Title of sometnhing > | > | 2.1 first para . . . . . > > Modify the element construction rule for para in the appropriate > contexts to output the (child-number) of its parent followed by its > (child-number). It may get a little more complicated than that, > depending on what else occurs, but that's the basic idea. The easiest way to do this is with (format-number-list) and (element-number-list): (format-number-list (element-number-list (list (norm "chapter") (norm "sect1") (norm "para")) snl) "1" ".") (where (norm) is short for (general-name-normalize)). HTH, Chris -- <!NOTATION SGML.Geek PUBLIC "-//Anonymous//NOTATION SGML Geek//EN"> <!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN" "<URL>http://www.oreilly.com/people/staff/crism/ <TEL>+1.617.499.7487 <USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek> DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: numbered paragraphs in docbook, Norman Walsh | Thread | Re: numbered paragraphs in docbook, Alexander Taranov |
Re: architectural processing with n, W. Eliot Kimber | Date | jade, tex and tables, Sebastian Rahtz |
Month |