emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Using KOMA and Memoir?


From: Martin Schöön
Subject: Re: [O] Using KOMA and Memoir?
Date: Mon, 5 May 2014 22:23:44 +0200

On 5 May 2014 20:31, Eric S Fraga <address@hidden> wrote:
On Monday,  5 May 2014 at 19:36, Martin Schöön 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
Thanks Eric, that was quick. I will try it but not tonight, too tired. And I have to figure out what an org customisation file is. So far I have only modified my .emacs.

Sorry for my brevity. What I tried was the first thing I could think of:
#+LATEX_CLASS: memoir
end
#+LATEX_CLASS: scrartcl
neithor of which worked.

--
Martin Schöön

http://hem.bredband.net/b262106/index.html

reply via email to

[Prev in Thread] Current Thread [Next in Thread]