emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to prevent [] is interpreted as footnote in table?


From: Rasmus
Subject: Re: [O] How to prevent [] is interpreted as footnote in table?
Date: Tue, 23 Dec 2014 12:26:49 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Enzo Chi <address@hidden> writes:

> How to prevent [] is interpreted as footnote in table?

I think [N] is hardcoded as footnote-reference cf. org-footnote-re.  You
example doesn't even work when footnotes are turned off.

#+OPTIONS: f:nil
| d[1] |

If you think this is an issue you could open a bug report.

You could use snippets, but it's a bit inconvenient:

| d@@latex:[1]@@ |

You could make macro that inserts a snippet for whichever backend is the
current one

#+MACRO: num (eval (format "@@%s:[%d]@@" org-export-current-backend $1))
| d{{{num(1)}}} |

(Only tested with latex).

Hope it helps,
Rasmus

-- 
Sådan en god dansk lagereddike kan man slet ikke bruge mere




reply via email to

[Prev in Thread] Current Thread [Next in Thread]