RE: Basic footnotes - my answer (or beauty is in the eye of the beholder? NW)

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
  • RE: Basic footnotes - my answer (or beauty is in the eye of the beholder? NW)
    • Pawson, David - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id GAA20496Thu, 7 May 1998 06:27:13 -0400 (EDT)
      • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id JAA23416Thu, 7 May 1998 09:22:08 -0400 (EDT)
      • Chris Maden - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id LAA25870Thu, 7 May 1998 11:26:06 -0400 (EDT)
      • Tony Graham - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id OAA28519Thu, 7 May 1998 14:19:27 -0400 (EDT)
      • <Possible follow-ups>
      • Pawson, David - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id LAA26408Thu, 7 May 1998 11:52:01 -0400 (EDT) <=