From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: [ox/ox-latex] Footnotes in titles Date: Sun, 15 Feb 2015 02:45:50 +0100 Message-ID: <87sie8aqwh.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMoHb-0003eT-6L for emacs-orgmode@gnu.org; Sat, 14 Feb 2015 20:46:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMoHY-0004Pm-0D for emacs-orgmode@gnu.org; Sat, 14 Feb 2015 20:46:03 -0500 Received: from plane.gmane.org ([80.91.229.3]:48514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMoHX-0004Pg-Pi for emacs-orgmode@gnu.org; Sat, 14 Feb 2015 20:45:59 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YMoHV-0006qP-ES for emacs-orgmode@gnu.org; Sun, 15 Feb 2015 02:45:57 +0100 Received: from tsn109-201-154-182.dyn.nltelcom.net ([109.201.154.182]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 15 Feb 2015 02:45:57 +0100 Received: from rasmus by tsn109-201-154-182.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 15 Feb 2015 02:45:57 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi, Consider the following example #+TITLE: [ox-latex, bug] footnotes in titles[fn:1] #+AUTHOR: Rasmus[fn:2] [fn:1] I'd like to thank Nicolas for considering this bug [fn:2] spammer of the org mailing list The desired ox-latex output is something like: \author{Rasmus\thanks{spammer of the org mailing list}} \title{[ox-latex, bug] footnotes in titles% \thanks{I'd like to thank Nicolas for considering this bug}} But actual output is something like: \author{Rasmus\footnotemark[nil]{}} \date{\today} \title{[ox-latex, bug] footnotes in titles\footnotemark[nil]{}} It's not too bad: ox-html breaks on this document. I guess it's a limitation of org-element, since (org-element-map (org-element-parse-buffer) 'footnote-reference (lambda (fn) (org-element-property :label fn))) => ("fn:2") Footnote in titles are often used for acknowledgments. Footnote for authors are sometimes for associations. Is the current treatment the desired treatment? Thanks, Rasmus -- Hooray!