emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Geralt <usr.gentoo@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Footnotes in headings results in strange entries in the table of contens of the latex -> pdf export
Date: Sat, 20 Feb 2010 14:39:59 +0100	[thread overview]
Message-ID: <fbdd0e51002200539l3ab7c133o6a08c24001010c53@mail.gmail.com> (raw)
In-Reply-To: <fbdd0e51002190640o205d1a64w13e3b0075c748b62@mail.gmail.com>

Hi,

I tracked down the problem to latex itself, the generated code looks like this:
\section{This is a simple heading \footnote{A footnote }}
\label{sec-1}

But to get a correct table of contents entry when a section title
contains a footnote it should look like this:

\section[This is a simple heading]{This is a simple heading
\footnote{A footnote }}
\label{sec-1}


The solution was not found by me, I took it from
http://www.mathlinks.ro/Forum/viewtopic.php?t=243820



But I don't want to edit the tex-file manually, how can I fix the
renderer? I looked into it but I don't really understand how the
export (and the latex backend) do their work.



Geralt.

  reply	other threads:[~2010-02-20 13:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-19 14:40 Footnotes in headings results in strange entries in the table of contens of the latex -> pdf export Geralt
2010-02-20 13:39 ` Geralt [this message]
2010-02-23  6:31   ` 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=fbdd0e51002200539l3ab7c133o6a08c24001010c53@mail.gmail.com \
    --to=usr.gentoo@googlemail.com \
    --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).