Commit Graph

7 Commits

Author SHA1 Message Date
Carsten Dominik 2b2c603903 Footnotes: When sorting footnotes, respect the location settings.
Sorting footnotes used to be almost like normalization, in that all
footnotes would be collected into a single location.  Now sorting
respects the setting of `org-footnote-section'.  If that is nil,
sorting will actually move each footnote into the outline node of its
first reference.
2009-01-03 09:06:36 +01:00
Carsten Dominik 3559b2dc93 Footnotes: Activate labels as links
This commit add a new face for footnote labels, and activates footnote
labels for mouse clicks and for `C-c C-o', to jump to the
corresponding reference or definition.
2009-01-02 16:28:35 +01:00
Carsten Dominik 317990dd8a Footnotes: Automatic label creation.
This patch implements fully automatic creation of unique labels for
footnotes, which is also turned on as the default setting.  The
automatic labels look like [fn:1], [fn:2], etc, using the first
available unused number.

The commit introduces a new variable, `org-footnote-auto-label' with a
number of different options ranging from no auto creation (prompting
the user for a label) to fully automatic creation.

Also, the commit introduces new #+STARTUP options that can be used to
select these settings on a per-file basis.
2009-01-02 15:54:34 +01:00
Carsten Dominik a50df2a06f Footnotes: Fix bug with incorrect parsing of anonymous footnote.
There was a bug with documents with more than one anonymous footnotes,
which would all end up to reference the first one only.  The patch
fixes this problem.
2009-01-01 18:08:48 +01:00
Carsten Dominik b956d4077b Footnotes: Allow notes to be placed into the current entry.
Setting org-footnote-section to nil now causes definitions to be
inserted at the end of the current outline node, instead of into a
special node names "Footnotes".
2009-01-01 18:01:07 +01:00
Carsten Dominik 9255522b91 Footnotes: Allow "-" and "_" in footnote names.
These characters are now allowed in addition to word constituents.
2009-01-01 10:59:11 +01:00
Carsten Dominik 40a149354c Footnotes: Add new file org-footnotes.el
This new files contains Org-modes new footnote support.  See the
documentation for details on how things work.
2008-12-31 00:33:11 +01:00