From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scot Becker Subject: Bug: Org finds footnotes in LaTeX export where none are intended [6.33trans (release_6.33f.35.g3efe)] Date: Thu, 26 Nov 2009 11:27:32 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDcW4-0003jM-Uu for emacs-orgmode@gnu.org; Thu, 26 Nov 2009 06:28:05 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDcW0-0003gr-4X for emacs-orgmode@gnu.org; Thu, 26 Nov 2009 06:28:04 -0500 Received: from [199.232.76.173] (port=38576 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDcVz-0003ge-84 for emacs-orgmode@gnu.org; Thu, 26 Nov 2009 06:27:59 -0500 Received: from mail-ew0-f224.google.com ([209.85.219.224]:63747) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NDcVy-0000IC-Ji for emacs-orgmode@gnu.org; Thu, 26 Nov 2009 06:27:59 -0500 Received: by ewy24 with SMTP id 24so675414ewy.26 for ; Thu, 26 Nov 2009 03:27:52 -0800 (PST) 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: Org-mode ml I cite my references in org like this.\autocite[231]{bibtexkey_2009}, where '231' is the relevant page number.=A0 When exporting to LaTeX, Org thinks that the value in square brackets is a footnote number and produces a document with a "footnote definition not found: 231" error message at the bottom of the document.=A0 My settings are below, and I've searched pretty hard through them to look for anything that might have caused it.=A0 Any ideas? Many thanks. Scot (sample org file, output, and my full org configuration included below) Sample file: ---------------------------------------- #+TITLE: Some Lorem #+LaTeX_CLASS: mychapter * Heading Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enimad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\autocite[51]{Einstein_1950} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enimad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\autocite[123]{dominik_2010}=A0 Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\autocite[xxi]{spacebook_2001} ------------------------------ output (edited): ----------------------------------- % Created 2009-11-26 Thu 11:22 \documentclass[12pt,oneside,a4paper]{book} \title{Some Lorem} \author{Scot Becker} \date{26 November 2009} \begin{document} \maketitle \setcounter{tocdepth}{3} \tableofcontents \vspace*{1cm} \section{Heading} \label{sec-1} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enimad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\autocite[1]{Einstein_1950} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enimad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\autocite[2]{dominik_2010} Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.\autocite[xxi]{spacebook_2001} $^{1}$ FOOTNOTE DEFINITION NOT FOUND: 51 $^{2}$ FOOTNOTE DEFINITION NOT FOUND: 123 \end{document} ---------------Settings----------------------------------------------- Emacs=A0 : GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3) =A0of 2009-11-10 on vernadsky, modified by Debian Package: Org-mode version 6.33trans (release_6.33f.35.g3efe) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq =A0org-export-html-final-hook '(org-inlinetask-remove-terminator) =A0org-export-ascii-final-hook '(org-inlinetask-remove-terminator) =A0org-hide-leading-stars t =A0org-metaup-hook '(org-babel-load-in-session-maybe) =A0org-footnote-section nil =A0org-after-todo-state-change-hook '(org-clock-out-if-current) =A0org-babel-interpreters '("sh" "emacs-lisp") =A0org-export-preprocess-hook '(org-export-blocks-preprocess) =A0org-tab-first-hook '(org-hide-block-toggle-maybe) =A0org-src-mode-hook '(org-src-mode-configure-edit-buffer) =A0org-confirm-shell-link-function 'yes-or-no-p =A0org-agenda-before-write-hook '(org-agenda-add-entry-text) =A0org-default-notes-file "~/org/notes.org" =A0org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) =A0org-export-latex-classes '(("article" "\\documentclass[11pt]{article}\n\\usepackage[utf8]{inputenc}\n\\usepackage= [T1]{fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepackag= e{hyperref}" =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 ("xetex-article" "\\documentclass[11pt]{article}\n\\usepackage[utf8]{inputenc}\n\\usepackage= [T1]{fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepackag= e{hyperref\\usepackage{fontspec}\n% BEGIN My Article Defaults\n\\input{~/org/thesis-header.tex}\n% END My Article Defaults}" =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 ("report" "\\documentclass[11pt]{report}\n\\usepackage[utf8]{inputenc}\n\\usepackage[= T1]{fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepackage= {hyperref}" =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 ("book" "\\documentclass[11pt]{book}\n\\usepackage[utf8]{inputenc}\n\\usepackage[T1= ]{fontenc}\n\\usepackage{graphicx}\n\\usepackage{longtable}\n\\usepackage{h= yperref}" =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 ("memoir" "\\documentclass[12pt,oneside,a4paper]{memoir}\n\\usepackage{graphicx}\n\\u= sepackage{longtable}\n\\usepackage{hyperref}\n\\usepackage{euler}\n\\usepac= kage{fontspec}\n% BEGIN My Memoir Defaults\n\\input{/home/scot/org/tex/thesis-header.tex}\n% END My Memoir Defaults" =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 ("mythesis" "\\documentclass[12pt,oneside,a4paper]{book}\n\\usepackage{graphicx}\n\\use= package{longtable}\n\\usepackage{hyperref}\n\\usepackage{euler}\n\\usepacka= ge{fontspec}\n% BEGIN My Thesis Defaults\n\\input{/home/scot/org/tex/thesis-header.tex}\n% END My Thesis Defaults" =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 ("mychapter" "\\documentclass[12pt,oneside,a4paper]{book}\n\\usepackage{graphicx}\n\\use= package{longtable}\n\\usepackage{hyperref}\n\\usepackage{euler}\n\\usepacka= ge{fontspec}\n% BEGIN My Thesis Defaults\n\\input{/home/scot/org/tex/thesis-header.tex}\n% END My Thesis Defaults" =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 ) =A0org-mode-hook '((lambda nil (define-key yas/keymap [tab] (quote yas/next-field-group))) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (lambda nil (make-variable= -buffer-local (quote yas/trigger-key)) (setq yas/trigger-key [tab])) (lambda nil (imenu-add-to-menubar "Imenu")) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 #[nil "\300\301\302\303\30= 4$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5]) =A0org-font-lock-hook '(org-inlinetask-fontify) =A0org-ctrl-c-ctrl-c-hook '(org-babel-lob-execute-maybe org-babel-execute-src-block-maybe) =A0org-confirm-elisp-link-function 'yes-or-no-p =A0org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) =A0org-occur-hook '(org-first-headline-recenter) =A0org-from-is-user-regexp "\\" =A0org-remember-templates '(("Todo" 100 "* TODO %?\n=A0 %i\n=A0 %a" "~/org/TODO.org" "Tasks") ("Journal" 106 "* %U %?\n\n=A0 %i\n=A0 %a" "~/wr/personal-org/tag.org") =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= ("Idea" 105 "* %^{Title}\n=A0 %i\n=A0 %a" "~/org/Ideas.org" "New Ideas") =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= ("Homo Faber" 102 "* %^{Title}\n=A0 %i\n=A0 %a" "~/org/TODO.org" "Tooling") =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= ("Thesis Idea" 116 "* %^{Title}\n=A0 %i\n=A0 %a" "~/org/Thesis-Ideas.org" "Thesis Ideas") =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= ("Thesis ToDo" 104 "* %^{Title}\n=A0 %i\n=A0 %a" "~/org/TODO.org" "Thesis") =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= ("ledger" 108 "" "~/wr/personal-org/ledger.dat" bottom nil) (119 "* %^{Title}\n\n Source: %u, %c\n\n=A0 %i" nil "Thesis-Ideas.org") =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= ("Bug" 98 "* BUG %?\n=A0 %i\n=A0 %a" "~/org/BUGS.org" "Bugs")) =A0org-export-preprocess-after-tree-selection-hook '(org-inlinetask-export-handler) =A0org-export-docbook-final-hook '(org-inlinetask-remove-terminator) =A0org-footnote-define-inline t =A0org-export-latex-final-hook '(org-inlinetask-remove-terminator) =A0org-metadown-hook '(org-babel-pop-to-session-maybe) =A0org-export-blocks '((src org-babel-exp-src-blocks nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (dot org-expor= t-blocks-format-dot nil)) =A0)