Season greetings! ;-)
Klaus Schilling <[email protected]> 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
parts:
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
http://www.nongnu.org/skribilo/doc/user-2.html#chapter477 for an
example.
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,
Ludo'.
_______________________________________________
Skribilo-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/skribilo-users