From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Getting custom LaTeX exports to work Date: Wed, 25 Dec 2013 08:44:54 -1000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VvtSU-0006iA-BZ for emacs-orgmode@gnu.org; Wed, 25 Dec 2013 13:45:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VvtSK-0005zO-RB for emacs-orgmode@gnu.org; Wed, 25 Dec 2013 13:45:30 -0500 Received: from alt-proxy33.mail.unifiedlayer.com ([70.40.209.146]:54532) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1VvtSK-0005zK-JQ for emacs-orgmode@gnu.org; Wed, 25 Dec 2013 13:45:20 -0500 In-Reply-To: (Uwe Ziegenhagen's message of "Wed, 25 Dec 2013 18:12:09 +0000 (UTC)") 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: Uwe Ziegenhagen Cc: emacs-orgmode@gnu.org Hi Uwe, Uwe Ziegenhagen 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 -c-e l L You've named it `koma-artikel', not `koma-article'. hth, Tom -- Thomas S. Dye http://www.tsdye.com