From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Ziegenhagen Subject: Getting custom LaTeX exports to work Date: Wed, 25 Dec 2013 18:12:09 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52002) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vvt40-0002Ul-3N for emacs-orgmode@gnu.org; Wed, 25 Dec 2013 13:20:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vvt3s-00087d-Pp for emacs-orgmode@gnu.org; Wed, 25 Dec 2013 13:20:12 -0500 Received: from plane.gmane.org ([80.91.229.3]:42608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vvt3s-00085h-Ij for emacs-orgmode@gnu.org; Wed, 25 Dec 2013 13:20:04 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Vvt3r-0002Cb-4y for emacs-orgmode@gnu.org; Wed, 25 Dec 2013 19:20:03 +0100 Received: from aftr-37-24-144-110.unity-media.net ([37.24.144.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Dec 2013 19:20:03 +0100 Received: from ziegenhagen by aftr-37-24-144-110.unity-media.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Dec 2013 19:20:03 +0100 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: emacs-orgmode@gnu.org Hi everyone, I am trying to get custom LaTeX exports to work. I installed the latest version of Emacs (for Windows) and org mode today and have the following in my .emacs: (require 'ox-html) (require 'ox-latex) (require 'ox-ascii) ;; 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