From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geralt 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 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NipZ6-0001tZ-3W for emacs-orgmode@gnu.org; Sat, 20 Feb 2010 08:40:12 -0500 Received: from [140.186.70.92] (port=50829 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NipZ5-0001tR-EC for emacs-orgmode@gnu.org; Sat, 20 Feb 2010 08:40:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NipYu-0007FW-MQ for emacs-orgmode@gnu.org; Sat, 20 Feb 2010 08:40:11 -0500 Received: from mail-fx0-f222.google.com ([209.85.220.222]:34550) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NipYu-0007FI-FT for emacs-orgmode@gnu.org; Sat, 20 Feb 2010 08:40:00 -0500 Received: by fxm22 with SMTP id 22so1027137fxm.26 for ; Sat, 20 Feb 2010 05:39:59 -0800 (PST) In-Reply-To: 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: emacs-orgmode@gnu.org 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.