Re: [Orgmode] error when exporting to pdf

2010-04-23 Thread Nick Dokos
Buck Brody buckbr...@gmail.com wrote:


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

How to run pdflatext is extremely dependent on what TeX system you have
installed. Also, how to run command-line programs differs if e.g. you have
cygwin installed. These are questions that only you can answer. In particular,
you *have* installed a TeX system on your machine, right?

In the meantime, how about sending the .tex file itself to the list? If
we can process it to pdf, then that indicts your TeX setup. If not, then
your orgmode setup might be at fault. The file itself should be in the
same directory that your .org file is (I think).

BTW, the reason that the backtrace is not useful in this case is that we know
exactly why emacs got an error: it tried to call an external program to do the
processing. IOW, seeing into the emacs processing (which is what the backtrace
shows) is not going to be useful: we need to see inside the tex-pdf
processing instead.

HTH,
Nick


  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,divbr/divdivI#39;m not sure how to run pdflatex. =A0I didn=
 #39;t mention earlier, but I run emacs on Windows./divdivbr/divdi=
 vBuckbrbrdiv class=3Dgmail_quoteOn Wed, Apr 21, 

Re: [Orgmode] error when exporting to pdf

2010-04-23 Thread Buck Brody
Nick,

I have pasted the tex file below.  Thanks for your help.

Buck

% Created 2010-04-23 Fri 12:11
\documentclass[presentation]{beamer}
\usetheme{Madrid}\usecolortheme{default}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{amssymb}
\usepackage{hyperref}


\title{Example Presentation}
\author{Carsten Dominik}
\date{23 April 2010}

\begin{document}

\maketitle

\begin{frame}
\frametitle{Outline}
\setcounter{tocdepth}{3}
\tableofcontents
\end{frame}


\section{This is the first structural section}
\label{sec-1}


\begin{frame}
\frametitle{Frame 1}
\framesubtitle{with a subtitle}
\label{sec-1.1}
\begin{columns}[t]
\begin{column}{0.5\textwidth}
\begin{block}{Thanks to Eric Fraga}
\label{sec-1.1.1}

for the first viable beamer setup in Org
\end{block}
\end{column}
\begin{column}{0.5\textwidth}
\begin{block}2-{Thanks to everyone else}
\label{sec-1.1.2}

for contributing to the discussion
\end{block}
\end{column}
\end{columns}
\end{frame}
\begin{frame}
\frametitle{Frame 2}
\framesubtitle{Like 1, but now with explicit columns}
\transblindsvertical[duration=1]
\label{sec-1.2}
\begin{columns} % columns
\label{sec-1.2.1}
\begin{column}{0.5\textwidth}
\label{sec-1.2.1.1}
\begin{block}{Thanks to Eric Fraga}
\label{sec-1.2.1.1.1}

  for the first viable beamer setup in Org
\end{block}
\end{column}
\begin{column}{0.5\textwidth}
\label{sec-1.2.1.2}
\begin{block}2-{Thanks to everyone else}
\label{sec-1.2.1.2.1}

  for contributing to the discussion
\end{block}
\end{column}
\end{columns}
\end{frame}
\begin{frame}
\frametitle{Frame 2}
\framesubtitle{where we will not use columns}
\label{sec-1.3}
\begin{itemize}

\item Request\\
\label{sec-1.3.1}%
Please test this stuff!
\end{itemize} % ends low level
\end{frame}

\end{document}

On Fri, Apr 23, 2010 at 11:00 AM, Nick Dokos nicholas.do...@hp.com wrote:

 Buck Brody buckbr...@gmail.com wrote:


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

 How to run pdflatext is extremely dependent on what TeX system you have
 installed. Also, how to run command-line programs differs if e.g. you have
 cygwin installed. These are questions that only you can answer. In
 particular,
 you *have* installed a TeX system on your machine, right?

 In the meantime, how about sending the .tex file itself to the list? If
 we can process it to pdf, then that indicts your TeX setup. If not, then
 your orgmode setup might be at fault. The file itself should be in the
 same directory that your .org file is (I think).

 BTW, the reason that the backtrace is not useful in this case is that we
 know
 exactly why emacs got an error: it tried to call an external program to do
 the
 processing. IOW, seeing into the emacs processing (which is what the
 backtrace
 shows) is not going to be useful: we need to see inside the tex-pdf
 processing instead.

 HTH,
 Nick


   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 

