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
_______________________________________________
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