[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [BUG] in LaTeX export
From: |
Thomas Holst |
Subject: |
Re: [O] [BUG] in LaTeX export |
Date: |
Thu, 17 Mar 2011 11:21:18 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt) |
Hi Bastien,
ยท Bastien <address@hidden> wrote:
> Hi Thomas,
>
> Thomas Holst <address@hidden> writes:
>
>> _abc /_abc/ *_abc* /a_bc/ *a_bc*
>
> You need to escape the underscore:
>
> \_abc /\_abc/ *\_abc* /a\_bc/ *a\_bc*
>
> HTH,
thank you for your answer. Escaping does help. But I thought with setting
#+OPTIONS: ^:{}
there is no need to escape underscores.
#+begin_src org
_abc and /a_bc/
#+end_src
is correctly exported:
#+begin_src latex
\_{}abc \emph{a\_{}bc}
#+end_src
without escaping the underscore. Only strings wihch start with an
underscore and are emphsised are not exported correctly.
#+begin_src org
/_abc/
#+end_src
gets exported to:
#+begin_src latex
\emph{_abc}
#+end_src
Which confuses latex.
--
Best regards
Thomas