all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* having problems exporting to Beamer
@ 2013-04-13 23:12 Eric Schulte
  2013-04-14  7:51 ` Nicolas Goaziou
  0 siblings, 1 reply; 8+ messages in thread
From: Eric Schulte @ 2013-04-13 23:12 UTC (permalink / raw)
  To: Org Mode Mailing List

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 s
 ubtreep 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-04-15  0:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-13 23:12 having problems exporting to Beamer Eric Schulte
2013-04-14  7:51 ` Nicolas Goaziou
2013-04-14 17:08   ` Eric Schulte
2013-04-14 17:16     ` Nicolas Goaziou
2013-04-14 17:47       ` Eric Schulte
2013-04-14 19:15         ` Nicolas Goaziou
2013-04-15  0:27           ` Eric Schulte
2013-04-14 17:27     ` Nicolas Goaziou

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.