From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: LaTeX export problem Date: Mon, 24 Sep 2012 23:15:01 +0200 Message-ID: <87pq5b9l7u.fsf@gmail.com> References: <87392epgfw.fsf@bzg.ath.cx> <878vc3kbgu.fsf@bzg.ath.cx> <87wqzmcwfo.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGG3e-0005md-5V for emacs-orgmode@gnu.org; Mon, 24 Sep 2012 17:19:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGG3d-0007pI-2o for emacs-orgmode@gnu.org; Mon, 24 Sep 2012 17:19:14 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:45384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGG3c-0007pB-Ra for emacs-orgmode@gnu.org; Mon, 24 Sep 2012 17:19:12 -0400 Received: by wibhn17 with SMTP id hn17so4476762wib.12 for ; Mon, 24 Sep 2012 14:19:12 -0700 (PDT) In-Reply-To: (Alexander Vorobiev's message of "Mon, 24 Sep 2012 11:40:13 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Alexander Vorobiev Cc: Bastien , Gary Oberbrunner , Orgmode Mailing List Hello, Alexander Vorobiev 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: myemail@gmail.com > #+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 \@title \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