Hello,
Uwe Brauer <[email protected]> writes:
> The problem is that my document also contains latex \section commmands.
> These are exported correctly *only* if they don't contain math.
>
> Works
> \section{Adaptive methods using hopt}
>
> Does not work:
> \section{Adaptive methods using $h_{\text{op}}$}
IIUC, you write the above directly in the document. Org has very limited
support for raw LaTeX syntax. It can only understand simple macros with
simple arguments -- i.e., no nested arguments.
If you need to write more complicated constructs in the document,
consider using dedicated syntax, e.g.,
#+latex: \section{Adaptive methods using $h_{\text{op}}$}
Regards,
--
Nicolas Goaziou