From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Hennig Subject: Re: Howto generate LaTeX footnotes using \footnote{} Date: Mon, 03 May 2010 16:31:31 +0200 Message-ID: <4BDEDE43.8050903@freylax.de> References: <4BDACE66.9000002@freylax.de> <871vdxt1it.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O8wgZ-0008V8-Um for emacs-orgmode@gnu.org; Mon, 03 May 2010 10:31:52 -0400 Received: from [140.186.70.92] (port=33671 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8wgX-0008UQ-QI for emacs-orgmode@gnu.org; Mon, 03 May 2010 10:31:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8wgR-0007Rv-53 for emacs-orgmode@gnu.org; Mon, 03 May 2010 10:31:46 -0400 Received: from h1666135.stratoserver.net ([85.214.157.189]:46884) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8wgQ-0007Qo-O9 for emacs-orgmode@gnu.org; Mon, 03 May 2010 10:31:43 -0400 In-Reply-To: <871vdxt1it.wl%ucecesf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: e.fraga@ucl.ac.uk, emacs-orgmode@gnu.org 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 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 >