emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] LaTeX export problem


From: Nicolas Goaziou
Subject: Re: [O] LaTeX export problem
Date: Mon, 24 Sep 2012 23:15:01 +0200

Hello,

Alexander Vorobiev <address@hidden> writes:

> Here is my configuration section (it goes at the end of the org file).
> Nothing in the LaTeX_HEADER lines gets inserted into output tex
> document. The old exporter just inserted them all verbatim.
>
> #+STARTUP:    align fold nodlcheck hidestars oddeven lognotestate
> #+PROPERTY: exports results
> #+TITLE:     Test document
> #+AUTHOR:
> #+EMAIL:     address@hidden
> #+DATE:
> #+DESCRIPTION: #+KEYWORDS:
> #+LANGUAGE:  en
> #+OPTIONS:   H:3 num:nil toc:nil \n:nil @:t ::t |:t ^:nil -:t f:t *:t <:t
> #+OPTIONS:   TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
> #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0
> path:http://orgmode.org/org-info.js
> #+EXPORT_SELECT_TAGS: export
> #+EXPORT_EXCLUDE_TAGS: noexport
> #+LINK_UP:
> #+LINK_HOME:
> #+XSLT:
> #+LANGUAGE:   en
> #+LaTeX_CLASS:koma-article
> #+LaTeX_HEADER:\usepackage{color}
> #+LaTeX_HEADER:\definecolor{spot}{rgb}{0,0.2,0.6}
> #+LaTeX_HEADER:\definecolor{TUgreen}{RGB}{41,93,80}
> #+LaTeX_HEADER:\setkomafont{section}{\color{TUgreen}\sffamily\bfseries}
> #+LaTeX_HEADER:\renewcommand{\sfdefault}{jvn}
> #+LaTeX_HEADER:\renewcommand*\familydefault{\sfdefault}
> #+LaTeX_HEADER:\usepackage[automark,nouppercase]{scrpage2}
> #+LaTeX_HEADER:\clearscrheadfoot
> #+LaTeX_HEADER:\setheadwidth{paper}
> #+LaTeX_HEADER:\setfootwidth{paper}
> #+LaTeX_HEADER:\cohead[]{
> #+LaTeX_HEADER:  \includegraphics[width=7.75in]{MyHeader.jpg}
> #+LaTeX_HEADER:}
> #+LaTeX_HEADER:\cofoot[]{
> #+LaTeX_HEADER:  \includegraphics[width=7.75in]{MyFooter.png}
> #+LaTeX_HEADER:}
> #+LaTeX_HEADER:\pagestyle{scrplain}
> #+LaTeX_HEADER:\AtBeginDocument{\vspace*{5\baselineskip}\thispagestyle{scrheadings}}
> #+LaTeX_HEADER:\setlength{\topmargin}{-0.80in}
> #+LaTeX_HEADER:\setlength{\textheight}{730pt}
> #+LaTeX_HEADER:\makeatletter
> #+LaTeX_HEADER:\renewcommand{\maketitle}{
> #+LaTeX_HEADER:% \vspace*{5\baselineskip}%
> #+LaTeX_HEADER: \vskip 2em%
> #+LaTeX_HEADER: \begin{center}%
> #+LaTeX_HEADER:  {\LARGE address@hidden \par}%
> #+LaTeX_HEADER: \end{center}%
> #+LaTeX_HEADER: \par} \makeatother
>
> The new tex file just starts like this
>
> % Created 2012-09-24 Mon 11:31
> \author{}
> \date{}
> \title{Test document}
> \hypersetup{
>   pdfkeywords={},
>   pdfsubject={},
>   pdfcreator={Generated by Org mode 7.9.1 in Emacs 24.2.1.}}
> \begin{document}
>
> \maketitle

You need a space after the colons in #+LATEX_HEADER: and #+LATEX_CLASS
lines.


Regards,

-- 
Nicolas Goaziou



reply via email to

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