From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Org-mode and koma-script Date: Tue, 28 Aug 2018 15:50:07 -0400 Message-ID: <87wosai840.fsf@alphaville.usersys.redhat.com> References: <8a728d2e-e304-da28-dbc7-33b69b71f01a@gmx.fr> <09f20570-5a7d-09fb-b669-b8a874a76079@gmx.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fukEw-0004bY-7G for emacs-orgmode@gnu.org; Tue, 28 Aug 2018 16:05:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fuk0G-0001AA-Lj for emacs-orgmode@gnu.org; Tue, 28 Aug 2018 15:50:20 -0400 Received: from [195.159.176.226] (port=52760 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fuk0G-000159-9f for emacs-orgmode@gnu.org; Tue, 28 Aug 2018 15:50:16 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fujy7-0006aK-KZ for emacs-orgmode@gnu.org; Tue, 28 Aug 2018 21:48:03 +0200 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" To: emacs-orgmode@gnu.org gmx writes: > Hello, > > I'm trying to use the koma class. I found a configuration of the.emacs > file, in the manual and in a Stack Exchange post > (https://tex.stackexchange.com/questions/364914/using-koma-script-article-with-org-mode). > > > I open a new .org file, and I declare: > > #+TITLE: MyTitle > #+DATE: date > > #+LANGUAGE: fr > #+LaTeX_CLASS: koma-article > > When I want to export my work in .pdf, I get the following answer: > Unknown LaTeX class 'koma-article'. > > What to do? Most likely, you have an error in your .emacs file. You can check that by seeing whether you successfully modified the org-latex-classes variable: M-x v org-latex-classes RET Chances are that it does not contain an entry for `koma-article', because your .emacs was not read completely: emacs encountered an error while processing it and gave up on processing the rest of it. -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler