emacs-orgmode
[Top][All Lists]
Advanced

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

[O] having problems exporting to Beamer


From: Eric Schulte
Subject: [O] having problems exporting to Beamer
Date: Sat, 13 Apr 2013 17:12:56 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

When I attempt to export a .org file to Beamer (with "C-c C-e l b" after
requiring ox-beamer) I get the following error [1].  From the info page
(info "(org)Beamer export") it looks like I shouldn't have to do any
special buffer preparation.

What am I doing wrong?

Thanks,

Footnotes: 
[1]  
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  string-match("\\S-" nil)
  (not (string-match "\\S-" argument))
  (if (not (string-match "\\S-" argument)) "" (cond ((eql type (quote action)) 
(if (string-match "\\`<.*>\\'" argument) argument (format "<%s>" argument))) 
((eql type (quote defaction)) (cond ((string-match "\\`\\[<.*>\\]\\'" argument) 
argument) ((string-match "\\`<.*>\\'" argument) (format "[%s]" argument)) 
((string-match "\\`\\[\\(.*\\)\\]\\'" argument) (format "[<%s>]" (match-string 
1 argument))) (t (format "[<%s>]" argument)))) ((eql type (quote option)) (if 
(string-match "\\`\\[.*\\]\\'" argument) argument (format "[%s]" argument))) (t 
argument)))
  org-beamer--normalize-argument(nil option)
  (format "\\begin{frame}%s{%s}\n" (org-beamer--normalize-argument 
org-beamer-outline-frame-options (quote option)) org-beamer-outline-frame-title)
  (concat (format "\\begin{frame}%s{%s}\n" (org-beamer--normalize-argument 
org-beamer-outline-frame-options (quote option)) 
org-beamer-outline-frame-title) (if (wholenump depth) (progn (format 
"\\setcounter{tocdepth}{%d}\n" depth))) "\\tableofcontents\n" 
"\\end{frame}\n\n")
  (progn (concat (format "\\begin{frame}%s{%s}\n" 
(org-beamer--normalize-argument org-beamer-outline-frame-options (quote 
option)) org-beamer-outline-frame-title) (if (wholenump depth) (progn (format 
"\\setcounter{tocdepth}{%d}\n" depth))) "\\tableofcontents\n" 
"\\end{frame}\n\n"))
  (if depth (progn (concat (format "\\begin{frame}%s{%s}\n" 
(org-beamer--normalize-argument org-beamer-outline-frame-options (quote 
option)) org-beamer-outline-frame-title) (if (wholenump depth) (progn (format 
"\\setcounter{tocdepth}{%d}\n" depth))) "\\tableofcontents\n" 
"\\end{frame}\n\n")))
  (let ((depth (plist-get info :with-toc))) (if depth (progn (concat (format 
"\\begin{frame}%s{%s}\n" (org-beamer--normalize-argument 
org-beamer-outline-frame-options (quote option)) 
org-beamer-outline-frame-title) (if (wholenump depth) (progn (format 
"\\setcounter{tocdepth}{%d}\n" depth))) "\\tableofcontents\n" 
"\\end{frame}\n\n"))))
  [...]
  (if async (let ((with-temp-message "Initializing asynchronous export 
process") (current-message)) (unwind-protect (progn (if with-temp-message 
(progn (setq current-message (current-message)) (message "%s" 
with-temp-message))) (let ((--copy-fun (org-export--generate-copy-script ...)) 
(--temp-file (make-temp-file "org-export-process")) (--coding 
buffer-file-coding-system)) (let ((temp-file --temp-file) (temp-buffer ...)) 
(unwind-protect (prog1 ... ...) (and ... ...))) (let* ((process-connection-type 
nil) (--proc-buffer ...) (--process ...)) (org-export-add-to-stack (get-buffer 
--proc-buffer) nil --process) (set-process-sentinel --process (let ... ...))))) 
(and with-temp-message (if current-message (message "%s" current-message) 
(message nil))))) (org-export-to-file (quote beamer) outfile subtreep 
visible-only body-only ext-plist))
  (let ((outfile (org-export-output-file-name ".tex" subtreep))) (if async (let 
((with-temp-message "Initializing asynchronous export process") 
(current-message)) (unwind-protect (progn (if with-temp-message (progn (setq 
current-message ...) (message "%s" with-temp-message))) (let ((--copy-fun ...) 
(--temp-file ...) (--coding buffer-file-coding-system)) (let (... ...) 
(unwind-protect ... ...)) (let* (... ... ...) (org-export-add-to-stack ... nil 
--process) (set-process-sentinel --process ...)))) (and with-temp-message (if 
current-message (message "%s" current-message) (message nil))))) 
(org-export-to-file (quote beamer) outfile subtreep visible-only body-only 
ext-plist)))
  org-beamer-export-to-latex(nil nil nil nil nil)
  (org-latex-compile (org-beamer-export-to-latex nil subtreep visible-only 
body-only ext-plist))
  (if async (let ((outfile (org-export-output-file-name ".tex" subtreep))) (let 
((with-temp-message "Initializing asynchronous export process") 
(current-message)) (unwind-protect (progn (if with-temp-message (progn (setq 
current-message ...) (message "%s" with-temp-message))) (let ((--copy-fun ...) 
(--temp-file ...) (--coding buffer-file-coding-system)) (let (... ...) 
(unwind-protect ... ...)) (let* (... ... ...) (org-export-add-to-stack ... nil 
--process) (set-process-sentinel --process ...)))) (and with-temp-message (if 
current-message (message "%s" current-message) (message nil)))))) 
(org-latex-compile (org-beamer-export-to-latex nil subtreep visible-only 
body-only ext-plist)))
  org-beamer-export-to-pdf(nil nil nil nil)
  org-export-dispatch(nil)
  call-interactively(org-export-dispatch nil nil)

-- 
Eric Schulte
http://cs.unm.edu/~eschulte



reply via email to

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