Hi, don't know if this has allready been reported, but I just upgraded to 8.0 and I stumped into this... this in the .org file \begin{theoremwithname}[hei] theorem \begin{align*} 2+2 \end{align*} \end{theoremwithname} gets latex-exported to this (note that after \endtheoremwithname everything is replicated with escape characters): \begin{theoremwithname}[hei] theorem \begin{align*} 2+2 \end{align*} \end{theoremwithname}$\backslash$begin\{align*\} 2+2 $\backslash$end\{align*\} $\backslash$end\{theoremwithname\} \begin{align*} 2+2 \end{align*} \end{theoremwithname} which obviously brings to uncompilable latex code. BTW in the preamble I have this that defines the environment theoremwithname: #+LATEX_HEADER: \newtheoremstyle{withname}{}{}{\itshape}{}{\bfseries}{.}{.5em}{\thmname{#3} \thmnumber{#2}} #+LATEX_HEADER: \theoremstyle{withname} #+LATEX_HEADER: \newtheorem{theoremwithname}[equation]{Teorema} cheers, renato