emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: underscore escaping
Date: Wed, 23 Oct 2013 14:35:29 +0200	[thread overview]
Message-ID: <87zjq0cgha.fsf@med.uni-goettingen.de> (raw)

Hi all,

do I miss something wrt underscore escaping?

According to the manual [fn:1] I expect to see underscores in the
exported (to LaTeX) version of this test file:

--8<---------------cut here---------------start------------->8---
* Underscore\_Escaping_Test

Underscore\_Escaping_Test

#+caption: Underscore\_Escaping_Test
#+begin_src latex :exports code
  \latex
#+end_src
--8<---------------cut here---------------end--------------->8---



But instead, I get something with $\backslash$$_....$:

--8<---------------cut here---------------start------------->8---
\section{Underscore$\backslash$$_{\text{Escaping}}$$_{\text{Test}}$}
\label{sec-1}

Underscore$\backslash$$_{\text{Escaping}}$$_{\text{Test}}$

\lstset{language=TeX,caption={Underscore$\backslash$$_{\text{Escaping}}$$_{\text{Test}}$},numbers=none}
\begin{lstlisting}
\latex
\end{lstlisting}
--8<---------------cut here---------------end--------------->8---



Is that intended?  And if so, what is the intended way to escape an
underscore?


Regards,
Andreas


Footnotes:

[fn:1] http://orgmode.org/manual/Subscripts-and-superscripts.html

             reply	other threads:[~2013-10-23 12:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-23 12:35 Andreas Leha [this message]
2013-10-23 16:43 ` underscore escaping Nicolas Goaziou
2013-10-23 21:40   ` Andreas Leha

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=87zjq0cgha.fsf@med.uni-goettingen.de \
    --to=andreas.leha@med.uni-goettingen.de \
    --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).