emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Salazar <cycleofsong@gmail.com>
To: Johannes Rainer <johannes.rainer@gmail.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: subscript on a table caption
Date: Wed, 26 Aug 2015 23:54:57 -0400	[thread overview]
Message-ID: <CAE+_6Tz2dJ=EZ90GP5JD7+P+P3g35aYKZcM9bBiRR464w3o0yA@mail.gmail.com> (raw)
In-Reply-To: <9045941A-F033-4EEE-8808-32EACE6E2529@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1489 bytes --]

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 <johannes.rainer@gmail.com>
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?
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 1963 bytes --]

  reply	other threads:[~2015-08-27  3:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-24 13:54 subscript on a table caption Johannes Rainer
2015-08-27  3:54 ` Peter Salazar [this message]
2015-08-27  7:53   ` Suvayu Ali

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='CAE+_6Tz2dJ=EZ90GP5JD7+P+P3g35aYKZcM9bBiRR464w3o0yA@mail.gmail.com' \
    --to=cycleofsong@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=johannes.rainer@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).