From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Rainer Subject: Re: using subscripts in table captions Date: Tue, 25 Aug 2015 13:54:47 +0200 Message-ID: <6ECFE14C-5F13-40E0-85D4-41BD2B9283E5@gmail.com> References: <1A466C98-3147-4D86-9843-250F98830D28@gmail.com> <20150825075759.GI31789@chitra.no-ip.org> Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUCoV-0005jb-Kt for emacs-orgmode@gnu.org; Tue, 25 Aug 2015 07:54:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUCoU-00020D-Nb for emacs-orgmode@gnu.org; Tue, 25 Aug 2015 07:54:51 -0400 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:36355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUCoU-0001zg-GO for emacs-orgmode@gnu.org; Tue, 25 Aug 2015 07:54:50 -0400 Received: by wicja10 with SMTP id ja10so12679838wic.1 for ; Tue, 25 Aug 2015 04:54:49 -0700 (PDT) In-Reply-To: <20150825075759.GI31789@chitra.no-ip.org> 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: Suvayu Ali Cc: emacs-orgmode@gnu.org well, kind of helps. At least I know it's reproducible... although I = would like to have that fixed somehow. > On 25 Aug 2015, at 09:57, Suvayu Ali = wrote: >=20 > On Tue, Aug 25, 2015 at 08:09:55AM +0200, Johannes Rainer wrote: >>=20 >> The test org-file I used contains the following: >> -------- >>=20 >>=20 >> #+TITLE:TestTest >> #+OPTIONS: ^:nil >>=20 >> * Test tables >>=20 >> just in plain text: bla_blu, bla\_blu; both works nicely. >>=20 >> #+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 | >>=20 >>=20 >> ------- >>=20 >> The _ in the plain text are exported as expected, but not the = caption. >=20 > Using your example file, I get the following. I guess that confirms > your bug. I'm using release_8.3.1-129-g526927. >=20 > Hope this helps, >=20 >=20 > \section{Test tables} > \label{sec:orgheadline1} >=20 > just in plain text: bla\_blu, bla$\backslash$\_blu; both works nicely. >=20 > \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} >=20 > --=20 > Suvayu >=20 > Open source is the future. It sets us free. >=20