Re: Basic footnotes

Subject: Re: Basic footnotes
From: Chris Maden <crism@xxxxxxx>
Date: Tue, 5 May 1998 11:55:30 -0400 (EDT)
[Pawson, David]
> Been through the archives, and unless I'm looking under the wrong
> subjects, there is nothing re "see note n" then presenting the
> footnotes either at the end of a block, or in the footer.
> 
> Need: Simple <footnote> blah blah blah </footnote> in the midst of a
> text unit.
> 
> Notes to be numbered by use of ID, presented 'out of sequence', i.e.
> (element footnote)
>  (empty sosofo))
> 
> then to process them at 'an appropriate point',
> 
> Can anyone recall having seen _simple_ examples anywhere please.

For whatever object by which you're grouping the footnotes, do
something like

(element sect1
	 (sosofo-append (process-children)
			(with-mode footnotes
				   (process-children))))

The mode transparently processes all children except the footnotes:

(mode footnotes
      (default (process-node-list (element-children)))

      (element footnote
	       (make-footnote)))

In the main mode, just make a reference.

(element footnote
	 (make-footnote-ref))

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
  • Basic footnotes
    • Pawson, David - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id LAA22884Tue, 5 May 1998 11:47:47 -0400 (EDT)
      • Chris Maden - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA23330Tue, 5 May 1998 12:01:45 -0400 (EDT) <=
        • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id MAA24076Tue, 5 May 1998 12:36:28 -0400 (EDT)