emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* underscore escaping
@ 2013-10-23 12:35 Andreas Leha
  2013-10-23 16:43 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Leha @ 2013-10-23 12:35 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-23 21:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-23 12:35 underscore escaping Andreas Leha
2013-10-23 16:43 ` Nicolas Goaziou
2013-10-23 21:40   ` Andreas Leha

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).