[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Problems with LaTeX export
From: |
Richard Lewis |
Subject: |
[O] Problems with LaTeX export |
Date: |
Mon, 16 May 2011 12:56:15 +0100 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Hi there,
Last week I made a customised latex class for generating the LaTeX
version of my thesis (as a displacement activity for actually writing
said thesis).
It all worked fine about last Wednesday, but today it's not working
very well at all. Coincidentally (by which I mean not to imply
causality) I updated my org-mode git repository this morning.
I have an org-export-latex-class defined:
(add-to-list 'org-export-latex-classes
'("thesis"
"\\documentclass[11pt,a4paper]{report}
\\usepackage[T1]{fontenc}
\\usepackage{fontspec}
\\usepackage{graphicx}
\\defaultfontfeatures{Mapping=tex-text}
\\setromanfont{Gentium}
\\setromanfont [BoldFont={Gentium Basic Bold},
ItalicFont={Gentium Basic Italic}]{Gentium Basic}
\\setsansfont{Charis SIL}
\\setmonofont[Scale=0.8]{DejaVu Sans Mono}
\\usepackage{geometry}
\\geometry{a4paper, textwidth=6.5in, textheight=10in,
marginparsep=7pt, marginparwidth=.6in}
\\pagestyle{empty}
\\title{}
[NO-DEFAULT-PACKAGES]
[NO-PACKAGES]"
("\\chapter{%s}" . "\\chapter*{%s}")
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
(It used to be called "rjl/thesis", but then when I tried to export
this morning it said it couldn't find the class "rjl" so I changed the
name.)
This class is mainly taken from emacsfu
(http://emacs-fu.blogspot.com/2011/04/nice-looking-pdfs-with-org-mode-and.html)
The problem I am experiencing now is that the TeX source that it
outputs looks like this:
\documentclass[11pt,a4paper]{report}
\usepackage[T1]{fontenc}
\usepackage{fontspec}
\usepackage{graphicx}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont{Gentium}
\setromanfont [BoldFont={Gentium Basic Bold},
ItalicFont={Gentium Basic Italic}]{Gentium Basic}
\setsansfont{Charis SIL}
\setmonofont[Scale=0.8]{DejaVu Sans Mono}
\usepackage{geometry}
\geometry{a4paper, textwidth=6.5in, textheight=10in,
marginparsep=7pt, marginparwidth=.6in}
\pagestyle{empty}
\title{}
[NO-DEFAULT-PACKAGES]
[NO-PACKAGES]
\title{Foo Bar}
\author{Richard Lewis}
\date{16 May 2011}
\begin{document}
I'm sure it's not supposed to contain that empty \title{} environment,
or the "[NO-DEFAULT-PACKAGES]" thing.
Any ideas why this might be happening?
Thanks,
Richard
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] Problems with LaTeX export,
Richard Lewis <=