From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: using subscripts in table captions Date: Tue, 25 Aug 2015 09:57:59 +0200 Message-ID: <20150825075759.GI31789@chitra.no-ip.org> References: <1A466C98-3147-4D86-9843-250F98830D28@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZU97P-0007IC-BD for emacs-orgmode@gnu.org; Tue, 25 Aug 2015 03:58:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZU97L-0006hF-BO for emacs-orgmode@gnu.org; Tue, 25 Aug 2015 03:58:07 -0400 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:35345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZU97L-0006h0-2w for emacs-orgmode@gnu.org; Tue, 25 Aug 2015 03:58:03 -0400 Received: by wicne3 with SMTP id ne3so6669664wic.0 for ; Tue, 25 Aug 2015 00:58:01 -0700 (PDT) Received: from chitra.no-ip.org (5072840E.static.ziggozakelijk.nl. [80.114.132.14]) by smtp.gmail.com with ESMTPSA id pu6sm26748962wjc.34.2015.08.25.00.58.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Aug 2015 00:58:00 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1A466C98-3147-4D86-9843-250F98830D28@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: emacs-orgmode@gnu.org On Tue, Aug 25, 2015 at 08:09:55AM +0200, Johannes Rainer wrote: > > 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. Using your example file, I get the following. I guess that confirms your bug. I'm using release_8.3.1-129-g526927. Hope this helps, \section{Test tables} \label{sec:orgheadline1} just in plain text: bla\_blu, bla$\backslash$\_blu; both works nicely. \begin{table}[htb] \caption{Some bla bla and an underscore: bla\(_{\text{blu}}\). The same escaped: bla$\backslash$\(_{\text{blu}}\). Doesn't work for either of them; blu is always used as subscript.} \centering \begin{tabular}{rrlrrr} & agegp & alcgp & tobgp & ncases & ncontrols\\ \hline 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\\ \end{tabular} \end{table} -- Suvayu Open source is the future. It sets us free.