Re: [Orgmode] error when exporting to pdf

2010-04-23 Thread Mark Elston

Buck,

Once I installed beamer I was able to run pdflatex to produce the
presentation without error.  What do you get when you run either
latex or pdflatex?

Mark

On 4/23/2010 9:12 AM, Buck Brody wrote:

Nick,

I have pasted the tex file below.  Thanks for your help.

Buck

% Created 2010-04-23 Fri 12:11
\documentclass[presentation]{beamer}
\usetheme{Madrid}\usecolortheme{default}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{amssymb}
\usepackage{hyperref}


\title{Example Presentation}
\author{Carsten Dominik}
\date{23 April 2010}

\begin{document}

\maketitle

\begin{frame}
\frametitle{Outline}
\setcounter{tocdepth}{3}
\tableofcontents
\end{frame}


\section{This is the first structural section}
\label{sec-1}

\begin{frame}
\frametitle{Frame 1}
\framesubtitle{with a subtitle}
\label{sec-1.1}
\begin{columns}[t]
\begin{column}{0.5\textwidth}
\begin{block}{Thanks to Eric Fraga}
\label{sec-1.1.1}

 for the first viable beamer setup in Org
\end{block}
\end{column}
\begin{column}{0.5\textwidth}
\begin{block}2-{Thanks to everyone else}
\label{sec-1.1.2}

 for contributing to the discussion
\end{block}
\end{column}
\end{columns}
\end{frame}
\begin{frame}
\frametitle{Frame 2}
\framesubtitle{Like 1, but now with explicit columns}
\transblindsvertical[duration=1]
\label{sec-1.2}
\begin{columns} % columns
\label{sec-1.2.1}
\begin{column}{0.5\textwidth}
\label{sec-1.2.1.1}
\begin{block}{Thanks to Eric Fraga}
\label{sec-1.2.1.1.1}

   for the first viable beamer setup in Org
\end{block}
\end{column}
\begin{column}{0.5\textwidth}
\label{sec-1.2.1.2}
\begin{block}2-{Thanks to everyone else}
\label{sec-1.2.1.2.1}

   for contributing to the discussion
\end{block}
\end{column}
\end{columns}
\end{frame}
\begin{frame}
\frametitle{Frame 2}
\framesubtitle{where we will not use columns}
\label{sec-1.3}
\begin{itemize}

\item Request\\
\label{sec-1.3.1}%
Please test this stuff!
\end{itemize} % ends low level
\end{frame}

\end{document}




___
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


Re: [Orgmode] error when exporting to pdf

2010-04-23 Thread Nick Dokos
Buck Brody buckbr...@gmail.com wrote:


 I have pasted the tex file below.  Thanks for your help.
 

OK, I processed the tex file through pdflatex with no problems.
The pdf looks right too. So we can rule out org as the cause
of your problems and concentrate on your TeX setup. Since this
is off-topic for this list, you probably want to visit CTAN
(www.ctan.org) and figure out your options. But I'm sure that
if any questions come up, we'll do our best to answer them.

Nick


___
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


Re: [Orgmode] error when exporting to pdf

2010-04-22 Thread Buck Brody
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
carsten.domi...@gmail.comwrote:

 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




___
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


Re: [Orgmode] error when exporting to pdf

2010-04-22 Thread Sebastian Rose
Buck Brody buckbr...@gmail.com writes:
 Carsten,

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

Hi Buck,

did you install `texlive' or similar?

See: http://www.tug.org/texlive/

Download: http://www.tug.org/texlive/acquire-netinstall.html


HTH

   Sebastian


 Buck

 On Wed, Apr 21, 2010 at 6:38 AM, Carsten Dominik
 carsten.domi...@gmail.comwrote:

 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




 ___
 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

-- 
~~
Sebastian  Rose  Fachinformatiker / Anwendungsentwicklung
Viktoriastr. 22  Entwicklung von Anwendungen mit freien Werkzeugen
30451  Hannover  und Bibliotheken.

0173  83 93 417  sebastian_r...@gmx.de s.r...@emma-stil.de
~~


___
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


[Orgmode] error when exporting to pdf

2010-04-21 Thread Buck Brody
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


Re: [Orgmode] error when exporting to pdf

2010-04-21 Thread Carsten Dominik

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





___
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