Hello I export a org file to latex using the exam class and therefore thanks to Thomas Hunter I have defined.
(org-latex-classes (quote ( ("exam" "\\documentclass[12pt, addpoints, answers]{exam}" ("\\begin{questions}%%%s" "\\end{questions}" "\\begin{questions}%%%s" "\\end{questions}") ("\\titledquestion[%s] " . "") ("\\begin{parts}%%%s" "\\end{parts}" "\\begin{parts}%%%s" "\\end{parts}") ("\\part[%s] " . "") ("\\begin{subparts}%%%s" "\\end{subparts}" "\\begin{subparts}%%%s" "\\end{subparts}") ("\\subpart[%s] " . "") ("\\begin{solution}[%s]" "\\end{solution}" "\\begin{solution}[%s]" "\\end{solution}"))))) 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}}$} The resulting latex file looks like Ok \section{Adaptive methods using hopt} The following is not ok, \section\{Adaptive methods using \(h_{\text{op}}\)\} So what shall I do? Thanks regards Uwe Brauer