From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marvin Doyley Subject: Re: Problem with beamer export Date: Sun, 6 Oct 2013 21:49:13 -0400 Message-ID: References: <3630654D-6D57-484B-B9D6-5C0D5400BA17@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSzwk-0003Ab-59 for emacs-orgmode@gnu.org; Sun, 06 Oct 2013 21:49:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VSzwe-0001J6-Ue for emacs-orgmode@gnu.org; Sun, 06 Oct 2013 21:49:18 -0400 Received: from mail-qc0-x233.google.com ([2607:f8b0:400d:c01::233]:45842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VSzwe-0001J2-O6 for emacs-orgmode@gnu.org; Sun, 06 Oct 2013 21:49:12 -0400 Received: by mail-qc0-f179.google.com with SMTP id l4so4319460qcv.24 for ; Sun, 06 Oct 2013 18:49:12 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Hendy Cc: "emacs-orgmode@gnu.org" 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=20 '("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) =E2=9E=9C org-mode git:(master) On Oct 6, 2013, at 9:36 PM, John Hendy wrote: > On Sun, Oct 6, 2013 at 8:31 PM, Marvin Doyley = wrote: >> Hi John, >>=20 >> This is an interesting bug. When I use the stable version of org i.e. = 8.2.1 everything works as expected. >>=20 >> 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 >>=20 >=20 > 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? >=20 > 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. >=20 >> With regards to the split beamer theme this is included in beamer. I = am using texlive 2013 on the mac. >>=20 >=20 > 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. >=20 > Annnnddd... 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! >=20 >=20 > John >=20 >> thanks >> M >>=20 >> On Oct 6, 2013, at 9:23 PM, John Hendy wrote: >>=20 >>> On Sun, Oct 6, 2013 at 7:45 PM, Marvin Doyley = wrote: >>>> For more clarification >>>> Here is a simple test file >>>=20 >>> [snip] >>>=20 >>> 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. >>>=20 >>> I attached the result. >>>=20 >>> 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): >>>=20 >>> #+begin_src .emacs >>>=20 >>> (add-to-list 'org-latex-classes >>> '("beamer" >>> "\\documentclass\[presentation\]\{beamer\}" >>> ("\\section\{%s\}" . "\\section*\{%s\}") >>> ("\\subsection\{%s\}" . "\\subsection*\{%s\}") >>> ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}"))) >>>=20 >>> #+end_src >>>=20 >>> 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. >>>=20 >>>=20 >>> John >>> >>=20