From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Charles Millar <millarc@verizon.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: LATEX_HEADER export problem
Date: Fri, 22 Aug 2014 14:14:11 +0200 [thread overview]
Message-ID: <87tx54en70.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <53F4F036.6050009@verizon.net> (Charles Millar's message of "Wed, 20 Aug 2014 15:00:06 -0400")
Hello,
Charles Millar <millarc@verizon.net> writes:
> I have the following in a file that I export to LaTeX
>
> #+LATEX_CLASS: mysetup
> #+LATEX_HEADER: \newcommand{\RATE}{65.00}
>
> mysetup class
>
> (add-to-list 'org-latex-classes
> '("mysetup"
> "\\documentclass[11pt,letterpaper,oneside]{scrartcl}
> \\usepackage{verbatim}
> % \\usepackage[T1]{fontenc}
> % \\usepackage{charter,parskip,setspace,layout} commented out for Komascript
> \\usepackage{charter,setspace,layout}
> \\usepackage{array,graphicx}
> \\usepackage{tabularx,tabulary}
> \\usepackage{longtable}
> \\usepackage{numprint}
> \\npstyleenglish
> \\usepackage[at]{easylist}
> \\usepackage{csquotes}
> %\\usepackage[letterpaper,margin=1.00in]{geometry}
> \\usepackage[letterpaper,left=1.00in,right=1.00in,top=1.00in,bottom=0.50in]{geometry}
> % \\usepackage[top=1.0in,bottom=0.4in,left=1.2in,nohead]{geometry}
> %\\pagestyle{empty}
> \\pagenumbering{arabic}
> %\\newcommand\\foo{bar}
> [NO-DEFAULT-PACKAGES]
> [NO-PACKAGES]
> [EXTRA]"
> ("\\section{%s}" . "\\section*{%s}")
> ("\\subsection{%s}" . "\\subsection*{%s}")
> ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
> ("\\paragraph{%s}" . "\\paragraph*{%s}")
> ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
>
> When I export the pdf is generated, however with an error; the
> following output to the *.tex results
[...]
> Note - the triple |newcommand{\RATE}{65.00} is present
> whether\newcommand\foo{bar} is commented or uncommented in mysetup
I cannot reproduce the problem.
Regards,
--
Nicolas Goaziou
prev parent reply other threads:[~2014-08-22 12:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-20 19:00 LATEX_HEADER export problem Charles Millar
2014-08-22 12:14 ` Nicolas Goaziou [this message]
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=87tx54en70.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).