I want to insert the following plain text in org-mode:
I'll tell you, a[0] contains the number, ...
But org-mode wrongly interprets [0] as a footnote.
It's not code, so I can't use a SRC block. How can I avoid this behavior?
Unfortunatly, you cannot customize what is considered a footnote.
But you can override the behaviour. If you never use "plain" footnotes like [1], you can adjust two variables:
(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:]]+\\)\\]"))
This should do the trick.
If you want to use footnotes in your org-file, use [fn:1] style or other styles at http://orgmode.org/manual/Footnotes.html instead of just [1].
There are two ways:
=a[0]=a\[0\]If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With