* 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
* Re: org-e-beamer export bug
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
0 siblings, 1 reply; 4+ messages in thread
From: Suvayu Ali @ 2012-09-17 13:30 UTC (permalink / raw)
To: Emacs Org mode
On Mon, Sep 17, 2012 at 03:18:47PM +0200, Suvayu Ali wrote:
> 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.
>
Please ignore my report. I found my typo
> :LaTeX_CLASS: beamer
> :LaTeX_CLASS_OPTIONS: [smaller,presentation]
should be
> :EXPORT_LaTeX_CLASS: beamer
> :EXPORT_LaTeX_CLASS_OPTIONS: [smaller,presentation]
Sorry for the noise.
--
Suvayu
Open source is the future. It sets us free.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: org-e-beamer export bug
2012-09-17 13:30 ` Suvayu Ali
@ 2012-09-17 15:34 ` Suvayu Ali
2012-09-17 16:49 ` Bastien
0 siblings, 1 reply; 4+ messages in thread
From: Suvayu Ali @ 2012-09-17 15:34 UTC (permalink / raw)
To: Emacs Org mode
[-- Attachment #1: Type: text/plain, Size: 709 bytes --]
Hi,
On Mon, Sep 17, 2012 at 03:30:17PM +0200, Suvayu Ali wrote:
> On Mon, Sep 17, 2012 at 03:18:47PM +0200, Suvayu Ali wrote:
> >
> > 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.
> >
>
> Please ignore my report. I found my typo
>
> > :LaTeX_CLASS: beamer
> > :LaTeX_CLASS_OPTIONS: [smaller,presentation]
>
> should be
>
> > :EXPORT_LaTeX_CLASS: beamer
> > :EXPORT_LaTeX_CLASS_OPTIONS: [smaller,presentation]
>
The typo was actually in org-e-beamer-insert-options-template. A patch
is attached.
--
Suvayu
Open source is the future. It sets us free.
[-- Attachment #2: 0001-Fix-org-e-beamer-subtree-export-options-template.patch --]
[-- Type: text/plain, Size: 1126 bytes --]
From 1d80cdf2a4a087d2784eb9600f7da2c027d754a4 Mon Sep 17 00:00:00 2001
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Date: Mon, 17 Sep 2012 17:28:03 +0200
Subject: [PATCH] Fix org-e-beamer subtree export options template
Prepend "EXPORT_" to LaTeX_CLASS* properties in the beamer subtree
export options template.
---
contrib/lisp/org-e-beamer.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/contrib/lisp/org-e-beamer.el b/contrib/lisp/org-e-beamer.el
index fba3c43..94336d7 100644
--- a/contrib/lisp/org-e-beamer.el
+++ b/contrib/lisp/org-e-beamer.el
@@ -1130,8 +1130,8 @@ (defun org-e-beamer-insert-options-template (&optional kind)
(progn
(org-back-to-heading t)
(org-reveal)
- (org-entry-put nil "LaTeX_CLASS" "beamer")
- (org-entry-put nil "LaTeX_CLASS_OPTIONS" "[presentation]")
+ (org-entry-put nil "EXPORT_LaTeX_CLASS" "beamer")
+ (org-entry-put nil "EXPORT_LaTeX_CLASS_OPTIONS" "[presentation]")
(org-entry-put nil "EXPORT_FILE_NAME" "presentation.pdf")
(when org-e-beamer-column-view-format
(org-entry-put nil "COLUMNS" org-e-beamer-column-view-format))
--
1.7.11.4
^ permalink raw reply related [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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.