emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: code block export [9.0 (9.0-elpaplus @ /home/mcg/.emacs.d/e


From: Nick Dokos
Subject: Re: [O] Bug: code block export [9.0 (9.0-elpaplus @ /home/mcg/.emacs.d/elpa/org-plus-contrib-20161102/)]
Date: Tue, 08 Nov 2016 16:05:17 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

mcg <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]