emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: mdl@imapmail.org
To: emacs-orgmode@gnu.org
Subject: Footnotes and org-export
Date: Fri, 03 Oct 2008 12:04:19 -0500	[thread overview]
Message-ID: <m2k5cppq3w.fsf@fastmail.fm> (raw)


First, let me say thank you to Carsten and everyone else for this
wonderful note-taking/PIM/spreadsheet/everything-but-the-kitchen-sink
software. It is one of the best computer tools I've ever used. As an
Emacs neophyte, I remained humbled by the generosity of those with far
superior computer skills.

I am an academic and I use LaTeX footnotes extensively in my writing.
I'd like to be able to write my drafts in org-mode and then export
them both to HTML and LaTeX. The problem is that the emacs footnote
mode is not very robust (being designed for emails with one or two
footnotes). Trying to add more than a handful of footnotes to a
document with footnote.el quickly becomes a nightmare (ordering gets
broken, the count gets messed up, etc.)

And now for the question (which will betray my ignorance about emacs
lisp). How complicated would it be to write a function for org-export
that would transform the LaTeX markup for footnotes (i.e.,
\footnote{text}) into hyperref footnotes? I'd like to be able to enter
the LaTeX footnote markup directly in my org file and then export it
to html.[1]

Or, if this wouldn't work, how complicated would it be to create a
different footnote markup altogether for org-export? One possibility,
I imagine, would be a footnote markup with unique labels for each
footnote, such as:
     
     Here is a sentence with a footnote.[fn:label]
     
     ...

     [fn id=label] And here is the footnote.
     
This latter option would allow for the arbitrary placement of
footnotes in html documents.
     
Thanks for your suggestions!

----

Matthew Lundin
mdl at imapmail dot org

----

[1] I've checked the mailing lists and documentation, and as far as I
can tell, \footnote is not one of the embedded LaTeX macros that org
recognizes. Please do correct me if I am wrong.

             reply	other threads:[~2008-10-03 17:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-03 17:04 mdl [this message]
2008-10-05  5:22 ` Footnotes and org-export 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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=m2k5cppq3w.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).