* 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
* Re: underscore escaping
2013-10-23 12:35 underscore escaping Andreas Leha
@ 2013-10-23 16:43 ` Nicolas Goaziou
2013-10-23 21:40 ` Andreas Leha
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2013-10-23 16:43 UTC (permalink / raw)
To: Andreas Leha; +Cc: emacs-orgmode
Hello,
Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
> According to the manual [fn:1] I expect to see underscores in the
> exported (to LaTeX) version of this test file:
>
> * Underscore\_Escaping_Test
>
> Underscore\_Escaping_Test
At the moment, there is no support for escaped characters in the export
framework. Thus, the manual is inaccurate here.
You can set `org-export-with-sub-superscripts' to '{} and write:
Underscore_Escaping_{Test}
Note that implementing it back is in my TODO list, but I'd like to
generalize to emphasis markup, too. So, it will have to wait a bit.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: underscore escaping
2013-10-23 16:43 ` Nicolas Goaziou
@ 2013-10-23 21:40 ` Andreas Leha
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Leha @ 2013-10-23 21:40 UTC (permalink / raw)
To: emacs-orgmode
Hi Nicolas,
Nicolas Goaziou <n.goaziou@gmail.com> writes:
> Hello,
>
> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>
>> According to the manual [fn:1] I expect to see underscores in the
>> exported (to LaTeX) version of this test file:
>>
>> * Underscore\_Escaping_Test
>>
>> Underscore\_Escaping_Test
>
> At the moment, there is no support for escaped characters in the export
> framework. Thus, the manual is inaccurate here.
>
Thanks for the info.
[...]
Regards,
Andreas
^ 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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.