emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Uwe Ziegenhagen <ziegenhagen@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Getting custom LaTeX exports to work
Date: Wed, 25 Dec 2013 08:44:54 -1000	[thread overview]
Message-ID: <m1k3eshis9.fsf@tsdye.com> (raw)
In-Reply-To: <loom.20131225T190332-475@post.gmane.org> (Uwe Ziegenhagen's message of "Wed, 25 Dec 2013 18:12:09 +0000 (UTC)")

Hi Uwe,

Uwe Ziegenhagen <ziegenhagen@gmail.com> writes:

> ;; now let's add a few custom class export templates
> (add-to-list 'org-latex-classes
>           '("koma-artikel"
>              "\\documentclass{scrartcl}"
>              ("\\section{%s}" . "\\section*{%s}")
>              ("\\subsection{%s}" . "\\subsection*{%s}")
>              ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
>              ("\\paragraph{%s}" . "\\paragraph*{%s}")
>              ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
>
> (add-to-list 'org-latex-classes
> '("scrlttr"
>      "\\documentclass[11pt]{scrlttr2}\n
>       \\usepackage[utf8]{inputenc}\n
>       \\usepackage[T1]{fontenc}\n
>       \\usepackage{xcolor}"
>      
>      ("\\section{%s}" . "\\section*{%s}")
>      ("\\subsection{%s}" . "\\subsection*{%s}")
>      ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
>      ("\\paragraph{%s}" . "\\paragraph*{%s}")
>      ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
>
> In my simple org-file I have the following in the first line:
>
> #+LaTeX_CLASS: koma-article
>
> Unfortunately I still get "Unknown LaTeX Class `koma-article`" when
> executing <Ctrl>-c-e l L

You've named it `koma-artikel', not `koma-article'.

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com

  reply	other threads:[~2013-12-25 18:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-25 18:12 Getting custom LaTeX exports to work Uwe Ziegenhagen
2013-12-25 18:44 ` Thomas S. Dye [this message]
2013-12-25 19:28   ` Uwe Ziegenhagen
2013-12-27 10:32 ` Joseph Vidal-Rosset
     [not found]   ` <CAML7JChJxO8U6+OAO2XYVR4kmVUkfC7uGv3rd=CXftbJPd4j4w@mail.gmail.com>
     [not found]     ` <CAD-VTcH2vmYKomF5mnQE+p6AD3yWWP_h5O=JdsJRjy=rVMesWA@mail.gmail.com>
     [not found]       ` <CAML7JCiO5z44ha_L16jDydNo57S0cuJM_MECT_GYEAoqpUZKeA@mail.gmail.com>
2013-12-28 18:04         ` Joseph Vidal-Rosset

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=m1k3eshis9.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ziegenhagen@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).