emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marvin Doyley <marvinpas@gmail.com>
To: John Hendy <jw.hendy@gmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Problem with beamer export
Date: Sun, 6 Oct 2013 21:49:13 -0400	[thread overview]
Message-ID: <CB9B8460-3F86-4EE7-AB78-BFB90876227C@gmail.com> (raw)
In-Reply-To: <CA+M2ft9OY5NLBJUL6PsDfzt7uyurvAp8gnoO3bhTOx3rX=RdKQ@mail.gmail.com>

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.hendy@gmail.com> wrote:

> On Sun, Oct 6, 2013 at 8:31 PM, Marvin Doyley <marvinpas@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.
> 
> 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!
> 
> 
> John
> 
>> thanks
>> M
>> 
>> On Oct 6, 2013, at 9:23 PM, John Hendy <jw.hendy@gmail.com> wrote:
>> 
>>> On Sun, Oct 6, 2013 at 7:45 PM, Marvin Doyley <marvinpas@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>
>> 

  reply	other threads:[~2013-10-07  1:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-07  0:45 Problem with beamer export Marvin Doyley
2013-10-07  1:23 ` John Hendy
2013-10-07  1:31   ` Marvin Doyley
2013-10-07  1:36     ` John Hendy
2013-10-07  1:49       ` Marvin Doyley [this message]
2013-10-07  4:43         ` Marcin Borkowski
2013-10-07 18:39         ` Achim Gratz
  -- strict thread matches above, loose matches on Subject: below --
2013-10-08  2:35 Marvin Doyley
2013-10-08 17:06 ` Achim Gratz
2013-10-07  0:14 Marvin Doyley
2013-10-07 15:09 ` Nicolas Goaziou
2013-10-10  2:36   ` Ista Zahn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CB9B8460-3F86-4EE7-AB78-BFB90876227C@gmail.com \
    --to=marvinpas@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jw.hendy@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).