|
From: Richard J. <rj...@ek...> - 2002-09-23 21:52:29
|
On Tue, 24 Sep 2002 12:38 am, Julien T. Letessier wrote:
> Hey list, it's me again.
>
> On Sep 23, 2002, at 15:27, gr...@us... was heard saying:
> > you could send me your version for review ?
>
> No problem.
>
> > > * the problem comes from the fact that footnote refs and footnote
> > > bodies are separated in ReST, whereas in LaTeX, they're not.
> > >
> > > * my first solution doesn't work (defining footnote bodies in the
> > > document head, and referring to them afterward -- ugly)
> > >
> > > * second solution: replace foonotes by captionless floats: this way
> > > refs and defs can easily be separated. Example::
> >
> > the problem as i understand is you want to jump from/to the footnote.
> > i would use footnote (at least for now) aslong as footnotes are on the
> > same page i donot care to jump.
>
> The problem is not with jumping (aka hyperlinks). It's that if you want to
> use ``\footnote``, you have to give the note's contents at the moment you
> encounter the reference, i.e. when you visit the ``footnote_reference``
> node.
>
> But the contents are only defined once you've visited the ``footnote``
> node, which generelly comes *after* the reference!
Can't you search the DOM for the footnote body, based on the reference? If
not, can you maybe have a simple transform that runs pre-writer that replaces
footnote ref/footnote with a single footnote node?
Richard
|