On 5 May 2014 20:31, Eric S Fraga <e.fraga@ucl.ac.uk> 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