Re: [O] Problem with beamer export
Any chance the fix can be pushed out to http://orgmode.org/elpa/? Thanks, Ista On Mon, Oct 7, 2013 at 11:09 AM, Nicolas Goaziou n.goaz...@gmail.comwrote: Hello, Marvin Doyley marvin...@gmail.com writes: I just updated to Org 8.2.1 and for some reason when I export a frame I get \subsection{Title} rather than \begin{frame}{Title} \end{frame} Is this a bug or am I doing something wrong ? This is a bug I introduced recently. It should now be fixed. Thank you for reporting it. Regards, -- Nicolas Goaziou
Re: [O] Problem with beamer export
Marvin Doyley writes: I still get some strange errors during completion. What are they? Here is the result of the make config-all = Emacs executable and Installation paths EMACS = emacs Any chance that this emacs (which relies on $PATH to be found) is actually a script that then calls the real Emacs? Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables
Re: [O] Problem with beamer export
Hello, Marvin Doyley marvin...@gmail.com writes: I just updated to Org 8.2.1 and for some reason when I export a frame I get \subsection{Title} rather than \begin{frame}{Title} \end{frame} Is this a bug or am I doing something wrong ? This is a bug I introduced recently. It should now be fixed. Thank you for reporting it. Regards, -- Nicolas Goaziou
Re: [O] Problem with beamer export
Marvin Doyley writes: In end of data: org.el:23923:1:Warning: the following functions are not known to be defined: characterp, activate-mark, mouse-set-point, with-demoted-errors, clear-image-cache, face-at-point, image-refresh, beginning-of-visual-line, invisible-p Wrote /Users/doyley/Dropbox/root/elisp/org-mode/lisp/org.elc Compiling /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-ascii.el... Wrote /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-ascii.elc Compiling /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-beamer.el... Wrote /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-beamer.elc Compiling /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-html.el... In org-html-table--table.el-table: ox-html.el:3183:27:Warning: kill-buffer called with 0 arguments, but requires 1 In end of data: ox-html.el:3441:1:Warning: the function `string-match-p' is not known to be defined. […] Something is seriously wrong with the Emacs you use for compilation or your setup. What is the result of make config-all? Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Factory and User Sound Singles for Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
Re: [O] Problem with beamer export
The problem is now solved. I downloaded the latest update and everything works like a charm. I still get some strange errors during completion. Here is the result of the make config-all = Emacs executable and Installation paths EMACS = emacs DESTDIR = ORGCM = dirall ORG_MAKE_DOC= info html pdf lispdir = /usr/share/emacs/site-lisp/org infodir = /usr/share/info datadir = /usr/share/emacs/etc/org testdir = /var/folders/70/h1dqf9dn3997jbfptpp2fxlmgn/T//tmp-orgtest = Additional files from contrib/lisp = Test configuration BTEST_PRE = BTEST_POST = BTEST_OB_LANGUAGES = awk C fortran maxima lilypond octave python sh perl BTEST_EXTRA = = Executables used by make CP = install -m 644 -p MKDIR = install -m 755 -d RM = rm -f RMR = rm -fr FIND= find SUDO= sudo PDFTEX = pdftex TEXI2PDF= texi2pdf --batch --clean --expand TEXI2HTML = makeinfo --html --number-sections MAKEINFO= makeinfo INSTALL_INFO= install-info = Commands used by make BATCH = emacs -batch -Q --eval '(setq vc-handled-backends nil)' BATCHL = emacs -batch -Q --eval '(setq vc-handled-backends nil)' --eval '(add-to-list '''load-path .)' ELC = emacs -batch -Q --eval '(setq vc-handled-backends nil)' --eval '(add-to-list '''load-path .)' --eval '(batch-byte-compile)' ELCDIR = emacs -batch -Q --eval '(setq vc-handled-backends nil)' --eval '(add-to-list '''load-path .)' --eval '(batch-byte-recompile-directory 0)' BTEST = emacs -batch -Q --eval '(setq vc-handled-backends nil)' --eval '(add-to-list '''load-path ./lisp)' --eval '(add-to-list '''load-path ./testing)' -l org-loaddefs.el -l testing/org-test.el --eval '(require '''ob-awk)' --eval '(require '''ob-C)' --eval '(require '''ob-fortran)' --eval '(require '''ob-maxima)' --eval '(require '''ob-lilypond)' --eval '(require '''ob-octave)' --eval '(require '''ob-python)' --eval '(require '''ob-sh)' --eval '(require '''ob-perl)' --eval '(setq org-confirm-babel-evaluate nil)' MAKE_LOCAL_MK = emacs -batch -Q --eval '(setq vc-handled-backends nil)' --eval '(add-to-list '''load-path ./lisp)' --eval '(load org-compat.el)' --eval '(load ../mk/org-fixup.el)' --eval '(org-make-local-mk)' MAKE_ORG_INSTALL= emacs -batch -Q --eval '(setq vc-handled-backends nil)' --eval '(add-to-list '''load-path .)' --eval '(load org-compat.el)' --eval '(load ../mk/org-fixup.el)' --eval '(org-make-org-loaddefs)' MAKE_ORG_VERSION= emacs -batch -Q --eval '(setq vc-handled-backends nil)' --eval '(add-to-list '''load-path .)' --eval '(load org-compat.el)' --eval '(load ../mk/org-fixup.el)' --eval '(org-make-org-version 8.2.1 release_8.2.1-80-g21b110 '/usr/share/emacs/etc/org')' = Org version make: Org-mode version 8.2.1 (release_8.2.1-80-g21b110 = /usr/share/emacs/site-lisp/org)
[O] Problem with beamer export
Hi there, I just updated to Org 8.2.1 and for some reason when I export a frame I get \subsection{Title} rather than \begin{frame}{Title} \end{frame} Is this a bug or am I doing something wrong ? In my .emacs file, I have (add-to-list 'org-latex-classes '(beamer \\makeatletter\\let\\ifGm@compatii\\relax\\makeatother \\documentclass\[t]{beamer\} (\\section\{%s\} . \\section*\{%s\}) (\\subsection\{%s\} . \\subsection*\{%s\}) (\\subsection\{%s\} . \\subsection*\{%s\}) )) Maybe, I missed something. Thanks M
Re: [O] Problem with beamer export
For more clarification Here is a simple test file #+STARTUP: beamer #+LATEX_CMD: xelatex #+LaTeX_CLASS: beamer #+TITLE: Testing #+LaTeX_CLASS_OPTIONS: [presentation] #+BEAMER_HEADER: \input{header_beamer} \date{} #+COLUMNS: %35ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Env Args) %4BEAMER_col(Col) %8BEAMER_OPT(opt) #+OPTIONS: H:2 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t :t #+EXPORT_EXCLUDE_TAGS: noexport * Intro ** Apples ** Pears - 1 - 2 - 3 ** Cars Ideally, Apples Cars should be two blank slide with just the frame titles, while slide Pears should have bullets 1, 2 3. This is what the file export to \makeatletter\let\ifGm@compatii\relax\makeatother \documentclass[presentation]{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{fixltx2e} \usepackage{graphicx} \usepackage{longtable} \usepackage{float} \usepackage{wrapfig} \usepackage{rotating} \usepackage[normalem]{ulem} \usepackage{amsmath} \usepackage{textcomp} \usepackage{marvosym} \usepackage{wasysym} \usepackage{amssymb} \usepackage{hyperref} \tolerance=1000 \input{header_beamer} \date{} \usetheme{default} \author{Marvin M. Doyley} \date{\today} \title{Testing} \hypersetup{ pdfkeywords={}, pdfsubject={}, pdfcreator={Emacs 24.3.1 (Org mode 8.2.1)}} \begin{document} \maketitle \section{Intro} \label{sec-1} \subsection{Apples} \label{sec-1-1} \subsection{Pears} \label{sec-1-2} \begin{itemize} \item 1 \item 2 \item 3 \end{itemize} \subsection{Cars} \label{sec-1-3} % Emacs 24.3.1 (Org mode 8.2.1) \end{document} Header_beamer.tex is \usetheme{split} \setbeamertemplate{footline}[split theme] %% Beamer style \setbeamerfont{frametitle}{family=\rmfamily,shape=\itshape} \setbeamercovered{invisible} \setbeamertemplate{itemize subitem}[circle] \setbeamertemplate{frametitle}[default][center] \setbeamertemplate{navigation symbols}{} \newcommand{\pdd}[2]{\frac{\partial {#1}}{\partial {#2}}} % partial derivative \newcommand{\ave}[1]{\left\langle#1\right\rangle} % average x \newcommand{\var}[1]{\sigma} % for variance \newcommand{\abs}[1]{\left|#1\right|} % modulus/absolute value \newcommand{\uv}[1]{\ensuremath{\mathbf{\hat{#1 % for unit vector \newcommand{\degree}{\ensuremath{^\circ}} % degree \renewcommand{\div}[1]{\gv{\nabla} \cdot #1} % for divergence \newcommand{\curl}[1]{\gv{\nabla} \times #1} % for curl \newcommand{\grad}[1]{\gv{\nabla} #1} % for gradient \newcommand{\integrate}[2]{\ensuremath{\int_{#1}^{#2}}} %Intregral with lower and upper limits \newcommand{\summation}[2]{\displaystyle{\sum_{#1}^{#2}}} \newcommand{\padd}[1]{\textcolor{blue}{#1}} \newcommand{\cvb}[1]{\left(#1\right)} % ( ) delimiters \newcommand{\clyb}[1]{\left\{#1\right\}} % { } delimiters \newcommand{\sqb}[1]{\left[#1\right]} % [ ] delimiters \newcommand{\sinc}{{\rm sinc}} \newcommand{\Image}[2]{\begin{figure}\includegraphics[scale=#1]{Img/#2}\end{figure}} % \newcommand{\cntr}[1]{\begin{center}#1\end{center}} \newcommand{\eqn}[1]{\begin{equation}#1\end{equation}} \author{Marvin Doyley \\ \copyright Copyright 2013} \institute{University of Rochester \\ Hajim School of Engineering and Applied Science}
Re: [O] Problem with beamer export
On Sun, Oct 6, 2013 at 7:45 PM, Marvin Doyley marvin...@gmail.com wrote: For more clarification Here is a simple test file [snip] I can't current reproduce. I don't use xelatex, so I did `tlmgr install xetex` and the same for `xetex-def`. I wasn't sure if Org would pick up to use xelatex or not, so I took your example, exported to PDF via `C-c C-e l P` (for LaTeX Beamer) and then opened a terminal and did `xelatex test.tex`, the file Org created from my test.org file containing your contents. I attached the result. Some observations: - I noticed your latex output has beamer using the split theme. Where is it picking that? - You have a line in your #+ headers: `#+BEAMER_HEADER: \input{header_beamer} \date{}`. I don't have that file so I'm not sure what it does. I just removed it. - Here is my .emacs Beamer setting (default from the Org 8.0 new Beamer Worg page): #+begin_src .emacs (add-to-list 'org-latex-classes '(beamer \\documentclass\[presentation\]\{beamer\} (\\section\{%s\} . \\section*\{%s\}) (\\subsection\{%s\} . \\subsection*\{%s\}) (\\subsubsection\{%s\} . \\subsubsection*\{%s\}))) #+end_src Again, see if the attached looks reasonable. Feel free to tell me how to more properly export via xelatex if you want someone to try and reproduce. I'm just not familiar with it at all, so I wasn't really sure bit gave it the 'ole college try. John test.pdf Description: Adobe PDF document
Re: [O] Problem with beamer export
Hi John, This is an interesting bug. When I use the stable version of org i.e. 8.2.1 everything works as expected. To use xelatex I included the following in my .emacs file (some code I picked up several years ago (setq org-latex-pdf-process (list xelatex -shell-escape -interaction nonstopmode -output-directory %o %f xelatex -shell-escape -interaction nonstopmode -output-directory %o %f )) ;; for multiple passes With regards to the split beamer theme this is included in beamer. I am using texlive 2013 on the mac. thanks M On Oct 6, 2013, at 9:23 PM, John Hendy jw.he...@gmail.com wrote: On Sun, Oct 6, 2013 at 7:45 PM, Marvin Doyley marvin...@gmail.com wrote: For more clarification Here is a simple test file [snip] I can't current reproduce. I don't use xelatex, so I did `tlmgr install xetex` and the same for `xetex-def`. I wasn't sure if Org would pick up to use xelatex or not, so I took your example, exported to PDF via `C-c C-e l P` (for LaTeX Beamer) and then opened a terminal and did `xelatex test.tex`, the file Org created from my test.org file containing your contents. I attached the result. Some observations: - I noticed your latex output has beamer using the split theme. Where is it picking that? - You have a line in your #+ headers: `#+BEAMER_HEADER: \input{header_beamer} \date{}`. I don't have that file so I'm not sure what it does. I just removed it. - Here is my .emacs Beamer setting (default from the Org 8.0 new Beamer Worg page): #+begin_src .emacs (add-to-list 'org-latex-classes '(beamer \\documentclass\[presentation\]\{beamer\} (\\section\{%s\} . \\section*\{%s\}) (\\subsection\{%s\} . \\subsection*\{%s\}) (\\subsubsection\{%s\} . \\subsubsection*\{%s\}))) #+end_src Again, see if the attached looks reasonable. Feel free to tell me how to more properly export via xelatex if you want someone to try and reproduce. I'm just not familiar with it at all, so I wasn't really sure bit gave it the 'ole college try. John test.pdf
Re: [O] Problem with beamer export
On Sun, Oct 6, 2013 at 8:31 PM, Marvin Doyley marvin...@gmail.com wrote: Hi John, This is an interesting bug. When I use the stable version of org i.e. 8.2.1 everything works as expected. To use xelatex I included the following in my .emacs file (some code I picked up several years ago (setq org-latex-pdf-process (list xelatex -shell-escape -interaction nonstopmode -output-directory %o %f xelatex -shell-escape -interaction nonstopmode -output-directory %o %f )) ;; for multiple passes Based on my process, is it sufficient to have not reproduced your commands? Or can I just use the command you typed above to give it another whirl from the raw .tex file? On that note: - Is this an issue of converting Org syntax - .tex syntax? OR... - Is this an issue of the .tex file - xelatex - .pdf? Re-thinking about your issue, it seems it's the former. In other words, if the .tex file doesn't have \frame, that's something wrong with Org - .tex, not to do with the engine, right? If so, I'd probably look at diagnosing your Beamer definition, but I don't know how to. With regards to the split beamer theme this is included in beamer. I am using texlive 2013 on the mac. Sorry... I was unclear. I'm aware of the various themes. What I *didn't* understand is why your output said it was *using* the split them. Addd... scrolled back up and just now caught that you included your beamer_header file that you included, which indeed says to use the split theme. Sorry about that! John thanks M On Oct 6, 2013, at 9:23 PM, John Hendy jw.he...@gmail.com wrote: On Sun, Oct 6, 2013 at 7:45 PM, Marvin Doyley marvin...@gmail.com wrote: For more clarification Here is a simple test file [snip] I can't current reproduce. I don't use xelatex, so I did `tlmgr install xetex` and the same for `xetex-def`. I wasn't sure if Org would pick up to use xelatex or not, so I took your example, exported to PDF via `C-c C-e l P` (for LaTeX Beamer) and then opened a terminal and did `xelatex test.tex`, the file Org created from my test.org file containing your contents. I attached the result. Some observations: - I noticed your latex output has beamer using the split theme. Where is it picking that? - You have a line in your #+ headers: `#+BEAMER_HEADER: \input{header_beamer} \date{}`. I don't have that file so I'm not sure what it does. I just removed it. - Here is my .emacs Beamer setting (default from the Org 8.0 new Beamer Worg page): #+begin_src .emacs (add-to-list 'org-latex-classes '(beamer \\documentclass\[presentation\]\{beamer\} (\\section\{%s\} . \\section*\{%s\}) (\\subsection\{%s\} . \\subsection*\{%s\}) (\\subsubsection\{%s\} . \\subsubsection*\{%s\}))) #+end_src Again, see if the attached looks reasonable. Feel free to tell me how to more properly export via xelatex if you want someone to try and reproduce. I'm just not familiar with it at all, so I wasn't really sure bit gave it the 'ole college try. John test.pdf
Re: [O] Problem with beamer export
Hmm, I have reverted to pdflatex and still get the error. I note that were some errors when I make all see below, could this be the issue ?? I have to prepare for a class tomorrow so I going to switch back to the stable version and try to debug some more tomorrow Here is my beamer definition (Very similar to users except the \makeatletter (add-to-list 'org-latex-classes '(beamer \\makeatletter\\let\\ifGm@compatii\\relax\\makeatother \\documentclass\[t]{beamer\} (\\section\{%s\} . \\section*\{%s\}) (\\subsection\{%s\} . \\subsection*\{%s\}) (\\subsection\{%s\} . \\subsection*\{%s\}) )) Thanks M In end of data: org.el:23923:1:Warning: the following functions are not known to be defined: characterp, activate-mark, mouse-set-point, with-demoted-errors, clear-image-cache, face-at-point, image-refresh, beginning-of-visual-line, invisible-p Wrote /Users/doyley/Dropbox/root/elisp/org-mode/lisp/org.elc Compiling /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-ascii.el... Wrote /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-ascii.elc Compiling /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-beamer.el... Wrote /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-beamer.elc Compiling /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-html.el... In org-html-table--table.el-table: ox-html.el:3183:27:Warning: kill-buffer called with 0 arguments, but requires 1 In end of data: ox-html.el:3441:1:Warning: the function `string-match-p' is not known to be defined. Wrote /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-html.elc Compiling /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-icalendar.el... In end of data: ox-icalendar.el:994:1:Warning: the function `apply-partially' is not known to be defined. Wrote /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-icalendar.elc Compiling /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-latex.el... Wrote /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-latex.elc Compiling /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-man.el... Wrote /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-man.elc Compiling /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-md.el... Wrote /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-md.elc Compiling /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-odt.el... In toplevel form: ox-odt.el:370:1:Error: Cannot open load file: rng-loc Compiling /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-org.el... Wrote /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-org.elc Compiling /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-publish.el... In end of data: ox-publish.el:1239:1:Warning: the function `string-match-p' is not known to be defined. Wrote /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-publish.elc Compiling /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-texinfo.el... In toplevel form: ox-texinfo.el:291:1:Warning: defcustom for `org-texinfo-def-table-markup' fails to specify containing group In end of data: ox-texinfo.el:1889:1:Warning: the function `string-match-p' is not known to be defined. Wrote /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox-texinfo.elc Compiling /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox.el... In end of data: ox.el:6255:1:Warning: the function `special-mode' is not known to be defined. Wrote /Users/doyley/Dropbox/root/elisp/org-mode/lisp/ox.elc Done (Total of 102 files compiled, 2 failed, 3 skipped) ➜ org-mode git:(master) On Oct 6, 2013, at 9:36 PM, John Hendy jw.he...@gmail.com wrote: On Sun, Oct 6, 2013 at 8:31 PM, Marvin Doyley marvin...@gmail.com wrote: Hi John, This is an interesting bug. When I use the stable version of org i.e. 8.2.1 everything works as expected. To use xelatex I included the following in my .emacs file (some code I picked up several years ago (setq org-latex-pdf-process (list xelatex -shell-escape -interaction nonstopmode -output-directory %o %f xelatex -shell-escape -interaction nonstopmode -output-directory %o %f )) ;; for multiple passes Based on my process, is it sufficient to have not reproduced your commands? Or can I just use the command you typed above to give it another whirl from the raw .tex file? On that note: - Is this an issue of converting Org syntax - .tex syntax? OR... - Is this an issue of the .tex file - xelatex - .pdf? Re-thinking about your issue, it seems it's the former. In other words, if the .tex file doesn't have \frame, that's something wrong with Org - .tex, not to do with the engine, right? If so, I'd probably look at diagnosing your Beamer definition, but I don't know how to. With regards to the split beamer theme this is included in beamer. I am using texlive 2013 on the mac. Sorry... I was unclear. I'm aware of the various themes. What I *didn't* understand is why your output said it was *using* the split them. Addd... scrolled back up and just now caught that you included your
Re: [O] Problem with beamer export
Dnia 2013-10-06, o godz. 21:49:13 Marvin Doyley marvin...@gmail.com napisał(a): Hmm, I have reverted to pdflatex and still get the error. I note that were some errors when I make all see below, could this be the issue ?? I have to prepare for a class tomorrow so I going to switch back to the stable version and try to debug some more tomorrow Know what you mean. BTW, I'm conducting a class today, and will use org-tree-slide;). Here is my beamer definition (Very similar to users except the \makeatletter (add-to-list 'org-latex-classes '(beamer \\makeatletter\\let\\ifGm@compatii\\relax\\makeatother \\documentclass\[t]{beamer\} (\\section\{%s\} . \\section*\{%s\}) (\\subsection\{%s\} . \\subsection*\{%s\}) (\\subsection\{%s\} . \\subsection*\{%s\}) )) Unrelated: I think you can safely delete the \makeatletter...\makeatother stuff: it was a workaround for some beamer/geometry incompatibility in TeXlive 2011 or so. If you have a newer TeX distro (and you should update your TeX distro at least once every two years - it's a matter of personal hygiene, you know;)), it's unnecessary. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University