From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dereje Tefera Subject: Re: org mode error "pdf wasn't produced" Date: Wed, 14 Mar 2018 11:39:31 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f4030435ba98fd2ce8056762dd27" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ewANt-00019m-CE for emacs-orgmode@gnu.org; Wed, 14 Mar 2018 13:40:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ewANp-0000KZ-Tj for emacs-orgmode@gnu.org; Wed, 14 Mar 2018 13:40:17 -0400 Received: from mail-ot0-x22a.google.com ([2607:f8b0:4003:c0f::22a]:38998) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ewANp-0000K8-Gn for emacs-orgmode@gnu.org; Wed, 14 Mar 2018 13:40:13 -0400 Received: by mail-ot0-x22a.google.com with SMTP id h8-v6so4094338oti.6 for ; Wed, 14 Mar 2018 10:40:13 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: John Hendy Cc: R Jain , "emacs-orgmode gnu.org" , John Kitchin --f4030435ba98fd2ce8056762dd27 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear John and R Jain, I have done all required installation for the Latex and it worked for a couple of times but it then crashes. This is the error message I am getting while trying to export to Latex PDF or Beamer. I really appreciate your cooperation but I completely if you are busy. Debugger entered--Lisp error: (error "File \"c:/Users/deret/Desktop/examp3.pdf\" wasn=E2=80=99t produced. See \"*Org = PDF LaTeX Output*\" for details") signal(error ("File \"c:/Users/deret/Desktop/examp3.pdf\" wasn=E2=80=99t produced. See \"*Org PDF LaTeX Output*\" for details")) error("File \"c:/Users/deret/Desktop/examp3.pdf\" wasn't produced. See \"*Org PDF LaTeX Output*\" for details") org-compile-file("examp3.tex" ("xelatex -shell-escape -interaction nonstopmode -output-directory %o %f" "xelatex -shell-escape -interaction nonstopmode -output-directory %o %f" "xelatex -shell-escape -interaction nonstopmode -output-directory %o %f") "pdf" "See \"*Org PDF LaTeX Output*\" for details" # ((66 . "\"bibtex\"") (76 . "\"pdflatex\""))) (let* ((compiler (or (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn ... ...) (and ... ...)))) "pdflatex")) (process (if (functionp org-latex-pdf-process) org-latex-pdf-process (mapcar (function (lambda (command) (replace-regexp-in-string "%\\(?:bib\\|la\\)tex\\>" ... command))) org-latex-pdf-process))) (spec (list (cons 66 (shell-quote-argument org-latex-bib-compiler)) (cons 76 (shell-quote-argument compiler)))) (log-buf-name "*Org PDF LaTeX Output*") (log-buf (and (not snippet) (get-buffer-create log-buf-name))) (outfile (org-compile-file texfile process "pdf" (format "See %S for details" log-buf-name) log-buf spec))) (if snippet nil (if org-latex-remove-logfiles (progn (mapc (function delete-file) (directory-files (file-name-directory outfile) t (concat (regexp-quote ...) "\\(?:\\.[0-9]+\\)?\\." (regexp-opt org-latex-logfiles-extensions)) t)))) (let ((warnings (org-latex--collect-warnings log-buf))) (message (concat "PDF file produced" (cond ((eq warnings ...) " with errors.") (warnings (concat " with warnings: " warnings)) (t ".")))))) outfile) org-latex-compile("examp3.tex") (closure ((outfile . "examp3.tex") (ext-plist) (body-only) (visible-only) (subtreep) (async) t) (file) (org-latex-compile file))("examp3.tex") funcall((closure ((outfile . "examp3.tex") (ext-plist) (body-only) (visible-only) (subtreep) (async) t) (file) (org-latex-compile file)) "examp3.tex") (and (functionp post-process) (funcall post-process file)) (or (and (functionp post-process) (funcall post-process file)) file) (let ((output (org-export-as backend subtreep visible-only body-only ext-plist))) (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (insert output) (let ((coding-system-for-write encoding)) (write-file file))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))) (if (and (org-export--copy-to-kill-ring-p) (org-string-nw-p output)) (progn (org-kill-new output))) (or (and (functionp post-process) (funcall post-process file)) file)) (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) (let (...) (set-process-sentinel --process ...))))) (and with-temp-message (if current-message (message "%s" current-message) (message nil))))) (let ((output (org-export-as backend subtreep visible-only body-only ext-plist))) (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (insert output) (let (...) (write-file file))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))) (if (and (org-export--copy-to-kill-ring-p) (org-string-nw-p output)) (progn (org-kill-new output))) (or (and (functionp post-process) (funcall post-process file)) file))) (let ((ext-plist (org-combine-plists (list (quote :output-file) file) ext-plist)) (encoding (or org-export-coding-system buffer-file-coding-system))) (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) (let ... ...)))) (and with-temp-message (if current-message (message "%s" current-message) (message nil))))) (let ((output (org-export-as backend subtreep visible-only body-only ext-plist))) (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (insert output) (let ... ...)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))) (if (and (org-export--copy-to-kill-ring-p) (org-string-nw-p output)) (progn (org-kill-new output))) (or (and (functionp post-process) (funcall post-process file)) file)))) (if (not (file-writable-p file)) (error "Output file not writable") (let ((ext-plist (org-combine-plists (list (quote :output-file) file) ext-plist)) (encoding (or org-export-coding-system buffer-file-coding-system))) (if async (let ((with-temp-message "Initializing asynchronous export process") (current-message)) (unwind-protect (progn (if with-temp-message (progn ... ...)) (let (... ... ...) (let ... ...) (let* ... ... ...))) (and with-temp-message (if current-message (message "%s" current-message) (message nil))))) (let ((output (org-export-as backend subtreep visible-only body-only ext-plist))) (let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn ... ...) (and ... ...)))) (if (and (org-export--copy-to-kill-ring-p) (org-string-nw-p output)) (progn (org-kill-new output))) (or (and (functionp post-process) (funcall post-process file)) file))))) org-export-to-file(latex "examp3.tex" nil nil nil nil nil (closure ((outfile . "examp3.tex") (ext-plist) (body-only) (visible-only) (subtreep) (async) t) (file) (org-latex-compile file))) (let ((outfile (org-export-output-file-name ".tex" subtreep))) (org-export-to-file (quote latex) outfile async subtreep visible-only body-only ext-plist (function (lambda (file) (org-latex-compile file))))) org-latex-export-to-pdf(nil nil nil nil) (org-open-file (org-latex-export-to-pdf nil s v b)) (if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-export-to-pdf nil s v b))) (lambda (a s v b) (if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-export-to-pdf nil s v b))))(nil nil nil nil) funcall((lambda (a s v b) (if a (org-latex-export-to-pdf t s v b) (org-open-file (org-latex-export-to-pdf nil s v b)))) nil nil nil nil) (save-excursion (if arg (progn (if (eq (marker-buffer org-export-dispatch-last-position) (org-base-buffer (current-buffer))) (goto-char org-export-dispatch-last-position) (move-marker org-export-dispatch-last-position nil)))) (funcall action (and (memq (quote async) optns) t) (and (memq (quote subtree) optns) t) (and (memq (quote visible) optns) t) (and (memq (quote body) optns) t))) (cond ((eql action (quote template)) (org-export-insert-default-template nil optns)) ((eql action (quote stack)) (org-export-stack)) ((eql action (quote publish-current-file)) (org-publish-current-file (memq (quote force) optns) (memq (quote async) optns))) ((eql action (quote publish-current-project)) (org-publish-current-project (memq (quote force) optns) (memq (quote async) optns))) ((eql action (quote publish-choose-project)) (org-publish (assoc (completing-read "Publish project: " org-publish-project-alist nil t) org-publish-project-alist) (memq (quote force) optns) (memq (quote async) optns))) ((eql action (quote publish-all)) (org-publish-all (memq (quote force) optns) (memq (quote async) optns))) (t (save-excursion (if arg (progn (if (eq (marker-buffer org-export-dispatch-last-position) (org-base-buffer ...)) (goto-char org-export-dispatch-last-position) (move-marker org-export-dispatch-last-position nil)))) (funcall action (and (memq (quote async) optns) t) (and (memq (quote subtree) optns) t) (and (memq (quote visible) optns) t) (and (memq (quote body) optns) t))))) (let* ((input (cond ((equal arg (quote (16))) (quote (stack))) ((and arg org-export-dispatch-last-action)) (t (let ((wconfig ...)) (unwind-protect (progn ...) (set-window-configuration wconfig)))))) (action (car input)) (optns (cdr input))) (if (memq (quote subtree) optns) nil (move-marker org-export-dispatch-last-position nil)) (cond ((eql action (quote template)) (org-export-insert-default-template nil optns)) ((eql action (quote stack)) (org-export-stack)) ((eql action (quote publish-current-file)) (org-publish-current-file (memq (quote force) optns) (memq (quote async) optns))) ((eql action (quote publish-current-project)) (org-publish-current-project (memq (quote force) optns) (memq (quote async) optns))) ((eql action (quote publish-choose-project)) (org-publish (assoc (completing-read "Publish project: " org-publish-project-alist nil t) org-publish-project-alist) (memq (quote force) optns) (memq (quote async) optns))) ((eql action (quote publish-all)) (org-publish-all (memq (quote force) optns) (memq (quote async) optns))) (t (save-excursion (if arg (progn (if (eq ... ...) (goto-char org-export-dispatch-last-position) (move-marker org-export-dispatch-last-position nil)))) (funcall action (and (memq (quote async) optns) t) (and (memq (quote subtree) optns) t) (and (memq (quote visible) optns) t) (and (memq (quote body) optns) t)))))) org-export-dispatch(nil) funcall-interactively(org-export-dispatch nil) call-interactively(org-export-dispatch nil nil) command-execute(org-export-dispatch) Regards Dereje On Tue, Mar 13, 2018 at 7:28 PM, John Hendy wrote: > Dejere, > > > Org-mode is not able to find your latex installation. That's the > problem, just as it says: it's trying to run the compilation command, > `pdflatex` and it can find no such thing. > > Either it's not installed, or it's not in your path. The more details > you can provide, the better. For starters 1) what latex variant is > installed and 2) is it in your path (and how do you know)? > > > Best regards, > John > > On Tue, Mar 13, 2018 at 7:29 PM, Dereje Tefera wrote= : > > > > Hi Prof. Kitchin and others, > > > > I am using Emacs-org-mode on a windows machine and launch the program > from the desktop shortcut. > > > > > > > > > > Regards > > > > Dereje > > > > > > > > On Tue, Mar 13, 2018 at 6:05 PM, John Kitchin > wrote: > >> > >> That means emacs is not finding pdflatex on your path. > >> > >> A little more information might help. > >> > >> 1. In a terminal, if you type: > >> > >> > which pdflatex > >> > >> to you get anything? > >> > >> 2. How do you launch emacs? If you are launching it from some icon, yo= u > might not be getting the same path environment as from a shell. > >> > >> John > >> > >> ----------------------------------- > >> Professor John Kitchin > >> Doherty Hall A207F > >> Department of Chemical Engineering > >> Carnegie Mellon University > >> Pittsburgh, PA 15213 > >> 412-268-7803 > >> @johnkitchin > >> http://kitchingroup.cheme.cmu.edu > >> > >> > >> On Tue, Mar 13, 2018 at 4:37 PM, Dereje Tefera > wrote: > >>> > >>> Hi Everyone, > >>> > >>> thank you very much for the response. > >>> > >>> Rishabh, yes i have check the link you mentioned. > >>> > >>> the error says "'pdflatex"' is not recognized as an internal or > external command, > >>> operable program or batch file." but i have that in my init.el file > configured. > >>> > >>> > >>> > >>> > >>> > >>> > >>> Regards > >>> > >>> Dereje > >>> > >>> > >>> > >>> On Tue, Mar 13, 2018 at 6:28 AM, R Jain wrote: > >>>> > >>>> Hi Dereje, > >>>> > >>>> Have you already looked at (8) from https://orgmode.org/worg/org- > tutorials/org-latex-export.html? > >>>> > >>>> --Rishabh > >>>> > >>>> On Mar 12 2018, at 5:40 pm, Dereje Tefera wrote= : > >>>>> > >>>>> Dear good team of Org-mode, > >>>>> > >>>>> I am using org-mode in the Emacs, but I have a problem exporting to > Latex, PDF. > >>>>> > >>>>> "I always have this message that says, PDF was not produced, when i > try to export to latex pdf. > >>>>> > >>>>> > >>>>> I can export to HTML or tet latex but not to pdf. > >>>>> > >>>>> > >>>>> Any help would be highly appreciated. > >>>>> > >>>>> > >>>>> Thank you for your time. > >>>>> > >>>>> > >>>>> > >>>>> Regards > >>>>> > >>>>> Dereje > >>>>> > >>>>> > >>> > >> > > > --f4030435ba98fd2ce8056762dd27 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear John and R Jain,

I have done all r= equired installation=C2=A0for the Latex and it worked for a couple of times= but it=C2=A0 then=C2=A0crashes. This is the error message I am getting whi= le trying to export to Latex PDF or Beamer. I really appreciate your=C2=A0c= ooperation but I completely if you are busy.


<= /div>
=C2=A0
Debugger entered--Lisp error: (error "= File \"c:/Users/deret/Desktop/examp3.pdf\" wasn=E2=80=99t produce= d.=C2=A0 See \"*Org PDF LaTeX Output*\" for details")
<= div>=C2=A0 signal(error ("File \"c:/Users/deret/Desktop/examp3.pd= f\" wasn=E2=80=99t produced.=C2=A0 See \"*Org PDF LaTeX Output*\&= quot; for details"))
=C2=A0 error("File \"c:/Users= /deret/Desktop/examp3.pdf\" wasn't produced.=C2=A0 See \"*Org= PDF LaTeX Output*\" for details")
=C2=A0 org-compile-f= ile("examp3.tex" ("xelatex -shell-escape -interaction nonsto= pmode -output-directory %o %f" "xelatex -shell-escape -interactio= n nonstopmode -output-directory %o %f" "xelatex -shell-escape -in= teraction nonstopmode -output-directory %o %f") "pdf" "= See \"*Org PDF LaTeX Output*\" for details" #<buffer *Org= PDF LaTeX Output*> ((66 . "\"bibtex\"") (76 . "= ;\"pdflatex\"")))
=C2=A0 (let* ((compiler (or (let= ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-bu= ffer (set-buffer temp-buffer) (unwind-protect (progn ... ...) (and ... ...)= ))) "pdflatex")) (process (if (functionp org-latex-pdf-process) o= rg-latex-pdf-process (mapcar (function (lambda (command) (replace-regexp-in= -string "%\\(?:bib\\|la\\)tex\\>" ... command))) org-latex-pdf= -process))) (spec (list (cons 66 (shell-quote-argument org-latex-bib-compil= er)) (cons 76 (shell-quote-argument compiler)))) (log-buf-name "*Org P= DF LaTeX Output*") (log-buf (and (not snippet) (get-buffer-create log-= buf-name))) (outfile (org-compile-file texfile process "pdf" (for= mat "See %S for details" log-buf-name) log-buf spec))) (if snippe= t nil (if org-latex-remove-logfiles (progn (mapc (function delete-file) (di= rectory-files (file-name-directory outfile) t (concat (regexp-quote ...) &q= uot;\\(?:\\.[0-9]+\\)?\\." (regexp-opt org-latex-logfiles-extensions))= t)))) (let ((warnings (org-latex--collect-warnings log-buf))) (message (co= ncat "PDF file produced" (cond ((eq warnings ...) " with err= ors.") (warnings (concat " with warnings: " warnings)) (t &q= uot;.")))))) outfile)
=C2=A0 org-latex-compile("examp3.= tex")
=C2=A0 (closure ((outfile . "examp3.tex") (e= xt-plist) (body-only) (visible-only) (subtreep) (async) t) (file) (org-late= x-compile file))("examp3.tex")
=C2=A0 funcall((closure = ((outfile . "examp3.tex") (ext-plist) (body-only) (visible-only) = (subtreep) (async) t) (file) (org-latex-compile file)) "examp3.tex&quo= t;)
=C2=A0 (and (functionp post-process) (funcall post-process fi= le))
=C2=A0 (or (and (functionp post-process) (funcall post-proce= ss file)) file)
=C2=A0 (let ((output (org-export-as backend subtr= eep visible-only body-only ext-plist))) (let ((temp-buffer (generate-new-bu= ffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (= unwind-protect (progn (insert output) (let ((coding-system-for-write encodi= ng)) (write-file file))) (and (buffer-name temp-buffer) (kill-buffer temp-b= uffer))))) (if (and (org-export--copy-to-kill-ring-p) (org-string-nw-p outp= ut)) (progn (org-kill-new output))) (or (and (functionp post-process) (func= all post-process file)) file))
=C2=A0 (if async (let ((with-temp-= message "Initializing asynchronous export process") (current-mess= age)) (unwind-protect (progn (if with-temp-message (progn (setq current-mes= sage (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) (let (...) (set-process-sentinel --process ...))))) (and wit= h-temp-message (if current-message (message "%s" current-message)= (message nil))))) (let ((output (org-export-as backend subtreep visible-on= ly body-only ext-plist))) (let ((temp-buffer (generate-new-buffer " *t= emp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect= (progn (insert output) (let (...) (write-file file))) (and (buffer-name te= mp-buffer) (kill-buffer temp-buffer))))) (if (and (org-export--copy-to-kill= -ring-p) (org-string-nw-p output)) (progn (org-kill-new output))) (or (and = (functionp post-process) (funcall post-process file)) file)))
=C2= =A0 (let ((ext-plist (org-combine-plists (list (quote :output-file) file) e= xt-plist)) (encoding (or org-export-coding-system buffer-file-coding-system= ))) (if async (let ((with-temp-message "Initializing asynchronous expo= rt process") (current-message)) (unwind-protect (progn (if with-temp-m= essage (progn (setq current-message ...) (message "%s" with-temp-= message))) (let ((--copy-fun ...) (--temp-file ...) (--coding buffer-file-c= oding-system)) (let (... ...) (unwind-protect ... ...)) (let* (... ... ...)= (org-export-add-to-stack ... nil --process) (let ... ...)))) (and with-tem= p-message (if current-message (message "%s" current-message) (mes= sage nil))))) (let ((output (org-export-as backend subtreep visible-only bo= dy-only ext-plist))) (let ((temp-buffer (generate-new-buffer " *temp*&= quot;))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (pro= gn (insert output) (let ... ...)) (and (buffer-name temp-buffer) (kill-buff= er temp-buffer))))) (if (and (org-export--copy-to-kill-ring-p) (org-string-= nw-p output)) (progn (org-kill-new output))) (or (and (functionp post-proce= ss) (funcall post-process file)) file))))
=C2=A0 (if (not (file-w= ritable-p file)) (error "Output file not writable") (let ((ext-pl= ist (org-combine-plists (list (quote :output-file) file) ext-plist)) (encod= ing (or org-export-coding-system buffer-file-coding-system))) (if async (le= t ((with-temp-message "Initializing asynchronous export process")= (current-message)) (unwind-protect (progn (if with-temp-message (progn ...= ...)) (let (... ... ...) (let ... ...) (let* ... ... ...))) (and with-temp= -message (if current-message (message "%s" current-message) (mess= age nil))))) (let ((output (org-export-as backend subtreep visible-only bod= y-only ext-plist))) (let ((temp-buffer (generate-new-buffer " *temp*&q= uot;))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (prog= n ... ...) (and ... ...)))) (if (and (org-export--copy-to-kill-ring-p) (org= -string-nw-p output)) (progn (org-kill-new output))) (or (and (functionp po= st-process) (funcall post-process file)) file)))))
=C2=A0 org-exp= ort-to-file(latex "examp3.tex" nil nil nil nil nil (closure ((out= file . "examp3.tex") (ext-plist) (body-only) (visible-only) (subt= reep) (async) t) (file) (org-latex-compile file)))
=C2=A0 (let ((= outfile (org-export-output-file-name ".tex" subtreep))) (org-expo= rt-to-file (quote latex) outfile async subtreep visible-only body-only ext-= plist (function (lambda (file) (org-latex-compile file)))))
=C2= =A0 org-latex-export-to-pdf(nil nil nil nil)
=C2=A0 (org-open-fil= e (org-latex-export-to-pdf nil s v b))
=C2=A0 (if a (org-latex-ex= port-to-pdf t s v b) (org-open-file (org-latex-export-to-pdf nil s v b)))
=C2=A0 (lambda (a s v b) (if a (org-latex-export-to-pdf t s v b) (= org-open-file (org-latex-export-to-pdf nil s v b))))(nil nil nil nil)
=
=C2=A0 funcall((lambda (a s v b) (if a (org-latex-export-to-pdf t s v = b) (org-open-file (org-latex-export-to-pdf nil s v b)))) nil nil nil nil)
=C2=A0 (save-excursion (if arg (progn (if (eq (marker-buffer org-e= xport-dispatch-last-position) (org-base-buffer (current-buffer))) (goto-cha= r org-export-dispatch-last-position) (move-marker org-export-dispatch-last-= position nil)))) (funcall action (and (memq (quote async) optns) t) (and (m= emq (quote subtree) optns) t) (and (memq (quote visible) optns) t) (and (me= mq (quote body) optns) t)))
=C2=A0 (cond ((eql action (quote temp= late)) (org-export-insert-default-template nil optns)) ((eql action (quote = stack)) (org-export-stack)) ((eql action (quote publish-current-file)) (org= -publish-current-file (memq (quote force) optns) (memq (quote async) optns)= )) ((eql action (quote publish-current-project)) (org-publish-current-proje= ct (memq (quote force) optns) (memq (quote async) optns))) ((eql action (qu= ote publish-choose-project)) (org-publish (assoc (completing-read "Pub= lish project: " org-publish-project-alist nil t) org-publish-project-a= list) (memq (quote force) optns) (memq (quote async) optns))) ((eql action = (quote publish-all)) (org-publish-all (memq (quote force) optns) (memq (quo= te async) optns))) (t (save-excursion (if arg (progn (if (eq (marker-buffer= org-export-dispatch-last-position) (org-base-buffer ...)) (goto-char org-e= xport-dispatch-last-position) (move-marker org-export-dispatch-last-positio= n nil)))) (funcall action (and (memq (quote async) optns) t) (and (memq (qu= ote subtree) optns) t) (and (memq (quote visible) optns) t) (and (memq (quo= te body) optns) t)))))
=C2=A0 (let* ((input (cond ((equal arg (qu= ote (16))) (quote (stack))) ((and arg org-export-dispatch-last-action)) (t = (let ((wconfig ...)) (unwind-protect (progn ...) (set-window-configuration = wconfig)))))) (action (car input)) (optns (cdr input))) (if (memq (quote su= btree) optns) nil (move-marker org-export-dispatch-last-position nil)) (con= d ((eql action (quote template)) (org-export-insert-default-template nil op= tns)) ((eql action (quote stack)) (org-export-stack)) ((eql action (quote p= ublish-current-file)) (org-publish-current-file (memq (quote force) optns) = (memq (quote async) optns))) ((eql action (quote publish-current-project)) = (org-publish-current-project (memq (quote force) optns) (memq (quote async)= optns))) ((eql action (quote publish-choose-project)) (org-publish (assoc = (completing-read "Publish project: " org-publish-project-alist ni= l t) org-publish-project-alist) (memq (quote force) optns) (memq (quote asy= nc) optns))) ((eql action (quote publish-all)) (org-publish-all (memq (quot= e force) optns) (memq (quote async) optns))) (t (save-excursion (if arg (pr= ogn (if (eq ... ...) (goto-char org-export-dispatch-last-position) (move-ma= rker org-export-dispatch-last-position nil)))) (funcall action (and (memq (= quote async) optns) t) (and (memq (quote subtree) optns) t) (and (memq (quo= te visible) optns) t) (and (memq (quote body) optns) t))))))
=C2= =A0 org-export-dispatch(nil)
=C2=A0 funcall-interactively(org-exp= ort-dispatch nil)
=C2=A0 call-interactively(org-export-dispatch n= il nil)
=C2=A0 command-execute(org-export-dispatch)




Regards

Dereje



On Tue, Mar 13, 2018 at 7:28 PM, John Hendy = <jw.hendy@gmail.com> wrote:
Dejere,


Org-mode is not able to find your latex installation. That's the
problem, just as it says: it's trying to run the compilation command, `pdflatex` and it can find no such thing.

Either it's not installed, or it's not in your path. The more detai= ls
you can provide, the better. For starters 1) what latex variant is
installed and 2) is it in your path (and how do you know)?


Best regards,
John

On Tue, Mar 13, 2018 at 7:29 PM, Dereje Tefera <tefera@ualberta.ca> wrote:
>
> Hi Prof. Kitchin and others,
>
> I am using Emacs-org-mode on a windows machine and launch the program = from the desktop shortcut.
>
>
>
>
> Regards
>
> Dereje
>
>
>
> On Tue, Mar 13, 2018 at 6:05 PM, John Kitchin <jkitchin@andrew.cmu.edu> wrote:
>>
>> That means emacs is not finding pdflatex on your path.
>>
>> A little more information might help.
>>
>> 1. In a terminal, if you type:
>>
>> > which pdflatex
>>
>> to you get anything?
>>
>> 2. How do you launch emacs? If you are launching it from some icon= , you might not be getting the same path environment as from a shell.
>>
>> John
>>
>> -----------------------------------
>> Professor John Kitchin
>> Doherty Hall A207F
>> Department of Chemical Engineering
>> Carnegie Mellon University
>> Pittsburgh, PA 15213
>> 412-268-7803
>> @johnkitchin
>>
http://kitchingroup.cheme.cmu.edu
>>
>>
>> On Tue, Mar 13, 2018 at 4:37 PM, Dereje Tefera <tefera@ualberta.ca> wrote:
>>>
>>> Hi Everyone,
>>>
>>> thank you very much for the response.
>>>
>>> Rishabh, yes i have check the link you mentioned.
>>>
>>> the error=C2=A0 says "'pdflatex"' is not rec= ognized as an internal or external command,
>>> operable program or batch file." but i have that in my in= it.el file configured.
>>>
>>>
>>>
>>>
>>>
>>>
>>> Regards
>>>
>>> Dereje
>>>
>>>
>>>
>>> On Tue, Mar 13, 2018 at 6:28 AM, R Jain <rjain.ece@gmail.com> wrote:
>>>>
>>>> Hi Dereje,
>>>>
>>>> Have you already looked at (8) from https://orgmode.org/worg/org-tutorials/org-latex-export.<= wbr>html?
>>>>
>>>> --Rishabh
>>>>
>>>> On Mar= 12 2018, at 5:40 pm, Dereje Tefera <tefera@ualberta.ca> wrote:
>>>>>
>>>>> Dear good team of Org-mode,
>>>>>
>>>>> I am using org-mode in the Emacs, but I have a problem= exporting to Latex,=C2=A0 PDF.
>>>>>
>>>>> "I always have this message that says, PDF was no= t produced, when i try to export to latex pdf.
>>>>>
>>>>>
>>>>> I can export to HTML or tet latex but not to pdf.
>>>>>
>>>>>
>>>>> Any help would be highly appreciated.
>>>>>
>>>>>
>>>>> Thank you for your time.
>>>>>
>>>>>
>>>>>
>>>>> Regards
>>>>>
>>>>> Dereje
>>>>>
>>>>>
>>>
>>
>

--f4030435ba98fd2ce8056762dd27--