emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Schaumburg <eagleeye777@hotmail.de>
To: Org-mode <emacs-orgmode@gnu.org>
Subject: Latex Export Difficulties
Date: Thu, 6 Feb 2014 10:20:43 +0100	[thread overview]
Message-ID: <BLU0-SMTP3539D7B999CA0658378762E8B940@phx.gbl> (raw)


Hello,

I am facing difficulties during org-Latex Export

When I write outlines to scientific Texts I often have headlines, that
are followed by a footnote, providing easy reference to the Text I am
currently studying.

Example:


* Some Headline[fn:2]


When I want to export my notes for printing, the Texbuffer has something
like this:

\section{Some Headline\footnote{S. 45}}

Here comes the trouble: Auctex (with Texlive installed) normally does
not compile this and throws a bunch of errors at me.

What I learned from my research is that the line has to look like this,
so that I can compile:

\section{Some Headline \protect\footnote{S. 45}}

This case is quite typicall for me and leads to often manually reworking
the tex buffer for quite a while, which is not very convenient.

Is there any way I can set up the org latex export to do this
automatically. Would greatly help my workflow. I am quite a newbie to
emacs-lisp, so I cannot think of how to do this. Maybe someone can help
me here

Thanks in advance
Samuel

             reply	other threads:[~2014-02-06  9:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-06  9:20 Samuel Schaumburg [this message]
2014-02-06 12:29 ` Latex Export Difficulties Eric S Fraga
2014-02-06 12:39   ` Rasmus
2014-02-06 14:33     ` Eric S Fraga
2014-02-06 16:00 ` Florian Beck

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=BLU0-SMTP3539D7B999CA0658378762E8B940@phx.gbl \
    --to=eagleeye777@hotmail.de \
    --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).