From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Latex export to documentclass beamer Date: Sun, 9 Aug 2009 16:17:50 +0200 Message-ID: <817D4333-B995-4A39-8DC3-CF621B987660@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ma9Dl-0007IU-Cv for emacs-orgmode@gnu.org; Sun, 09 Aug 2009 10:18:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ma9Dg-0007Gu-Kj for emacs-orgmode@gnu.org; Sun, 09 Aug 2009 10:18:01 -0400 Received: from [199.232.76.173] (port=58954 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ma9Dg-0007Gn-HP for emacs-orgmode@gnu.org; Sun, 09 Aug 2009 10:17:56 -0400 Received: from pony.ic.uva.nl ([145.18.40.181]:44446) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ma9Dg-0001IA-0X for emacs-orgmode@gnu.org; Sun, 09 Aug 2009 10:17:56 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: RC Cc: emacs-orgmode@gnu.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