emacs-devel
[Top][All Lists]
Advanced

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

Re: 23.0.50; Footnote-add-footnote and more condensed style


From: martin rudalics
Subject: Re: 23.0.50; Footnote-add-footnote and more condensed style
Date: Sat, 26 Jan 2008 16:29:13 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> It is not possible to configure footnote.el so that a style like
>
> =============
> [¹] first fn
> [²] second fn
> =============
>
> is achieved. The best settings i could get are
>
> (setq footnote-spaced-footnotes nil)
> (setq footnote-body-tag-spacing 1)
> (setq footnote-style 'latin)
> (setq footnote-section-tag "")

footnote.el seems broken in this regard:

(1) Setting `footnote-section-tag' without simultaneously setting
    `footnote-section-regexp' to a value matching `footnote-section-tag'
    like you did will give unpredictable results.  Probably the option
    `footnote-section-regexp' should be removed and `regexp-quote' used
    instead.

(2) You can't set `footnote-section-regexp' to match the empty string,
    it will always match at eob even when there are footnotes before it.
    A separate value would be needed to indicate that a user doesn't
    want to set a section tag.

(3) If you don't set a section tag you can't reliably use
    `Footnote-narrow-to-footnotes' since this is searching for a section
    tag.  Also `Footnote-delete-footnote' might fail when all footnotes
    have been removed :-(






reply via email to

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