emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: JBash <bashveank@gmail.com>
Cc: emacs-orgmode Mode <emacs-orgmode@gnu.org>
Subject: Re: Basic beamer export
Date: Sun, 17 Mar 2013 13:08:33 +0000	[thread overview]
Message-ID: <87ehfe18dq.fsf@ucl.ac.uk> (raw)
In-Reply-To: <CAJnMDSv7dcsHZaFpewK=4-U1Rz-O_C3+=neeA65CQF1U5Th4Bg@mail.gmail.com> (JBash's message of "Tue, 12 Mar 2013 02:57:14 -0400")

JBash <bashveank@gmail.com> writes:

> Hello,
>
> I am apparently missing something very basic in the setup for beamer
> export.  I have used http://orgmode.org/worg/exporters/beamer/ox-beamer.html as
> a guide and have:
>
> ;; Export to Beamer Presentation
> (require 'ox-latex)
> (add-to-list 'org-latex-classes
>              '("beamer"
>                "\\documentclass\[presentation\]\{beamer\}"
>                ("\\section\{%s\}" . "\\section*\{%s\}")
>                ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
>                ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))

When I add my beamer entry (see below), I do not escape the curly
braces:

#+begin_src emacs-lisp
(add-to-list 'org-latex-classes
             '("beamer" "\\documentclass{beamer}
\[DEFAULT-PACKAGES]
\[PACKAGES]
\[EXTRA]"
               ("\\section{%s}" . "\\section*{%s}")
               ("\\subsection{%s}" . "\\subsection*{%s}")
               ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
               ("\\paragraph{%s}" . "\\paragraph*{%s}")
               ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
#+end_src

I have no idea whether that makes a difference or not but have you
looked to see what org-latex-classes is actually set to after your
customisation?

-- 
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.3.50.1 and Org release_8.0-pre-107-g91a6ca

  parent reply	other threads:[~2013-03-17 13:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-12  6:57 Basic beamer export JBash
2013-03-12  9:34 ` Glyn Millington
2013-03-12 10:01   ` Glyn Millington
2013-03-12 10:21   ` JBash
2013-03-12 10:27     ` JBash
2013-03-12 14:48 ` Suvayu Ali
2013-03-13  4:52   ` JBash
2013-03-13 13:45     ` Suvayu Ali
2013-03-13 15:01       ` Achim Gratz
2013-03-15 14:59         ` JBash
2013-03-17 15:17           ` Suvayu Ali
2013-03-19 13:38             ` JBash
2013-03-17 13:08 ` Eric S Fraga [this message]
2013-03-17 15:02   ` Suvayu Ali

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=87ehfe18dq.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=bashveank@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).