* new exporter: exporting subtree as beamer
@ 2012-09-23 19:12 Andreas Leha
2012-09-23 19:32 ` Nicolas Goaziou
0 siblings, 1 reply; 8+ messages in thread
From: Andreas Leha @ 2012-09-23 19:12 UTC (permalink / raw
To: emacs-orgmode
Hi all,
I am having trouble to export a subtree as beamer document with the new
exporter. (Org-mode version 7.9.1 (release_7.9.1-316-g66fe32)
Here is a simple org-document, that was prepared for beamer export using
org-e-beamer-insert-options-template:
----[ test_beamer.org ]
* Test Beamer
:PROPERTIES:
:EXPORT_LaTeX_CLASS: beamer
:EXPORT_LaTeX_CLASS_OPTIONS: [presentation]
:EXPORT_FILE_NAME: presentation.pdf
: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
:END:
** First Slide :B_frame:
:PROPERTIES:
:BEAMER_env: frame
:END:
- first bullet
----
And this is what I get when I export the subtree "Test Beamer" as
beamer:
----[ TeX export ]
% Created 2012-09-23 So 21:07
\usetheme{default}
\author{Andreas Leha}
\date{\today}
\title{Test Beamer}
\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]{First Slide}
\begin{itemize}
\item first bullet
\end{itemize}
\end{frame}
% Generated by Org mode 7.9.1 in Emacs 24.2.50.1.
\end{document}
----
What am I missing here?
Regards,
Andreas
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: new exporter: exporting subtree as beamer
2012-09-23 19:12 new exporter: exporting subtree as beamer Andreas Leha
@ 2012-09-23 19:32 ` Nicolas Goaziou
2012-09-23 19:45 ` Andreas Leha
2012-09-23 20:33 ` Andreas Leha
0 siblings, 2 replies; 8+ messages in thread
From: Nicolas Goaziou @ 2012-09-23 19:32 UTC (permalink / raw
To: Andreas Leha; +Cc: emacs-orgmode
Hello,
Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
> I am having trouble to export a subtree as beamer document with the new
> exporter. (Org-mode version 7.9.1 (release_7.9.1-316-g66fe32)
>
> Here is a simple org-document, that was prepared for beamer export using
> org-e-beamer-insert-options-template:
>
>
> ----[ test_beamer.org ]
> * Test Beamer
> :PROPERTIES:
> :EXPORT_LaTeX_CLASS: beamer
> :EXPORT_LaTeX_CLASS_OPTIONS: [presentation]
> :EXPORT_FILE_NAME: presentation.pdf
> :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
> :END:
>
> ** First Slide :B_frame:
> :PROPERTIES:
> :BEAMER_env: frame
> :END:
> - first bullet
> ----
>
>
>
> And this is what I get when I export the subtree "Test Beamer" as
> beamer:
The code produced looks correct. What did you expect?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: new exporter: exporting subtree as beamer
2012-09-23 19:32 ` Nicolas Goaziou
@ 2012-09-23 19:45 ` Andreas Leha
2012-09-23 19:49 ` Nicolas Goaziou
2012-09-23 20:33 ` Andreas Leha
1 sibling, 1 reply; 8+ messages in thread
From: Andreas Leha @ 2012-09-23 19:45 UTC (permalink / raw
To: emacs-orgmode
Hi Nicolas,
> Hello,
>
> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>
>> I am having trouble to export a subtree as beamer document with the new
>> exporter. (Org-mode version 7.9.1 (release_7.9.1-316-g66fe32)
>>
>> Here is a simple org-document, that was prepared for beamer export using
>> org-e-beamer-insert-options-template:
>>
>>
>> ----[ test_beamer.org ]
>> * Test Beamer
>> :PROPERTIES:
>> :EXPORT_LaTeX_CLASS: beamer
>> :EXPORT_LaTeX_CLASS_OPTIONS: [presentation]
>> :EXPORT_FILE_NAME: presentation.pdf
>> :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
>> :END:
>>
>> ** First Slide :B_frame:
>> :PROPERTIES:
>> :BEAMER_env: frame
>> :END:
>> - first bullet
>> ----
>>
>>
>>
>> And this is what I get when I export the subtree "Test Beamer" as
>> beamer:
>
> The code produced looks correct. What did you expect?
>
>
> Regards,
thanks for looking into this. Sorry for not being clear.
I was expecting a compilable Beamer document. Especially, I am missing
a document class in the exported TeX:
----[ TeX export ]
% Created 2012-09-23 So 21:07
\usetheme{default}
\author{Andreas Leha}
\date{\today}
\title{Test Beamer}
\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]{First Slide}
\begin{itemize}
\item first bullet
\end{itemize}
\end{frame}
% Generated by Org mode 7.9.1 in Emacs 24.2.50.1.
\end{document}
----
Best,
Andreas
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: new exporter: exporting subtree as beamer
2012-09-23 19:45 ` Andreas Leha
@ 2012-09-23 19:49 ` Nicolas Goaziou
2012-09-23 20:00 ` Andreas Leha
0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Goaziou @ 2012-09-23 19:49 UTC (permalink / raw
To: Andreas Leha; +Cc: emacs-orgmode
Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
> I was expecting a compilable Beamer document. Especially, I am missing
> a document class in the exported TeX:
>
> ----[ TeX export ]
> % Created 2012-09-23 So 21:07
> \usetheme{default}
> \author{Andreas Leha}
> \date{\today}
> \title{Test Beamer}
> \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]{First Slide}
> \begin{itemize}
> \item first bullet
> \end{itemize}
> \end{frame}
> % Generated by Org mode 7.9.1 in Emacs 24.2.50.1.
> \end{document}
> ----
You need a "beamer" entry in `org-e-latex-classes' (note: "beamer" name
isnt't mandatory, but it has to match the LaTeX class requested).
I use the following:
#+begin_src emacs-lisp
(add-to-list 'org-e-latex-classes
'("beamer"
"\\documentclass[presentation]{beamer}
\[DEFAULT-PACKAGES]
\[PACKAGES]
\[EXTRA]"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
#+end_src
Regards,
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: new exporter: exporting subtree as beamer
2012-09-23 19:49 ` Nicolas Goaziou
@ 2012-09-23 20:00 ` Andreas Leha
0 siblings, 0 replies; 8+ messages in thread
From: Andreas Leha @ 2012-09-23 20:00 UTC (permalink / raw
To: emacs-orgmode
Hi Nicolas,
> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>
>> I was expecting a compilable Beamer document. Especially, I am missing
>> a document class in the exported TeX:
>>
>
> You need a "beamer" entry in `org-e-latex-classes' (note: "beamer" name
> isnt't mandatory, but it has to match the LaTeX class requested).
>
> I use the following:
>
> #+begin_src emacs-lisp
> (add-to-list 'org-e-latex-classes
> '("beamer"
> "\\documentclass[presentation]{beamer}
> \[DEFAULT-PACKAGES]
> \[PACKAGES]
> \[EXTRA]"
> ("\\section{%s}" . "\\section*{%s}")
> ("\\subsection{%s}" . "\\subsection*{%s}")
> ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
> #+end_src
Thanks a lot. That was the missing piece.
Regards,
Andreas
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: new exporter: exporting subtree as beamer
2012-09-23 19:32 ` Nicolas Goaziou
2012-09-23 19:45 ` Andreas Leha
@ 2012-09-23 20:33 ` Andreas Leha
2012-09-24 21:25 ` Nicolas Goaziou
1 sibling, 1 reply; 8+ messages in thread
From: Andreas Leha @ 2012-09-23 20:33 UTC (permalink / raw
To: emacs-orgmode
Hi Nicolas,
>> ----[ test_beamer.org ]
>> * Test Beamer
>> :PROPERTIES:
>> :EXPORT_LaTeX_CLASS: beamer
>> :EXPORT_LaTeX_CLASS_OPTIONS: [presentation]
>> :EXPORT_FILE_NAME: presentation.pdf
>> :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
>> :END:
>>
>> ** First Slide :B_frame:
>> :PROPERTIES:
>> :BEAMER_env: frame
>> :END:
>> - first bullet
>> ----
One more thing, though. The "EXPORT_FILE_NAME" is ignored at my side.
Regards,
Andreas
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: new exporter: exporting subtree as beamer
2012-09-23 20:33 ` Andreas Leha
@ 2012-09-24 21:25 ` Nicolas Goaziou
2012-09-25 8:21 ` Andreas Leha
0 siblings, 1 reply; 8+ messages in thread
From: Nicolas Goaziou @ 2012-09-24 21:25 UTC (permalink / raw
To: Andreas Leha; +Cc: emacs-orgmode
Hello,
Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>>> ----[ test_beamer.org ]
>>> * Test Beamer
>>> :PROPERTIES:
>>> :EXPORT_LaTeX_CLASS: beamer
>>> :EXPORT_LaTeX_CLASS_OPTIONS: [presentation]
>>> :EXPORT_FILE_NAME: presentation.pdf
>>> :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
>>> :END:
>>>
>>> ** First Slide :B_frame:
>>> :PROPERTIES:
>>> :BEAMER_env: frame
>>> :END:
>>> - first bullet
>>> ----
>
> One more thing, though. The "EXPORT_FILE_NAME" is ignored at my side.
You mean that, when you export "* Test Beamer" sub-tree, produced file
isn't called "presentation.pdf"? That's strange. I cannot reproduce it.
What is the output of:
M-: (org-export-output-file-name ".tex" t)
when point is around the first headline then?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: new exporter: exporting subtree as beamer
2012-09-24 21:25 ` Nicolas Goaziou
@ 2012-09-25 8:21 ` Andreas Leha
0 siblings, 0 replies; 8+ messages in thread
From: Andreas Leha @ 2012-09-25 8:21 UTC (permalink / raw
To: emacs-orgmode
Nicolas Goaziou <n.goaziou@gmail.com> writes:
> Hello,
>
> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>
>>>> ----[ test_beamer.org ]
>>>> * Test Beamer
>>>> :PROPERTIES:
>>>> :EXPORT_LaTeX_CLASS: beamer
>>>> :EXPORT_LaTeX_CLASS_OPTIONS: [presentation]
>>>> :EXPORT_FILE_NAME: presentation.pdf
>>>> :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
>>>> :END:
>>>>
>>>> ** First Slide :B_frame:
>>>> :PROPERTIES:
>>>> :BEAMER_env: frame
>>>> :END:
>>>> - first bullet
>>>> ----
>>
>> One more thing, though. The "EXPORT_FILE_NAME" is ignored at my side.
>
> You mean that, when you export "* Test Beamer" sub-tree, produced file
> isn't called "presentation.pdf"? That's strange. I cannot reproduce it.
Yes, that's what I meant. But I am not able to reproduce it either, any
more. Sorry for the noise.
Thanks for checking, anyway.
Regards,
Andreas
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-09-25 8:21 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-23 19:12 new exporter: exporting subtree as beamer Andreas Leha
2012-09-23 19:32 ` Nicolas Goaziou
2012-09-23 19:45 ` Andreas Leha
2012-09-23 19:49 ` Nicolas Goaziou
2012-09-23 20:00 ` Andreas Leha
2012-09-23 20:33 ` Andreas Leha
2012-09-24 21:25 ` Nicolas Goaziou
2012-09-25 8:21 ` Andreas Leha
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.