From mboxrd@z Thu Jan 1 00:00:00 1970 From: Buck Brody Subject: Re: error when exporting to pdf Date: Thu, 22 Apr 2010 12:01:12 -0400 Message-ID: References: Reply-To: buckbrody@gmail.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1940189957==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4yuD-00037n-7t for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 12:05:33 -0400 Received: from [140.186.70.92] (port=50927 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4yqf-0001zg-V8 for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 12:05:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4yq6-0003vW-LB for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 12:01:20 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:42542) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4yq2-0003uk-QD for emacs-orgmode@gnu.org; Thu, 22 Apr 2010 12:01:18 -0400 Received: by vws4 with SMTP id 4so1911099vws.0 for ; Thu, 22 Apr 2010 09:01:12 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode --===============1940189957== Content-Type: multipart/alternative; boundary=001636c931b27821d70484d56b11 --001636c931b27821d70484d56b11 Content-Type: text/plain; charset=ISO-8859-1 Carsten, I'm not sure how to run pdflatex. I didn't mention earlier, but I run emacs on Windows. Buck On Wed, Apr 21, 2010 at 6:38 AM, Carsten Dominik wrote: > Hi Buck, > > In this process, Org-mode will produce a .tex file. Try running pdflatex > on the file "by hand", this will give you (and, if still necessary, us), > more information on what is going wrong. > > - Carsten > > > On Apr 21, 2010, at 2:22 AM, Buck Brody wrote: > > I am trying to export to PDF. I typed C-c C-e d. Which should be, >> "export as LaTeX and process to PDF and open PDF file". I received a >> message that said "PDF file was not produced". The org file I used was the >> one in the example http://orgmode.org/worg/org-tutorials/org-beamer.php. >> Version information and backtrace are below. Thanks for your help. >> >> Buck >> >> Versions: >> >> Emacs 22.3.1 >> >> Org-Mode 6.34c >> >> Backtrace: >> Debugger entered--Lisp error: (error "PDF file was not produced") >> signal(error ("PDF file was not produced")) >> error("PDF file was not produced") >> (if (not (file-exists-p pdffile)) (error "PDF file was not produced") >> (set-window-configuration wconfig) (when org-export-pdf-remove-logfiles >> (dolist ... ... ...)) (message "Exporting to PDF...done") pdffile) >> (let* ((wconfig ...) (lbuf ...) (file ...) (base ...) (pdffile ...) (cmds >> org-latex-to-pdf-process) (outbuf ...) (bibtex-p ...) cmd) >> (with-current-buffer outbuf (erase-buffer)) (message "Processing LaTeX >> file...") (if (and cmds ...) (funcall cmds file) (while cmds ... ... ... >> ...)) (message "Processing LaTeX file...done") (if (not ...) (error "PDF >> file was not produced") (set-window-configuration wconfig) (when >> org-export-pdf-remove-logfiles ...) (message "Exporting to PDF...done") >> pdffile)) >> org-export-as-pdf(nil) >> (let ((pdffile ...)) (if pdffile (org-open-file pdffile) (error "PDF file >> was not produced"))) >> org-export-as-pdf-and-open(nil) >> call-interactively(org-export-as-pdf-and-open) >> (if (and bg (nth 2 ass) (not ...) (not ...)) (let (...) >> (set-process-sentinel p ...) (message "Background process \"%s\": started" >> p)) (if subtree-p (progn ... ...)) (call-interactively (nth 1 ass)) (when >> (and bpos ...) (let ... ... ... ... ...))) >> (let* ((bg ...) subtree-p (help "[t] insert the export option >> template\n[v] limit export to visible part of outline tree\n[1] only >> export the current subtree\n[SPC] publish enclosing subtree (with >> LaTeX_CLASS or EXPORT_FILE_NAME prop)\n\n[a] export as ASCII [A] to >> temporary buffer\n\n[h] export as HTML [H] to temporary buffer [R] >> export region\n[b] export as HTML and open in browser\n\n[l] export as LaTeX >> [L] to temporary buffer\n[p] export as LaTeX and process to PDF >> [d] ... and open PDF file\n\n[D] export as DocBook [V] export as >> DocBook, process to PDF, and open\n\n[m] export as Freemind mind map\n[x] >> export as XOXO\n[g] export using Wes Hardaker's generic exporter\n\n[i] >> export current file as iCalendar file\n[I] export all agenda files as >> iCalendar files [c] ...as one combined file\n\n[F] publish current file >> [P] publish current project\n[X] publish a project... [E] >> publish every projects") (cmds ...) r1 r2 ass (cpos ...) (cbuf ...) bpos) >> (save-excursion (save-window-excursion ... ... ... ... ... ... ...)) (and >> bpos (goto-char bpos)) (setq r2 (if ... ... r1)) (unless (setq ass ...) >> (error "No command associated with key %c" r1)) (if (and bg ... ... ...) >> (let ... ... ...) (if subtree-p ...) (call-interactively ...) (when ... >> ...))) >> org-export(nil) >> call-interactively(org-export) >> _______________________________________________ >> Emacs-orgmode mailing list >> Please use `Reply All' to send replies to the list. >> Emacs-orgmode@gnu.org >> http://lists.gnu.org/mailman/listinfo/emacs-orgmode >> > > - Carsten > > > > --001636c931b27821d70484d56b11 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Carsten,

