emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] first #+LATEX_HEADER: in SETUPFILE not correctly exported and ca


From: Eric S Fraga
Subject: Re: [O] first #+LATEX_HEADER: in SETUPFILE not correctly exported and causes Missing \begin{document} error
Date: Sat, 26 Mar 2016 12:51:15 +0000
User-agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.0.92 (gnu/linux)

On Saturday, 26 Mar 2016 at 07:52, Charles Millar wrote:

[...]

> Thanks for the correction. I escaped the \foo otherwise I had a
> spurious "oobar" at the beginning of the exported document so that my
> latex class has
>
> \newcommand{\\foo}{bar}
>
> I suspect that this problem may be file specific. I exported another
> file, using the same SETUPFILE and had no problems

It may have "worked" but the odds are that you were simply
lucky.  \newcommand expects two {} arguments, the first being the name
of the command and the second the actual sequence to execute.
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-668-g809a83



reply via email to

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