emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-e-beamer export bug
@ 2012-09-17 13:18 Suvayu Ali
  2012-09-17 13:30 ` Suvayu Ali
  0 siblings, 1 reply; 4+ messages in thread
From: Suvayu Ali @ 2012-09-17 13:18 UTC (permalink / raw)
  To: Emacs Org mode

[-- Attachment #1: Type: text/plain, Size: 1368 bytes --]

Hi,

I think I found a bug in the beamer export of org-e-beamer.  The ecm and
the produced TeX file is attached.  During the export the documentclass
is incorrectly set to article.

This is how I load org-export:

  (setq debug-on-error t
        debug-on-signal nil
        debug-on-quit nil)

  (add-to-list 'load-path (expand-file-name "~/build/org-mode/lisp"))
  (add-to-list 'load-path (expand-file-name "~/build/org-mode/contrib/lisp"))
  
  ;; activate org
  (require 'org-install)
  (load-library "org-export")
  (load-library "org-e-latex")
  (load-library "org-e-beamer")
  (load-library "org-e-html")
  
  (setq org-export-dispatch-use-expert-ui t ; non-intrusive export dispatch
        org-e-latex-pdf-process		; for experimental org-export
        '("xelatex -interaction nonstopmode -output-directory %o %f"
  	"xelatex -interaction nonstopmode -output-directory %o %f"
  	"xelatex -interaction nonstopmode -output-directory %o %f"))
  
  ;; beamer export with the new exporter
  (add-to-list 'org-e-latex-classes
               '("beamer"
                 "\\documentclass\[presentation\]\{beamer\}"
                 ("\\section\{%s\}" . "\\section*\{%s\}")
                 ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
                 ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))


-- 
Suvayu

Open source is the future. It sets us free.

[-- Attachment #2: e-beamer-ecm.org --]
[-- Type: text/plain, Size: 574 bytes --]

* Some headline
  :PROPERTIES:
  :LaTeX_CLASS: beamer
  :LaTeX_CLASS_OPTIONS: [smaller,presentation]
  :EXPORT_FILE_NAME: analysis_review.pdf
  :EXPORT_BEAMER_THEME: Montpellier
  :EXPORT_BEAMER_COLOR_THEME: orchid
  :EXPORT_OPTIONS: H:1 ^:t
  :COLUMNS:  %45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) %4BEAMER_col(Col) %8BEAMER_opt(Opt)
  :BEAMER_col_ALL: 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.0 :ETC
  :EXPORT_TITLE: ECM
  :END:

** Background
#+begin_latex
  \begin{equation}
    \mathcal{A}_{f}(t) = \dots
  \end{equation}
#+end_latex

* Ds⁻ Ds⁺ production asymmetry

[-- Attachment #3: analysis_review.tex --]
[-- Type: text/plain, Size: 849 bytes --]

% Created 2012-09-17 Mon 15:07
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\usetheme{Montpellier}
\usecolortheme{orchid}
\author{Suvayu Ali}
\date{\today}
\title{ECM}
\hypersetup{
  pdfkeywords={},
  pdfsubject={},
  pdfcreator={Generated by Org mode 7.9.1 in Emacs 24.2.50.1.}}
\begin{document}

\maketitle
\begin{frame}{Outline}
\tableofcontents
\end{frame}


\begin{frame}[label=sec-1]{Background}
\begin{equation}
  \mathcal{A}_{f}(t) = \dots
\end{equation}
\end{frame}
% Generated by Org mode 7.9.1 in Emacs 24.2.50.1.
\end{document}

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-17 16:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-17 13:18 org-e-beamer export bug Suvayu Ali
2012-09-17 13:30 ` Suvayu Ali
2012-09-17 15:34   ` Suvayu Ali
2012-09-17 16:49     ` Bastien

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).