I'm not sure how to run pdflatex. =A0I didn= 't mention earlier, but I run emacs on Windows.

Buck

On Wed, Apr 21, 2010 at 6:38 AM, C= arsten Dominik <carsten.dominik@gmail.com> wrote:
Hi Buck,

In this process, Org-mode will produce a .tex file. =A0Try running pdflatex= on the file "by hand", this will give you (and, if still necessa= ry, us), more information on what is going wrong.

- Carsten


On Apr 21, 2010, at 2:22 AM, Buck Brody wrote:

I am trying to export to PDF. =A0I typed C-c C-e d. =A0Which should be, &qu= ot;export as LaTeX and process to PDF and open PDF file". =A0I receive= d a message that said "PDF file was not produced". =A0The org fil= e I used was the one in the example http://orgmode.org/worg/org-tut= orials/org-beamer.php. =A0Version information and backtrace are below. = =A0Thanks for your help.

Buck

Versions:

Emacs 22.3.1

Org-Mode 6.34c

Backtrace:
Debugger entered--Lisp error: (error "PDF file was not produced")=
=A0signal(error ("PDF file was not produced"))
=A0error("PDF file was not produced")
=A0(if (not (file-exists-p pdffile)) (error "PDF file was not produce= d") (set-window-configuration wconfig) (when org-export-pdf-remove-log= files (dolist ... ... ...)) (message "Exporting to PDF...done") p= dffile)
=A0(let* ((wconfig ...) (lbuf ...) (file ...) (base ...) (pdffile ...) (cm= ds org-latex-to-pdf-process) (outbuf ...) (bibtex-p ...) cmd) (with-current= -buffer outbuf (erase-buffer)) (message "Processing LaTeX file..."= ;) (if (and cmds ...) (funcall cmds file) (while cmds ... ... ... ...)) (me= ssage "Processing LaTeX file...done") (if (not ...) (error "= PDF file was not produced") (set-window-configuration wconfig) (when o= rg-export-pdf-remove-logfiles ...) (message "Exporting to PDF...done&q= uot;) pdffile))
=A0org-export-as-pdf(nil)
=A0(let ((pdffile ...)) (if pdffile (org-open-file pdffile) (error "P= DF file was not produced")))
=A0org-export-as-pdf-and-open(nil)
=A0call-interactively(org-export-as-pdf-and-open)
=A0(if (and bg (nth 2 ass) (not ...) (not ...)) (let (...) (set-process-se= ntinel p ...) (message "Background process \"%s\": started&q= uot; p)) (if subtree-p (progn ... ...)) (call-interactively (nth 1 ass)) (w= hen (and bpos ...) (let ... ... ... ... ...)))
=A0(let* ((bg ...) subtree-p (help "[t] =A0 insert the export option = template\n[v] =A0 limit export to visible part of outline tree\n[1] =A0 onl= y export the current subtree\n[SPC] publish enclosing subtree (with LaTeX_C= LASS or EXPORT_FILE_NAME prop)\n\n[a] export as ASCII =A0 =A0 [A] to tempor= ary buffer\n\n[h] export as HTML =A0 =A0 =A0[H] to temporary buffer =A0 [R]= export region\n[b] export as HTML and open in browser\n\n[l] export as LaT= eX =A0 =A0 [L] to temporary buffer\n[p] export as LaTeX and process to PDF = =A0 =A0 =A0 =A0 =A0 =A0[d] ... and open PDF file\n\n[D] export as DocBook = =A0 [V] export as DocBook, process to PDF, and open\n\n[m] export as Freemi= nd mind map\n[x] export as XOXO\n[g] export using Wes Hardaker's generi= c exporter\n\n[i] export current file as iCalendar file\n[I] export all age= nda files as iCalendar files =A0 [c] ...as one combined file\n\n[F] publish= current file =A0 =A0 =A0 =A0 =A0[P] publish current project\n[X] publish a= project... =A0 =A0 =A0 =A0 =A0[E] publish every projects") (cmds ...)= r1 r2 ass (cpos ...) (cbuf ...) bpos) (save-excursion (save-window-excursi= on ... ... ... ... ... ... ...)) (and bpos (goto-char bpos)) (setq r2 (if .= .. ... r1)) (unless (setq ass ...) (error "No command associated with = key %c" r1)) (if (and bg ... ... ...) (let ... ... ...) (if subtree-p = ...) (call-interactively ...) (when ... ...)))
=A0org-export(nil)
=A0call-interactively(org-export)
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gn= u.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten




--001636c931b27821d70484d56b11-- --===============1940189957== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1940189957==--