emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] LATEX_HEADER export problem


From: Nicolas Goaziou
Subject: Re: [O] LATEX_HEADER export problem
Date: Fri, 22 Aug 2014 14:14:11 +0200

Hello,

Charles Millar <address@hidden> 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



reply via email to

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