Hi Uwe,
Uwe Ziegenhagen <[email protected]> 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