From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Charles Millar <millarc@verizon.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: first #+LATEX_HEADER: in SETUPFILE not correctly exported and causes Missing \begin{document} error
Date: Sat, 02 Apr 2016 11:00:24 +0200 [thread overview]
Message-ID: <87egaos7vb.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <56F5DE32.1090107@verizon.net> (Charles Millar's message of "Fri, 25 Mar 2016 20:56:18 -0400")
Hello,
Charles Millar <millarc@verizon.net> 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
next prev parent reply other threads:[~2016-04-02 8:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-26 0:56 first #+LATEX_HEADER: in SETUPFILE not correctly exported and causes Missing \begin{document} error Charles Millar
2016-03-26 0:58 ` Charles Millar
2016-03-26 9:36 ` Eric S Fraga
2016-03-26 11:52 ` Charles Millar
2016-03-26 12:51 ` Eric S Fraga
2016-03-26 14:15 ` Charles Millar
2016-03-26 17:14 ` Eric S Fraga
2016-03-26 22:55 ` Charles Millar
2016-03-28 14:54 ` Charles Millar
2016-03-29 10:50 ` Eric S Fraga
2016-04-02 9:00 ` Nicolas Goaziou [this message]
2016-04-03 18:18 ` Charles Millar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87egaos7vb.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=millarc@verizon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).