[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [New exporter] Wrong export to LaTeX
From: |
Sebastien Vauban |
Subject: |
Re: [O] [New exporter] Wrong export to LaTeX |
Date: |
Fri, 12 Oct 2012 13:32:55 +0200 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (windows-nt) |
Hi Suvayu and Nicolas,
"Sebastien Vauban" wrote:
> Suvayu Ali wrote:
>> On Thu, Oct 11, 2012 at 07:54:02PM +0200, Nicolas Goaziou wrote:
>>
>> What I'm getting at is, without the LaTeX_CLASS set to beamer, the
>> crucial \documentclass{beamer} directive is missing and the exported
>> LaTeX document won't be compilable[1]. Given the preceding comments are
>> correct, I would then say having a "beamer" class already defined in
>> org-e-beamer will save new users some trouble. Is my analysis valid, or
>> am I grossly wrong?
>
> I have had once my ECM exported without the documentclass directive as well,
> but I'm not 100% anymore of how I did it -- can't reproduce it right now.
> Anyhow, this is still strange to me.
I've updated Org (as said in my last post): Org-mode version 7.9.2
(release_7.9.2-436-g9b11e6 @ d:/home/sva/src/org-mode/lisp/).
Then, restarted Emacs, launched the export dispatcher on my ECM:
--8<---------------cut here---------------start------------->8---
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [presentation]
#+BEAMER_THEME: mc
#+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) %4BEAMER_col(Col)
%8BEAMER_opt(Opt)
#+PROPERTY: BEAMER_col_ALL 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.0 :ETC
#+OPTIONS: H:2
* First section
** First frame
Introduction: why?
** Second frame
Objective is...
* Second section
** Third frame
Conclusions are...
--8<---------------cut here---------------end--------------->8---
... noticed that I did not get the Beamer extra menus in the dispatcher,
loaded the `org-e-beamer' library, re-exported to Beamer (`C-c E l O') and get
an uncompilable LaTeX file:
--8<---------------cut here---------------start------------->8---
% Created 2012-10-12 Fri 13:25
\usetheme{mc}
\author{Sebastien Vauban}
\date{\today}
\title{ecm}
\hypersetup{
pdfkeywords={},
pdfsubject={},
pdfcreator={}}
\begin{document}
\maketitle
\begin{frame}{Outline}
\tableofcontents
\end{frame}
\begin{enumerate}
\item First section
\label{sec-1}
\begin{frame}[label=sec-1-1]{First frame}
Introduction: why?
\end{frame}
\begin{frame}[label=sec-1-2]{Second frame}
Objective is\ldots{}
\end{frame}
\item Second section
\label{sec-2}
\begin{frame}[label=sec-2-1]{Third frame}
Conclusions are\ldots{}
\end{frame}
\end{enumerate}
\end{document}
--8<---------------cut here---------------end--------------->8---
Reason: no `documentclass' directive. Why? At this point, still a mystery to
me...
Best regards,
Seb
--
Sebastien Vauban
- [O] [New exporter] Wrong export to LaTeX, Sebastien Vauban, 2012/10/11
- Re: [O] [New exporter] Wrong export to LaTeX, Suvayu Ali, 2012/10/11
- Re: [O] [New exporter] Wrong export to LaTeX, Nicolas Goaziou, 2012/10/11
- Re: [O] [New exporter] Wrong export to LaTeX, Suvayu Ali, 2012/10/11
- Re: [O] [New exporter] Wrong export to LaTeX, Nicolas Goaziou, 2012/10/11
- Re: [O] [New exporter] Wrong export to LaTeX, Suvayu Ali, 2012/10/12
- Re: [O] [New exporter] Wrong export to LaTeX, Sebastien Vauban, 2012/10/12
- Re: [O] [New exporter] Wrong export to LaTeX,
Sebastien Vauban <=
- Re: [O] [New exporter] Wrong export to LaTeX, Suvayu Ali, 2012/10/12
- Re: [O] [New exporter] Wrong export to LaTeX, Nicolas Goaziou, 2012/10/12
- Re: [O] [New exporter] Wrong export to LaTeX, Suvayu Ali, 2012/10/12
- Re: [O] [New exporter] Wrong export to LaTeX, Sebastien Vauban, 2012/10/15
- Re: [O] [New exporter] Wrong export to LaTeX, Nicolas Goaziou, 2012/10/15
- Re: [O] [New exporter] Wrong export to LaTeX, Sebastien Vauban, 2012/10/16
- Re: [O] [New exporter] Wrong export to LaTeX, Nicolas Goaziou, 2012/10/12
- Re: [O] [New exporter] Wrong export to LaTeX, Suvayu Ali, 2012/10/12