emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: RC <recif@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Latex export to documentclass beamer
Date: Sun, 9 Aug 2009 16:17:50 +0200	[thread overview]
Message-ID: <817D4333-B995-4A39-8DC3-CF621B987660@gmail.com> (raw)
In-Reply-To: <loom.20090809T124741-537@post.gmane.org>


On Aug 9, 2009, at 3:05 PM, RC wrote:

> Hi,
> Following an earlier suggestion on the list:
> http://thread.gmane.org/gmane.emacs.orgmode/15010/focus=15077
>
> I added the following to my .emacs file:
>
> (add-to-list 'org-export-latex-classes
>             '("beamer"
> 	       "\\documentclass[11pt]{beamer}
>                \\usepackage[utf8]{inputenc}
>                \\usepackage[T1]{fontenc}
>                \ 
> \usepackage{amsmath,amssymb,graphicx,bm,multirow,colortbl,vector}
>                \\usepackage{hyperref}
>                \\usepackage{verbatim}
>                \\setbeameroption{show notes}
>                \\usetheme{Goettingen}
>                \\useoutertheme{infolines}"
> 	       ("\\begin{frame}\\frametitle{%s}\\begin{itemize}"
> "\\end{itemize}\\end{frame}"
> 		"\\begin{frame}\\frametitle{%s}\\begin{itemize}" "\\end{itemize}\ 
> \end{frame}")
> 	       ("\\item{%s}" . "\\item*{%s}")))

For this line to be working, the variable must have been defined.

Either precede the code with

  (require 'org-latex)

or wrap it into

(eval-after-load "org-latex" '(add-to-list....))

- Carsten

>
> However, this gives me the error:
> Debugger entered--Lisp error: (void-variable org-export-latex-classes)
>
> I am using Emacs 23.1 and org-mode 6.29trans in Windows Vista.
>
> Any suggestions to fix the error are appreciated.
> RC
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2009-08-09 14:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-09 13:05 Latex export to documentclass beamer RC
2009-08-09 14:17 ` Carsten Dominik [this message]
2009-08-09 15:45   ` RC
2009-08-10 11:46     ` Carsten Dominik
2009-08-11  4:14       ` William Henney
  -- strict thread matches above, loose matches on Subject: below --
2009-08-17 14:43 Robert Goldman
2009-08-17 16:17 ` Robert Goldman

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=817D4333-B995-4A39-8DC3-CF621B987660@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=recif@yahoo.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).