From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scot Becker Subject: Re: Bug: Footnotes in combination with LaTeX fragments is broken in latest trunk Date: Sat, 28 Nov 2009 19:21:03 +0000 Message-ID: References: <866e16220911280457u23563ef6rd2946b8788831bd0@mail.gmail.com> <9A834EB5-68C3-4902-BBF5-BD661B3BDB1D@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001636c5a7c75bdfc204797350fe Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NESrK-0004Q3-CC for emacs-orgmode@gnu.org; Sat, 28 Nov 2009 14:21:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NESrJ-0004Pd-Hk for emacs-orgmode@gnu.org; Sat, 28 Nov 2009 14:21:29 -0500 Received: from [199.232.76.173] (port=42235 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NESrJ-0004PN-9u for emacs-orgmode@gnu.org; Sat, 28 Nov 2009 14:21:29 -0500 Received: from ey-out-1920.google.com ([74.125.78.147]:61386) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NESrI-0000kb-8j for emacs-orgmode@gnu.org; Sat, 28 Nov 2009 14:21:29 -0500 Received: by ey-out-1920.google.com with SMTP id 3so656952eyh.34 for ; Sat, 28 Nov 2009 11:21:23 -0800 (PST) In-Reply-To: <9A834EB5-68C3-4902-BBF5-BD661B3BDB1D@gmail.com> 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: Carsten Dominik Cc: emacs-orgmode@gnu.org --001636c5a7c75bdfc204797350fe Content-Type: text/plain; charset=ISO-8859-1 I noticed this this week as well. I don't know how to do a backtrace (though I'll look it up and try) but attached (and pasted below) is a sample file. Scot (Edit: and the backtrace) #+TITLE: Some Lorem * Heading If you do a \autocite{key_0000} followed by an org-footnote[fn:: You seem to get an error.] Does this happen for you too? The error is "Invalid use of `\' in replacement text." If you do a \autocite{key_0000} and break the line like this [fn:: No trouble now.] everything's fine. I notice this because I use long-lines mode. And I just realized that I do this kind of thing with some frequency:[fn:: See the fine discussion of this and other relevant matters in \fullcite{bibtexkey_0000}] Do I have any hope that that might be made to work? At the moment, it throws the same error. If I need to I can use LaTeX footnote for this kind of thing, since I already do live with the limitations that imposes (no HTML export). ---------------------- Backtrace: Debugger entered--Lisp error: (error "Invalid use of `\\' in replacement text") replace-match("\\[1]") org-footnote-normalize(nil t) org-export-preprocess-string(#("#+TITLE: Some Lorem\n\n* Heading \n\n\nIf you do a \\autocite{key_0000} followed by an org-footnote[fn:: You seem to get an error.] Blah here.\n\nThe error is \"Invalid use of `\\' in replacement text.\"\n\nIf you do a \\autocite{key_0000} and break the line \nlike this [fn:: No trouble now.] everything's fine. I notice this because I use long-lines mode.\n\nAnd I just realized that I do this kind of thing with some frequency:[fn:: See the fine discussion of this and other relevant matters in \\fullcite{bibtexkey_0000}] Do I have any hope that that might be made to work? At the moment, it throws the same error. If I need to I can use LaTeX footnote for this kind of thing, since I already do live with the limitations that imposes (no HTML export).\n\n\n\n\n\n" 0 19 (fontified nil font-lock-fontified t :org-license-to-kill t) 19 20 (fontified nil :org-license-to-kill t) 20 21 (fontified nil) 21 23 (fontified nil) 23 31 (fontified nil) 31 34 (fontified nil) 34 138 (fontified nil) 138 347 (fontified nil) 347 746 (fontified nil) 746 751 (fontified nil)) :emph-multiline t :for-LaTeX t :comments nil :tags not-in-toc :priority nil :footnotes t :drawers nil :timestamps t :todo-keywords t :add-text nil :skip-before-1st-heading nil :select-tags ("export") :exclude-tags ("noexport") :LaTeX-fragments nil) org-export-as-latex(nil nil nil "*Org LaTeX Export*") org-export-as-latex-to-buffer(nil) call-interactively(org-export-as-latex-to-buffer) org-export(nil) call-interactively(org-export nil nil) --001636c5a7c75bdfc204797350fe Content-Type: application/octet-stream; name="newbug.org" Content-Disposition: attachment; filename="newbug.org" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g2krnyf81 IytUSVRMRTogU29tZSBMb3JlbQoKKiBIZWFkaW5nIAoKCklmIHlvdSBkbyBhIFxhdXRvY2l0ZXtr ZXlfMDAwMH0gZm9sbG93ZWQgYnkgYW4gb3JnLWZvb3Rub3RlW2ZuOjogWW91IHNlZW0gdG8gZ2V0 IGFuIGVycm9yLl0gIEJsYWggaGVyZS4KClRoZSBlcnJvciBpcyAiSW52YWxpZCB1c2Ugb2YgYFwn IGluIHJlcGxhY2VtZW50IHRleHQuIgoKSWYgeW91IGRvIGEgXGF1dG9jaXRle2tleV8wMDAwfSBh bmQgYnJlYWsgdGhlIGxpbmUgCmxpa2UgdGhpcyBbZm46OiBObyB0cm91YmxlIG5vdy5dICBldmVy eXRoaW5nJ3MgZmluZS4gIEkgbm90aWNlIHRoaXMgYmVjYXVzZSBJIHVzZSBsb25nLWxpbmVzIG1v ZGUuCgpBbmQgSSBqdXN0IHJlYWxpemVkIHRoYXQgSSBkbyB0aGlzIGtpbmQgb2YgdGhpbmcgd2l0 aCBzb21lIGZyZXF1ZW5jeTpbZm46OiBTZWUgdGhlIGZpbmUgZGlzY3Vzc2lvbiBvZiB0aGlzIGFu ZCBvdGhlciByZWxldmFudCBtYXR0ZXJzIGluIFxmdWxsY2l0ZXtiaWJ0ZXhrZXlfMDAwMH1dICBE byBJIGhhdmUgYW55IGhvcGUgdGhhdCB0aGF0IG1pZ2h0IGJlIG1hZGUgdG8gd29yaz8gIEF0IHRo ZSBtb21lbnQsIGl0IHRocm93cyB0aGUgc2FtZSBlcnJvci4gIElmIEkgbmVlZCB0byBJIGNhbiB1 c2UgTGFUZVggZm9vdG5vdGUgZm9yIHRoaXMga2luZCBvZiB0aGluZywgc2luY2UgSSBhbHJlYWR5 IGRvICBsaXZlIHdpdGggdGhlIGxpbWl0YXRpb25zIHRoYXQgaW1wb3NlcyAobm8gSFRNTCBleHBv cnQpLgoKCgoKCg== --001636c5a7c75bdfc204797350fe Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --001636c5a7c75bdfc204797350fe--