emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <schulte.eric@gmail.com>
To: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: having problems exporting to Beamer
Date: Sat, 13 Apr 2013 17:12:56 -0600	[thread overview]
Message-ID: <87a9p2vxc7.fsf@gmail.com> (raw)

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

             reply	other threads:[~2013-04-13 23:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-13 23:12 Eric Schulte [this message]
2013-04-14  7:51 ` having problems exporting to Beamer 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

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=87a9p2vxc7.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).