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:[-_[:word:]]+\\)") "\\)"))
(setq org-footnote-definition-re (org-re "^\\[\\(fn:[-_[:word:]]+\\)\\]")) >From http://stackoverflow.com/a/25342297/1526266 . -- Rob ---------- Forwarded message ---------- From: Rob Stewart <robstewar...@gmail.com> Date: 23 April 2015 at 20:10 Subject: Don't treat [n] as a footnote, and export "[n]" To: emacs-orgmode@gnu.org Hi, I have the following in an org mode file (that do not want as inline verbatim inside =foo=) : int[2] a; When I try exporting to HTML, I get the error: org-export-get-footnote-definition: Definition not found for footnote 2 I've seen two solutions online: http://emacsclub.github.io/html/org_tutorial.html https://lists.gnu.org/archive/html/emacs-orgmode/2010-07/msg01248.html The first works for me, i.e. #+OPTIONS: f:nil For this, though, the exported HTML omits the "[2]" text, i.e. the HTML is int a; How do I turn off footnotes for [n] where n is a number, so that "[n]" is exported? Thanks, -- Rob