[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] LaTeX export problem
From: |
Alexander Vorobiev |
Subject: |
Re: [O] LaTeX export problem |
Date: |
Mon, 24 Sep 2012 11:40:13 -0500 |
Nicolas,
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
Thanks
Alex
On Sat, Sep 22, 2012 at 3:07 AM, Nicolas Goaziou <address@hidden> wrote:
> Hello,
>
> Alexander Vorobiev <address@hidden> writes:
>
>> I tried the new exporter (using today's snapshot of the sources) and
>> it produced invalid LaTeX (it calls hypersetup without loading
>> hyperref package).
>
> The export back-end doesn't load any package on its own. You have to
> make sure hyperref is properly loaded (AFAIK, it is by default).
>
>> It also ignored the #+LaTeX_CLASS: and all the
>> #+LaTeX_HEADER:lines in my file.
>
> Those lines shouldn't be ignored. You probably don't have any matching
> entry in `org-e-latex-classes' for your #+LATEX_CLASS: specification.
>
> I'm not sure about #+LaTeX_HEADER: lines. Do you have an example?
>
>> Are there any examples of org files which show how to customize the
>> new LaTeX exporter?
>
> Try first:
>
> M-x customize-group RET org-export-e-latex RET
>
>
> Regards,
>
> --
> Nicolas Goaziou
- [O] LaTeX export problem, Gary Oberbrunner, 2012/09/12
- Re: [O] LaTeX export problem, Bastien, 2012/09/19
- Re: [O] LaTeX export problem, Alexander Vorobiev, 2012/09/20
- Re: [O] LaTeX export problem, Nicolas Goaziou, 2012/09/22
- Re: [O] LaTeX export problem,
Alexander Vorobiev <=
- Re: [O] LaTeX export problem, Nicolas Goaziou, 2012/09/24
- Re: [O] LaTeX export problem, Alexander Vorobiev, 2012/09/24
- Re: [O] LaTeX export problem, Nicolas Goaziou, 2012/09/26