From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Salazar Subject: Re: subscript on a table caption Date: Wed, 26 Aug 2015 23:54:57 -0400 Message-ID: References: <9045941A-F033-4EEE-8808-32EACE6E2529@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8fb20864463aef051e42eef6 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUoHE-0000J1-QO for emacs-orgmode@gnu.org; Wed, 26 Aug 2015 23:55:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUoHD-0001rs-LM for emacs-orgmode@gnu.org; Wed, 26 Aug 2015 23:55:00 -0400 Received: from mail-pa0-x232.google.com ([2607:f8b0:400e:c03::232]:34634) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUoHD-0001qz-Ek for emacs-orgmode@gnu.org; Wed, 26 Aug 2015 23:54:59 -0400 Received: by pabzx8 with SMTP id zx8so10147520pab.1 for ; Wed, 26 Aug 2015 20:54:57 -0700 (PDT) In-Reply-To: <9045941A-F033-4EEE-8808-32EACE6E2529@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Johannes Rainer Cc: org-mode --e89a8fb20864463aef051e42eef6 Content-Type: text/plain; charset=UTF-8 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 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? > > > > --e89a8fb20864463aef051e42eef6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
What do you see if you do C-h=C2=A0v=C2=A0org-export-latex= -emphasis-alist and=C2=A0org-html-text-markup-alist? Anything about subscri= pt?

On Mon, = Aug 24, 2015 at 9:54 AM, Johannes Rainer <johannes.rainer@gmail.co= m> 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, indepe= ndently of using #+OPTIONS: ^:nil or #+OPTIONS: ^:{}.
Is there any other way I can force org-mode to export captions "as-is&= quot;? For plain text it works nicely, but not for caption (and export to l= atex 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.<= br> =C2=A0|=C2=A0 =C2=A0 | agegp |=C2=A0 =C2=A0 =C2=A0alcgp |=C2=A0 =C2=A0 tobg= p | ncases | ncontrols |
=C2=A0|----+-------+-----------+----------+--------+-----------|
=C2=A0|=C2=A0 1 | 25-34 | 0-39g/day | 0-9g/day |=C2=A0 =C2=A00.00 |=C2=A0 = =C2=A0 =C2=A040.00 |
=C2=A0|=C2=A0 2 | 25-34 | 0-39g/day |=C2=A0 =C2=A0 10-19 |=C2=A0 =C2=A00.00= |=C2=A0 =C2=A0 =C2=A010.00 |
=C2=A0|=C2=A0 3 | 25-34 | 0-39g/day |=C2=A0 =C2=A0 20-29 |=C2=A0 =C2=A00.00= |=C2=A0 =C2=A0 =C2=A0 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?




--e89a8fb20864463aef051e42eef6--