emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: Emacs Org mode <emacs-orgmode@gnu.org>
Subject: org-e-beamer export bug
Date: Mon, 17 Sep 2012 15:18:47 +0200	[thread overview]
Message-ID: <20120917131847.GD7358@kuru.dyndns-at-home.com> (raw)

[-- 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}

             reply	other threads:[~2012-09-17 13:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-17 13:18 Suvayu Ali [this message]
2012-09-17 13:30 ` org-e-beamer export bug Suvayu Ali
2012-09-17 15:34   ` Suvayu Ali
2012-09-17 16:49     ` Bastien

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=20120917131847.GD7358@kuru.dyndns-at-home.com \
    --to=fatkasuvayu+linux@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).