From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Using KOMA and Memoir? Date: Mon, 5 May 2014 19:31:13 +0100 Message-ID: <874n145b7y.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhNfi-0005tq-L4 for emacs-orgmode@gnu.org; Mon, 05 May 2014 14:31:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhNfa-0002Q7-1x for emacs-orgmode@gnu.org; Mon, 05 May 2014 14:31:26 -0400 Received: from mail-am1lp0010.outbound.protection.outlook.com ([213.199.154.10]:33479 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhNfZ-0002Pz-SM for emacs-orgmode@gnu.org; Mon, 05 May 2014 14:31:17 -0400 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: Martin =?utf-8?B?U2Now7bDtm4=?= Cc: "emacs-orgmode@gnu.org" On Monday, 5 May 2014 at 19:36, Martin Sch=C3=B6=C3=B6n wrote: > I have tried to get KOMA and Memoir work in Org-mode. In short: I only get > error messages telling me they are unknown LaTeX classes. It would help to know what you have actually tried. I have the following in my org customisation files: #+begin_src emacs-lisp (add-to-list 'org-latex-classes '("komaarticle" "\\documentclass{scrartcl}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) #+end_src which defines the komaarticle class to use scrartcl from koma. In the org file, I then have #+begin_src org ,#+latex_class: komaarticle #+end_src HTH, eric --=20 : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-923-g233c11