emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Footnotes and org-export
@ 2008-10-03 17:04 mdl
  2008-10-05  5:22 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: mdl @ 2008-10-03 17:04 UTC (permalink / raw)
  To: emacs-orgmode


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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Footnotes and org-export
  2008-10-03 17:04 Footnotes and org-export mdl
@ 2008-10-05  5:22 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2008-10-05  5:22 UTC (permalink / raw)
  To: mdl; +Cc: emacs-orgmode

Hi Matthew,

I guess one way to do this would be to write a hook function that,  
prior to export, colectes all the footnotes you have produced in your  
favorite markup and to put them in the normal ASCII format that Org  
can digest.

I am not convinced that this is a good approach.  Org ist supposed to  
be and ASCII format, easily readable and exportable.  To write text  
with extensive use of footnotes may well be stretching the envelope of  
Org.

Having said this, I have had quite good experiences with Steve L.  
Baur's footnote-mode.  But maybe I have never used it to the extend  
you do?  How exactly does it fail?  Can you make an example?  Or a bug  
report to Steve?

- Carsten

On Oct 3, 2008, at 7:04 PM, mdl@imapmail.org wrote:

>
> 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.
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-05  5:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-03 17:04 Footnotes and org-export mdl
2008-10-05  5:22 ` Carsten Dominik

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