emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Howto generate LaTeX footnotes using  \footnote{}
@ 2010-04-30 12:34 Robert Hennig
  2010-04-30 15:15 ` Eric S Fraga
  2010-04-30 16:01 ` Sebastian Rose
  0 siblings, 2 replies; 4+ messages in thread
From: Robert Hennig @ 2010-04-30 12:34 UTC (permalink / raw)
  To: emacs-orgmode

Dear orgmode list!

I'm would like to generate LaTeX footnotes
using the LaTeX macro \footnote{} if I export
the org-mode document to LaTeX. What do I have
to do - now I only get a plain '[..]' and the
footnote comes at the end of the document.
(I like to have the footnote on the page where
 it is referenced, he LaTeX \footnote{} should do this.)
Digging into the code I found the \footnote, but I'm
not this familiar to figure out howto actually
I could reproduce the desired behaviour.

Thank you a lot for the wonderful world of org-mode!

Yours,

Robert Hennig

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

* Re: Howto generate LaTeX footnotes using  \footnote{}
  2010-04-30 12:34 Howto generate LaTeX footnotes using \footnote{} Robert Hennig
@ 2010-04-30 15:15 ` Eric S Fraga
  2010-05-03 14:31   ` Robert Hennig
  2010-04-30 16:01 ` Sebastian Rose
  1 sibling, 1 reply; 4+ messages in thread
From: Eric S Fraga @ 2010-04-30 15:15 UTC (permalink / raw)
  To: Robert Hennig; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1643 bytes --]

On Fri, 30 Apr 2010 14:34:46 +0200, Robert Hennig <robert.hennig@freylax.de> wrote:
> 
> Dear orgmode list!
> 
> I'm would like to generate LaTeX footnotes
> using the LaTeX macro \footnote{} if I export
> the org-mode document to LaTeX. What do I have
> to do - now I only get a plain '[..]' and the
> footnote comes at the end of the document.
> (I like to have the footnote on the page where
>  it is referenced, he LaTeX \footnote{} should do this.)
> Digging into the code I found the \footnote, but I'm
> not this familiar to figure out howto actually
> I could reproduce the desired behaviour.
> 
> Thank you a lot for the wonderful world of org-mode!
> 
> Yours,
> 
> Robert Hennig

how are you inserting the footnotes?  this works /out of the box/ for
me.  E.g. the following

--8<---------------cut here---------------start------------->8---
* footnotes
  The important citation[fn:1: this is an interesting source] is
  necessary to convince others of their[fn:2: whoever they may be] interest.
--8<---------------cut here---------------end--------------->8---

together with a preamble template as inserted at the beginning of the
file using "C-c C-e t", generates the following latex:

--8<---------------cut here---------------start------------->8---

\title{footnotes}

\begin{document}

\maketitle

\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}
  The important citation\footnote{this is an interesting source } is
  necessary to convince others of their\footnote{whoever they may be } interest.

--8<---------------cut here---------------end--------------->8---

I inserted my footnotes using "C-c C-x f".

HTH,
eric

[-- Attachment #2: Type: text/plain, Size: 75 bytes --]

-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please 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] 4+ messages in thread

* Re: Howto generate LaTeX footnotes using  \footnote{}
  2010-04-30 12:34 Howto generate LaTeX footnotes using \footnote{} Robert Hennig
  2010-04-30 15:15 ` Eric S Fraga
@ 2010-04-30 16:01 ` Sebastian Rose
  1 sibling, 0 replies; 4+ messages in thread
From: Sebastian Rose @ 2010-04-30 16:01 UTC (permalink / raw)
  To: Robert Hennig; +Cc: emacs-orgmode

Hi Robert,


Robert Hennig <robert.hennig@freylax.de> writes:
> Dear orgmode list!
>
> I'm would like to generate LaTeX footnotes
> using the LaTeX macro \footnote{} if I export
> the org-mode document to LaTeX. What do I have
> to do - now I only get a plain '[..]' and the
> footnote comes at the end of the document.
> (I like to have the footnote on the page where
>  it is referenced, he LaTeX \footnote{} should do this.)
> Digging into the code I found the \footnote, but I'm
> not this familiar to figure out howto actually
> I could reproduce the desired behaviour.


M-x customize-variable RET org-footnote-section RET


I guess it does what you want. The docstring states:

   "This can be nil, to place footnotes locally at the end of the
    current outline node."



HTH


  Sebastian

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

* Re: Howto generate LaTeX footnotes using  \footnote{}
  2010-04-30 15:15 ` Eric S Fraga
@ 2010-05-03 14:31   ` Robert Hennig
  0 siblings, 0 replies; 4+ messages in thread
From: Robert Hennig @ 2010-05-03 14:31 UTC (permalink / raw)
  To: e.fraga, emacs-orgmode

Dear Eric,

thank you for your sample!
Indeed the way you use the footnotes works fine.
I recognized that the problem Is bound to footnotes insiside an
LaTeX Environment, like this:

-----------------------
#+OPTIONS: f:t
* footnote test
This Footnote [fn:1: the first  one] works fine.
\begin{quote}
But the second on [fn:2: inside a Latex Environment] does not
produce the desired behaviour.
\end{quote}
--------------------------
which results in:
...
This Footnote \footnote{the first  one } works fine.
\begin{quote}
But the second on [2] does not
produce the desired behaviour.
\end{quote}

$^{2}$ inside a Latex Environment
...
-------------------------

which is not the intended behaviour.

Best Regards,
Robert

Eric S Fraga wrote:
> On Fri, 30 Apr 2010 14:34:46 +0200, Robert Hennig <robert.hennig@freylax.de> wrote:
>> Dear orgmode list!
>>
>> I'm would like to generate LaTeX footnotes
>> using the LaTeX macro \footnote{} if I export
>> the org-mode document to LaTeX. What do I have
>> to do - now I only get a plain '[..]' and the
>> footnote comes at the end of the document.
>> (I like to have the footnote on the page where
>>  it is referenced, he LaTeX \footnote{} should do this.)
>> Digging into the code I found the \footnote, but I'm
>> not this familiar to figure out howto actually
>> I could reproduce the desired behaviour.
>>
>> Thank you a lot for the wonderful world of org-mode!
>>
>> Yours,
>>
>> Robert Hennig
> 
> how are you inserting the footnotes?  this works /out of the box/ for
> me.  E.g. the following
> 
> --8<---------------cut here---------------start------------->8---
> * footnotes
>   The important citation[fn:1: this is an interesting source] is
>   necessary to convince others of their[fn:2: whoever they may be] interest.
> --8<---------------cut here---------------end--------------->8---
> 
> together with a preamble template as inserted at the beginning of the
> file using "C-c C-e t", generates the following latex:
> 
> --8<---------------cut here---------------start------------->8---
> 
> \title{footnotes}
> 
> \begin{document}
> 
> \maketitle
> 
> \setcounter{tocdepth}{3}
> \tableofcontents
> \vspace*{1cm}
>   The important citation\footnote{this is an interesting source } is
>   necessary to convince others of their\footnote{whoever they may be } interest.
> 
> --8<---------------cut here---------------end--------------->8---
> 
> I inserted my footnotes using "C-c C-x f".
> 
> HTH,
> eric
> 

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

end of thread, other threads:[~2010-05-03 14:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-30 12:34 Howto generate LaTeX footnotes using \footnote{} Robert Hennig
2010-04-30 15:15 ` Eric S Fraga
2010-05-03 14:31   ` Robert Hennig
2010-04-30 16:01 ` Sebastian Rose

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