From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: first #+LATEX_HEADER: in SETUPFILE not correctly exported and causes Missing \begin{document} error Date: Sat, 26 Mar 2016 17:14:51 +0000 Message-ID: <87oaa1rwj8.fsf@ucl.ac.uk> References: <56F5DE32.1090107@verizon.net> <87a8lltwca.fsf@ucl.ac.uk> <56F677E8.3050009@verizon.net> <8760w9tnb0.fsf@ucl.ac.uk> <56F6997B.70505@verizon.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajrnh-0007PU-Uh for emacs-orgmode@gnu.org; Sat, 26 Mar 2016 13:15:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ajrnc-0006wn-R7 for emacs-orgmode@gnu.org; Sat, 26 Mar 2016 13:15:01 -0400 Received: from mail-am1on0141.outbound.protection.outlook.com ([157.56.112.141]:6226 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajrnc-0006wf-IT for emacs-orgmode@gnu.org; Sat, 26 Mar 2016 13:14:56 -0400 In-Reply-To: <56F6997B.70505@verizon.net> (Charles Millar's message of "Sat, 26 Mar 2016 10:15:23 -0400") 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: Charles Millar Cc: emacs-orgmode@gnu.org On Saturday, 26 Mar 2016 at 10:15, Charles Millar wrote: [...] > I was not clear - I ran the exports after I made the correction to > "mysetup", i.e. \newcommand{\\foo}{bar} but I am confused: why the \\ for foo but \ for newcommand? What is the actual result in the output.tex file? > I do agree that the one file that exports as desired must be a result > of luck. I compared the output.tex file for each document. In each the > first \usepackage{foo} which is inserted from the SETUPFILE is > indented several tabs or spaces to the right and not aligned to the > left margin. The indentation or not itself is not the issue but only a symptom of an error before that line, in my opinion. -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-668-g809a83