Re: [O] Fwd: Don't treat [n] as a footnote, and export "[n]"

2015-04-23 Thread Rob Stewart
On 23 April 2015 at 20:53, Nicolas Goaziou wrote: > (add-to-list 'org-export-filter-parse-tree-functions > #'my-ignore-false-footnotes) Perfect, that works. Thanks Nicolas, -- Rob

Re: [O] Fwd: Don't treat [n] as a footnote, and export "[n]"

2015-04-23 Thread Nicolas Goaziou
Rob Stewart writes: > For the last line: > > (add-to-list org-export-filter-parse-tree-functions > #'my-ignore-false-footnotes) Typo. It should be (add-to-list 'org-export-filter-parse-tree-functions #'my-ignore-false-footnotes) Regards,

Re: [O] Fwd: Don't treat [n] as a footnote, and export "[n]"

2015-04-23 Thread Rob Stewart
Hi Nicolas, For the last line: (add-to-list org-export-filter-parse-tree-functions #'my-ignore-false-footnotes) I'm getting Debugger entered--Lisp error: (wrong-type-argument symbolp (org-bibtex-merge-contiguous-citations org-bibtex-process-bib-files)) add-to-list((org-bibtex-merge-contiguous

Re: [O] Fwd: Don't treat [n] as a footnote, and export "[n]"

2015-04-23 Thread Nicolas Goaziou
Hello, Rob Stewart writes: > And just as soon as I send this email, I find the answer: [num] syntax for footnotes is indeed a pain. However, the solution below is really a kludge because some parts of Org (or external libraries) could hard-code it anyway. > (setq org-footnote-re > (co

[O] Fwd: Don't treat [n] as a footnote, and export "[n]"

2015-04-23 Thread Rob Stewart
And just as soon as I send this email, I find the answer: (setq org-footnote-re (concat "\\[\\(?:" ;; Match inline footnotes. (org-re "fn:\\([-_[:word:]]+\\)?:\\|") ;; Match other footnotes. ;; "\\(?:\\([0-9]+\\)\\]\\)\\|" (org-re "\\(fn:[-_[