emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Martin Schöön" <martin.schoon@gmail.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Using KOMA and Memoir?
Date: Mon, 5 May 2014 22:23:44 +0200	[thread overview]
Message-ID: <CAHxk2pB_iHG_jBegXCLzsJahJkWMYAbtb4pOD_cHEk+TQ3iCzg@mail.gmail.com> (raw)
In-Reply-To: <874n145b7y.fsf@ucl.ac.uk>

[-- Attachment #1: Type: text/plain, Size: 1434 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 2165 bytes --]

  reply	other threads:[~2014-05-05 20:23 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-05 17:36 Using KOMA and Memoir? Martin Schöön
2014-05-05 18:31 ` Eric S Fraga
2014-05-05 20:23   ` Martin Schöön [this message]
2014-05-06  7:34     ` Eric S Fraga
2014-05-06 19:41       ` Martin Schöön
2014-05-06 21:28         ` Suvayu Ali
2014-05-07  5:48           ` Martin Schöön
2014-05-07  8:26             ` Ian Barton
2014-05-07 19:42               ` Martin Schöön
2014-05-07  7:38         ` Eric S Fraga
2014-05-07 20:09           ` Martin Schöön
2014-05-07 20:44             ` Nick Dokos
2014-05-07 21:03               ` Martin Schöön
2014-05-07 21:19                 ` Martin Schöön
2014-05-07 22:29                   ` Suvayu Ali
2014-05-08  6:08                     ` Martin Schöön
2014-05-08 12:58                       ` Suvayu Ali
2014-05-08 20:17                         ` Martin Schöön
2014-05-09  8:46                           ` Eric S Fraga
2014-05-09 10:58                             ` Suvayu Ali
2014-05-09 18:59                               ` Martin Schöön
2014-05-09 19:33                               ` Martin Schöön
2014-05-09 19:55                                 ` Eric S Fraga
2014-05-08  7:39                 ` Eric S Fraga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHxk2pB_iHG_jBegXCLzsJahJkWMYAbtb4pOD_cHEk+TQ3iCzg@mail.gmail.com \
    --to=martin.schoon@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).