From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Using KOMA and Memoir? Date: Fri, 9 May 2014 09:46:15 +0100 Message-ID: <87zjircpbc.fsf@ucl.ac.uk> References: <87siongy2s.fsf@ucl.ac.uk> <87ppjqhwcd.fsf@ucl.ac.uk> <871tw571zk.fsf@alphaville.bos.redhat.com> <20140507222914.GB2785@chitra.no-ip.org> <20140508125830.GE2711@chitra.no-ip.org> 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]:37115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WigRq-00007T-VB for emacs-orgmode@gnu.org; Fri, 09 May 2014 04:46:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WigRj-0002fA-Fd for emacs-orgmode@gnu.org; Fri, 09 May 2014 04:46:30 -0400 Received: from mail-db3lp0075.outbound.protection.outlook.com ([213.199.154.75]:22847 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WigRj-0002f1-6q for emacs-orgmode@gnu.org; Fri, 09 May 2014 04:46:23 -0400 In-Reply-To: ("Martin =?utf-8?B?U2Now7bDtm4iJ3M=?= message of "Thu, 8 May 2014 22:17:09 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Martin =?utf-8?B?U2Now7bDtm4=?= Cc: "emacs-orgmode@gnu.org" On Thursday, 8 May 2014 at 22:17, Martin Sch=C3=B6=C3=B6n wrote: [...] > So why didn't it work the way I was told to do it? > How much of my .emacs is needed to figure it out, all? Here are the parts= I > think > are relevant. First the very beginning of my .emacs (comments are mixed > Swedish > and English): [...] > ;;;;;;;;;;;;;;;;;;;;;; Org-mode stuff ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; > ;; Added 2014-03-02 > ;; to make emacs find org-mode other than default: > (add-to-list 'load-path "/home/martin/Program/Org-mode/org-8.2.5h/lisp") > (add-to-list 'load-path "/home/martin/Program/Org-mode/org-8.2.5h/contrib= /lisp") > (require 'org) Fine up to here. Now what you need to do is (require 'ox-latex) *before* you try to: > ;(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}"))) which is what several of us have been trying to get across! At the very least, you need: ,---- | (add-to-list 'load-path ...org lisp directory...) | (require 'org) | (require 'ox-latex) | (add-to-list 'org-latex-classes ...) `---- to do what you want! You are missing the third line. A minimal initialisation with just those four lines should be enough to see if org with KOMA works. --=20 : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-923-g233c11