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