emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Problem with beamer export


From: Marvin Doyley
Subject: Re: [O] Problem with beamer export
Date: Sun, 6 Oct 2013 21:49:13 -0400

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"
"
address@hidden
\\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 <address@hidden> wrote:

> On Sun, Oct 6, 2013 at 8:31 PM, Marvin Doyley <address@hidden> 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 <address@hidden> wrote:
>> 
>>> On Sun, Oct 6, 2013 at 7:45 PM, Marvin Doyley <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]