emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Org interpreting multiple ^{*} instances as bold in LaTeX beamer export
Date: Tue, 12 Feb 2013 02:44:14 -0600	[thread overview]
Message-ID: <CA+M2ft89m7amWCkgE04xU=C24PLCZfTcoaamm8sNVNxcXKpEPw@mail.gmail.com> (raw)

Here's a minimal example:

#+begin_src org

#+startup: beamer
#+latex_class: beamer
#+options: tex:t

* A headline

a word^{*} followed by another^{*}

- bullet item^{*}
- bullet item^{*}
- bullet item
- bullet item

#+end_src

I just wanted an asterisk to put a little footnote for two items in a
longer list and noticed that it shifted the whole slide up. Same for
regular LaTeX document export. Seems like it only happens if the two
bullets are consecutive. In other words, this works fine:

#+begin_src org

a word^{*} followed by another and let's see how far apart they need
to be before this
isn't triggered anymore by org interpreting LaTeX math as bold markup
and inserting
textbf commands in the export^{*}. Ah, yes. That does it.

- bullet item^{*}
- bullet item
- bullet item^{*}

#+end_src

I also tried explicitly forcing math mode, but with varied success:

#+begin_src org

appears to work:

a word\(^{*}\) followed by another\(^{*}\)

still doesn't work (asterisks are there, but org doesn't put it in as
an =\item=, taking the "-" bullet markup literally

- bullet item\(^{*}\)
- bullet item\(^{*}\)
- bullet item
- bullet item

#+end_src

This is on the old exporter (not sure if org has actually moved to
this or not yet... but either way, I've still just been doing things
"the old way" as I haven't really dug into the new one yet).


Best regards,
John

             reply	other threads:[~2013-02-12  8:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-12  8:44 John Hendy [this message]
2013-02-13 15:50 ` Org interpreting multiple ^{*} instances as bold in LaTeX beamer export Bastien
2013-02-13 16:49   ` John Hendy

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='CA+M2ft89m7amWCkgE04xU=C24PLCZfTcoaamm8sNVNxcXKpEPw@mail.gmail.com' \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).