Subject: RE: Basic footnotes - my answer (or beauty is in the eye of the beholder? NW) From: "Pawson, David" <DPawson@xxxxxxxxxxx> Date: Thu, 7 May 1998 16:44:19 +0100 |
>From 'stupid' ;-( I'm not clued into select-elements perhaps?) > Yes, but it's stupid. I wrote that before I was clued into > (select-elements). Do this instead: > OK. I'll try that. Will it handle the combination where there are footnotes as in .... </footnote> </subsect> </section> which I found put out two lots of rules, one for the end of section, one for the end of subsect1. Just curious, DaveP > (element section > (let ((footnotes (select-elements (descendants (current-node)) > "FOOTNOTE"))) > (sosofo-append (process-children) > (if (not (node-list-empty? footnotes)) > (make rule > orientation: 'horizontal) > (empty-sosofo)) > (with-mode footnotes > (process-node-list footnotes))))) > > (mode footnotes > (element footnote > (make paragraph))) > > -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 DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Basic footnotes - my answer (o, Tony Graham | Thread | Footnotes?, Chris Maden |
Re: sosofo-append or sequence?, Tony Graham | Date | Footnotes?, Chris Maden |
Month |