Re: [O] new exporter: exporting subtree as beamer
Nicolas Goaziou writes: > Hello, > > Andreas Leha 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
Re: [O] new exporter: exporting subtree as beamer
Hello, Andreas Leha 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
Re: [O] new exporter: exporting subtree as beamer
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
Re: [O] new exporter: exporting subtree as beamer
Hi Nicolas, > Andreas Leha 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
Re: [O] new exporter: exporting subtree as beamer
Andreas Leha 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,
Re: [O] new exporter: exporting subtree as beamer
Hi Nicolas, > Hello, > > Andreas Leha 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
Re: [O] new exporter: exporting subtree as beamer
Hello, Andreas Leha 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
[O] new exporter: exporting subtree as beamer
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