Hi Bastien,

ยท Bastien <b...@altern.org> wrote:

> Hi Thomas,
>
> Thomas Holst <thomas.ho...@de.bosch.com> 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

Reply via email to