emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Getting custom LaTeX exports to work


From: Thomas S. Dye
Subject: Re: [O] Getting custom LaTeX exports to work
Date: Wed, 25 Dec 2013 08:44:54 -1000

Hi Uwe,

Uwe Ziegenhagen <address@hidden> writes:

> ;; now let's add a few custom class export templates
> (add-to-list 'org-latex-classes
>           '("koma-artikel"
>              "\\documentclass{scrartcl}"
>              ("\\section{%s}" . "\\section*{%s}")
>              ("\\subsection{%s}" . "\\subsection*{%s}")
>              ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
>              ("\\paragraph{%s}" . "\\paragraph*{%s}")
>              ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
>
> (add-to-list 'org-latex-classes
> '("scrlttr"
>      "\\documentclass[11pt]{scrlttr2}\n
>       \\usepackage[utf8]{inputenc}\n
>       \\usepackage[T1]{fontenc}\n
>       \\usepackage{xcolor}"
>      
>      ("\\section{%s}" . "\\section*{%s}")
>      ("\\subsection{%s}" . "\\subsection*{%s}")
>      ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
>      ("\\paragraph{%s}" . "\\paragraph*{%s}")
>      ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
>
> In my simple org-file I have the following in the first line:
>
> #+LaTeX_CLASS: koma-article
>
> Unfortunately I still get "Unknown LaTeX Class `koma-article`" when
> executing <Ctrl>-c-e l L

You've named it `koma-artikel', not `koma-article'.

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



reply via email to

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