emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] subscript on a table caption


From: Peter Salazar
Subject: Re: [O] subscript on a table caption
Date: Wed, 26 Aug 2015 23:54:57 -0400

What do you see if you do C-h v org-export-latex-emphasis-alist and org-html-text-markup-alist? Anything about subscript?

On Mon, Aug 24, 2015 at 9:54 AM, Johannes Rainer <address@hidden> wrote:
dear all!

I have a strange problem now with org-mode (I don't know whether I had that with previous org-versions because I never paid attention):
any _ I have in a caption is automatically formatted as a subscript, independently of using #+OPTIONS: ^:nil or #+OPTIONS: ^:{}.
Is there any other way I can force org-mode to export captions "as-is"? For plain text it works nicely, but not for caption (and export to latex or html).

The test org-file I used contains the following:
--------


#+TITLE:TestTest
#+OPTIONS: ^:nil
-----


* Test tables

just in plain text: bla_blu, bla\_blu; both works nicely.

#+CAPTION: Some bla bla and an underscore: bla_blu. The same escaped: bla\_blu. Doesn't work for either of them; blu is always used as subscript.
 |    | agegp |     alcgp |    tobgp | ncases | ncontrols |
 |----+-------+-----------+----------+--------+-----------|
 |  1 | 25-34 | 0-39g/day | 0-9g/day |   0.00 |     40.00 |
 |  2 | 25-34 | 0-39g/day |    10-19 |   0.00 |     10.00 |
 |  3 | 25-34 | 0-39g/day |    20-29 |   0.00 |      6.00 |


-------

The _ in the plain text are exported as expected, but not the caption.

I'm using org-mode 8.3.1 (release_8.3.1-166-g5bfdfc)

any suggestions?





reply via email to

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