From: Johannes Rainer <johannes.rainer@gmail.com>
To: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: using subscripts in table captions
Date: Tue, 25 Aug 2015 13:54:47 +0200 [thread overview]
Message-ID: <6ECFE14C-5F13-40E0-85D4-41BD2B9283E5@gmail.com> (raw)
In-Reply-To: <20150825075759.GI31789@chitra.no-ip.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 <fatkasuvayu+linux@gmail.com> wrote:
>
> 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.
>
next prev parent reply other threads:[~2015-08-25 11:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-25 6:09 using subscripts in table captions Johannes Rainer
2015-08-25 7:57 ` Suvayu Ali
2015-08-25 11:54 ` Johannes Rainer [this message]
2015-08-25 12:49 ` Nicolas Goaziou
2015-08-25 14:21 ` Johannes Rainer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6ECFE14C-5F13-40E0-85D4-41BD2B9283E5@gmail.com \
--to=johannes.rainer@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=fatkasuvayu+linux@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).