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: Nicolas Goaziou
Subject: Re: [O] first #+LATEX_HEADER: in SETUPFILE not correctly exported and causes Missing \begin{document} error
Date: Sat, 02 Apr 2016 11:00:24 +0200

Hello,

Charles Millar <address@hidden> writes:

> I have a #+SETUPFILE which starts as follows
>
> #+LATEX_HEADER: \usepackage{lastpage}

[...]

> "mysetup" class is
>
> (add-to-list 'org-latex-classes
>               '("mysetup"
> "\\documentclass[fontsize=11pt,letterpaper,twoside=false]{scrartcl}

[...]

> \\newcommand\\foo{bar}
>                [NO-DEFAULT-PACKAGES]
>                [NO-PACKAGES]
>                [EXTRA]"

[...]

> \newcommand\foo{bar}
>                              \usepackage{lastpage}

Your template includes indentation before "[EXTRA]". This indentation
appears in the output, in this case, before the first LATEX_HEADER
directive.

Regards,

-- 
Nicolas Goaziou



reply via email to

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