From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: "Martin Schöön" <martin.schoon@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Using KOMA and Memoir?
Date: Fri, 9 May 2014 09:46:15 +0100 [thread overview]
Message-ID: <87zjircpbc.fsf@ucl.ac.uk> (raw)
In-Reply-To: <CAHxk2pC_ZswO33nhRQCiq+a2VFmwYQ_Uu0yp6abZeS6dwxmK8A@mail.gmail.com> ("Martin Schöön"'s message of "Thu, 8 May 2014 22:17:09 +0200")
On Thursday, 8 May 2014 at 22:17, Martin Schöön 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.
--
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-923-g233c11
next prev parent reply other threads:[~2014-05-09 8:46 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
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 [this message]
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=87zjircpbc.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=martin.schoon@gmail.com \
/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).