[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [skribilo-users] footnotes

From: Ludovic Courtès
Subject: Re: [skribilo-users] footnotes
Date: Mon, 05 Jan 2009 15:45:53 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)

Season greetings!  ;-)

Klaus Schilling <address@hidden> writes:

> With the html engine, I don't get footnotes to be printed as soon as
> the chapter markup is used, and the chapters are not delegated to
> another file.

Sorry I don't quite understand this sentence.  It seems there are two

  1. Footnote problem.  I can't see any problem, e.g., there are several
     footnotes in chapters of the User Manual that do get printed as
     expected.  See for an

  2. Chapters don't go to separate files.  AFAIK, this should work
     provided you either use `(chapter :file #t ...)' or set the
     `chapter-file' custom to `#t'.  Does that help?

> Also, is there a way to make footnotes that refer back to point in the
> running text that  referred to them, as do docbook footnotes? 

Yes, this should be easily feasible, good idea.  I'll look into it by
the next release.

> Maybe a ref in the footnote text with an appropriate handler option
> would do, but the handler stuff is not documented.

Right.  One could also use the `resolve' markup, which isn't documented
either, patches welcome!   :-)

An example of how this can be used:

  (ref :text [Ref to the parent chapter]
       :handle (resolve (lambda (n e env)
                          ;; Here, N is this node of the document.
                          (handle (ast-chapter n)))))

See?  Easy!  :-)

Hope this helps,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]