mcg <giepe...@googlemail.com> writes:

> I recently (max 3 weeks) noticed that latex code blocks are not exported
> correctly anymore:
>
> #+BEGIN_LaTeX
>
> #+END_LaTeX
>
> Export is:
>
> \begin{LaTeX}
>
> \end{LaTeX}
>
> I do not recall having changed any setup.
>
> Package: Org mode version 9.0 (9.0-elpaplus @ 
> /home/mcg/.emacs.d/elpa/org-plus-contrib-20161102/)



See the third section ("New syntax for export blocks") under
"Incompatible Changes" for Org 9.0 in .../org-mode/etc/ORG-NEWS.

Briefly, you need to change

#+BEGIN_LaTeX

#+END_LaTeX

to

#+BEGIN_EXPORT LaTeX

#+END_EXPORT

and similarly for other backends.

-- 
Nick


Reply via email to