emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Alexander Vorobiev <alexander.vorobiev@gmail.com>
Cc: Bastien <bzg@altern.org>,
	Gary Oberbrunner <garyo@oberbrunner.com>,
	Orgmode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: LaTeX export problem
Date: Mon, 24 Sep 2012 23:15:01 +0200	[thread overview]
Message-ID: <87pq5b9l7u.fsf@gmail.com> (raw)
In-Reply-To: <CAGOCFPX4swdw-Gr44Su2iRdoN-+mBtGGuHEGYD1qtKachJTv1w@mail.gmail.com> (Alexander Vorobiev's message of "Mon, 24 Sep 2012 11:40:13 -0500")

Hello,

Alexander Vorobiev <alexander.vorobiev@gmail.com> 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

  reply	other threads:[~2012-09-24 21:19 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-12 16:47 LaTeX export problem Gary Oberbrunner
2012-09-19  7:57 ` Bastien
2012-09-20 14:59   ` Alexander Vorobiev
2012-09-21  8:48     ` Bastien
2012-09-21 19:47       ` Alexander Vorobiev
2012-09-21 21:21         ` Thomas S. Dye
2012-09-22  8:01           ` Nicolas Goaziou
2012-09-22  8:07         ` Nicolas Goaziou
2012-09-24 16:40           ` Alexander Vorobiev
2012-09-24 21:15             ` Nicolas Goaziou [this message]
2012-09-24 21:32               ` Alexander Vorobiev
2012-09-26 18:48                 ` Nicolas Goaziou
  -- strict thread matches above, loose matches on Subject: below --
2014-07-13 21:25 Thomas S. Dye
2014-07-16 14:36 ` Nicolas Goaziou
2014-07-16 16:35   ` Thomas S. Dye
2012-01-09 15:45 Piotr Kaźmierczak
2012-01-10  0:13 ` Nick Dokos
2012-01-17 13:35   ` Piotr Kaźmierczak
2012-01-17 17:00     ` Nick Dokos
2012-01-17 19:00       ` Piotr Kaźmierczak
2012-01-17 20:45     ` Eric S Fraga
2010-09-30 14:55 latex " Jörg Hagmann
     [not found] ` <4CA4C29B.1060404@christianmoe.com>
2010-10-01  7:30   ` Jörg Hagmann
2010-10-01  7:32 ` Noorul Islam K M
2010-10-01  7:40   ` Jörg Hagmann
2010-10-01  9:03     ` Noorul Islam K M
2010-10-01  9:17       ` Noorul Islam
2010-10-01 11:38         ` Jörg Hagmann
2010-10-01 12:05           ` Jörg Hagmann

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=87pq5b9l7u.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=alexander.vorobiev@gmail.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=garyo@oberbrunner.com \
    /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).