emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Lundin <mdl@imapmail.org>
To: emacs-orgmode@gnu.org
Subject: Minor bug in footnotes
Date: Sun, 04 Jan 2009 19:14:39 -0600	[thread overview]
Message-ID: <m28wpq8sg0.fsf@fastmail.fm> (raw)

Hi Carsten,

After some additional testing of footnote options, I discovered
another minor quirk. It occurs when org-footnote-section is set to a
value such as "Footnotes" (the default value). When
org-footnote-action is called for the very first time in an org
buffer, the "Footnotes" headline is automatically created, but the
footnote is placed above the headline.

I believe this occurs when the "Footnotes" headline is the last line
in the buffer, which is the case when the headline is automatically
created. Once an empty line is placed beneath the "Footnotes"
headline, new footnotes are correctly placed beneath it.

The example below illustrates the behavior.



----begin org file--------

* Headline one

The first footnote.[fn:1] The second footnote.[fn:2] Now I will add a
an empty line beneath the "Footnotes" section.[fn:3]

[fn:1] Notice that this footnote is inserted above the "Footnotes"

[fn:2] The same behavior.

* Footnotes

[fn:3] Notice that the footnote is now placed below the footnote

-----end org file-----

             reply	other threads:[~2009-01-05  1:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-05  1:14 Matthew Lundin [this message]
2009-01-05 12:28 ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m28wpq8sg0.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Minor bug in footnotes' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).