emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to prevent [] is interpreted as footnote in table?
@ 2014-12-23 10:54 Enzo Chi
  2014-12-23 11:26 ` Rasmus
  0 siblings, 1 reply; 2+ messages in thread
From: Enzo Chi @ 2014-12-23 10:54 UTC (permalink / raw)
  To: emacs-orgmode

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

In table, something like "d[4]" would be interpreted as footnote. Tried to 
use "=d[4]=", it will be exported with different font to other cells in the 
table.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to prevent [] is interpreted as footnote in table?
  2014-12-23 10:54 How to prevent [] is interpreted as footnote in table? Enzo Chi
@ 2014-12-23 11:26 ` Rasmus
  0 siblings, 0 replies; 2+ messages in thread
From: Rasmus @ 2014-12-23 11:26 UTC (permalink / raw)
  To: emacs-orgmode

Enzo Chi <enzo.chi.au@gmail.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-23 11:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-23 10:54 How to prevent [] is interpreted as footnote in table? Enzo Chi
2014-12-23 11:26 ` Rasmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).