From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Millar Subject: Re: first #+LATEX_HEADER: in SETUPFILE not correctly exported and causes Missing \begin{document} error Date: Sun, 03 Apr 2016 14:18:46 -0400 Message-ID: <57015E86.4090506@verizon.net> References: <56F5DE32.1090107@verizon.net> <87egaos7vb.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ammc9-0003nq-P3 for emacs-orgmode@gnu.org; Sun, 03 Apr 2016 14:19:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ammc1-0000kk-Hw for emacs-orgmode@gnu.org; Sun, 03 Apr 2016 14:19:06 -0400 Received: from vms173021pub.verizon.net ([206.46.173.21]:35964) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ammc1-0000kD-Ci for emacs-orgmode@gnu.org; Sun, 03 Apr 2016 14:19:01 -0400 Received: from vz-proxy-m002.mx.aol.com ([64.236.83.5]) by vms173021.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0O52005FLLJG6250@vms173021.mailsrvcs.net> for emacs-orgmode@gnu.org; Sun, 03 Apr 2016 13:18:53 -0500 (CDT) In-reply-to: <87egaos7vb.fsf@nicolasgoaziou.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello, On 04/02/2016 05:00 AM, Nicolas Goaziou wrote: > Hello, > > Charles Millar writes: > > [...] >> "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. > > Thank you, Nicolas! Charlie Millar