emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: Re: new exporter: exporting subtree as beamer
Date: Sun, 23 Sep 2012 22:00:37 +0200	[thread overview]
Message-ID: <874nmoa4re.fsf@med.uni-goettingen.de> (raw)
In-Reply-To: 873928bjup.fsf@gmail.com

Hi Nicolas,

> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>
>> I was expecting a compilable Beamer document.  Especially, I am missing
>> a document class in the exported TeX:
>>
>
> You need a "beamer" entry in `org-e-latex-classes' (note: "beamer" name
> isnt't mandatory, but it has to match the LaTeX class requested).
>
> I use the following:
>
> #+begin_src emacs-lisp
> (add-to-list 'org-e-latex-classes
>              '("beamer"
>                "\\documentclass[presentation]{beamer}
> \[DEFAULT-PACKAGES]
> \[PACKAGES]
> \[EXTRA]"
>                ("\\section{%s}" . "\\section*{%s}")
>                ("\\subsection{%s}" . "\\subsection*{%s}")
>                ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
> #+end_src


Thanks a lot.  That was the missing piece.

Regards,
Andreas

  reply	other threads:[~2012-09-23 20:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-23 19:12 new exporter: exporting subtree as beamer Andreas Leha
2012-09-23 19:32 ` Nicolas Goaziou
2012-09-23 19:45   ` Andreas Leha
2012-09-23 19:49     ` Nicolas Goaziou
2012-09-23 20:00       ` Andreas Leha [this message]
2012-09-23 20:33   ` Andreas Leha
2012-09-24 21:25     ` Nicolas Goaziou
2012-09-25  8:21       ` Andreas Leha

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=874nmoa4re.fsf@med.uni-goettingen.de \
    --to=andreas.leha@med.uni-goettingen.de \
    --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).