* org mode error "pdf wasn't produced" @ 2018-03-12 21:40 Dereje Tefera 2018-03-13 12:28 ` Eric S Fraga 2018-03-13 12:28 ` R Jain 0 siblings, 2 replies; 15+ messages in thread From: Dereje Tefera @ 2018-03-12 21:40 UTC (permalink / raw) To: emacs-orgmode [-- Attachment #1: Type: text/plain, Size: 344 bytes --] 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 [-- Attachment #2: Type: text/html, Size: 1073 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: org mode error "pdf wasn't produced" 2018-03-12 21:40 org mode error "pdf wasn't produced" Dereje Tefera @ 2018-03-13 12:28 ` Eric S Fraga 2018-03-13 12:28 ` R Jain 1 sibling, 0 replies; 15+ messages in thread From: Eric S Fraga @ 2018-03-13 12:28 UTC (permalink / raw) To: Dereje Tefera; +Cc: emacs-orgmode [-- Attachment #1: Type: text/plain, Size: 421 bytes --] On Monday, 12 Mar 2018 at 15:40, Dereje Tefera wrote: > I can export to HTML or tet latex but not to pdf. > Any help would be highly appreciated. Switch to the buffer "*Org PDF LaTeX Output*" and scroll through it to see what errors LaTeX generated in trying to generate the PDF. You could also have a look at the LaTeX file created by org. -- Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-191-g90607d [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 194 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: org mode error "pdf wasn't produced" 2018-03-12 21:40 org mode error "pdf wasn't produced" Dereje Tefera 2018-03-13 12:28 ` Eric S Fraga @ 2018-03-13 12:28 ` R Jain 2018-03-13 23:37 ` Dereje Tefera 1 sibling, 1 reply; 15+ messages in thread From: R Jain @ 2018-03-13 12:28 UTC (permalink / raw) To: Dereje Tefera; +Cc: emacs-orgmode gnu.org [-- Attachment #1: Type: text/html, Size: 1813 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: org mode error "pdf wasn't produced" 2018-03-13 12:28 ` R Jain @ 2018-03-13 23:37 ` Dereje Tefera 2018-03-14 0:05 ` John Kitchin 0 siblings, 1 reply; 15+ messages in thread From: Dereje Tefera @ 2018-03-13 23:37 UTC (permalink / raw) To: R Jain; +Cc: emacs-orgmode gnu.org [-- Attachment #1: Type: text/plain, Size: 978 bytes --] 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 <rjain.ece@gmail.com> 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 <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, 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 >> >> >> [-- Attachment #2: Type: text/html, Size: 3354 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: org mode error "pdf wasn't produced" 2018-03-13 23:37 ` Dereje Tefera @ 2018-03-14 0:05 ` John Kitchin 2018-03-14 0:29 ` Dereje Tefera 0 siblings, 1 reply; 15+ messages in thread From: John Kitchin @ 2018-03-14 0:05 UTC (permalink / raw) To: Dereje Tefera; +Cc: emacs-orgmode gnu.org, R Jain [-- Attachment #1: Type: text/plain, Size: 1657 bytes --] 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 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 <rjain.ece@gmail.com> 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 <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, 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 >>> >>> >>> > [-- Attachment #2: Type: text/html, Size: 4777 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: org mode error "pdf wasn't produced" 2018-03-14 0:05 ` John Kitchin @ 2018-03-14 0:29 ` Dereje Tefera 2018-03-14 1:28 ` John Hendy 0 siblings, 1 reply; 15+ messages in thread From: Dereje Tefera @ 2018-03-14 0:29 UTC (permalink / raw) To: John Kitchin; +Cc: emacs-orgmode gnu.org, R Jain [-- Attachment #1: Type: text/plain, Size: 2013 bytes --] 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 <(412)%20268-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 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 <rjain.ece@gmail.com> 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 <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, 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 >>>> >>>> >>>> >> > [-- Attachment #2: Type: text/html, Size: 6127 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: org mode error "pdf wasn't produced" 2018-03-14 0:29 ` Dereje Tefera @ 2018-03-14 1:28 ` John Hendy 2018-03-14 1:29 ` John Hendy 2018-03-14 17:39 ` Dereje Tefera 0 siblings, 2 replies; 15+ messages in thread From: John Hendy @ 2018-03-14 1:28 UTC (permalink / raw) To: Dereje Tefera; +Cc: R Jain, emacs-orgmode gnu.org, John Kitchin 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 <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 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 <rjain.ece@gmail.com> 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 <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, 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 >>>>> >>>>> >>> >> > ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: org mode error "pdf wasn't produced" 2018-03-14 1:28 ` John Hendy @ 2018-03-14 1:29 ` John Hendy 2018-03-14 17:39 ` Dereje Tefera 1 sibling, 0 replies; 15+ messages in thread From: John Hendy @ 2018-03-14 1:29 UTC (permalink / raw) To: Dereje Tefera; +Cc: R Jain, emacs-orgmode gnu.org, John Kitchin Oops. Sincere apologies for misspelling your name, Dereje! I misread in my hasty skim. John On Tue, Mar 13, 2018 at 8: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 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 ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: org mode error "pdf wasn't produced" 2018-03-14 1:28 ` John Hendy 2018-03-14 1:29 ` John Hendy @ 2018-03-14 17:39 ` Dereje Tefera 2018-03-14 18:28 ` Eric S Fraga 1 sibling, 1 reply; 15+ messages in thread From: Dereje Tefera @ 2018-03-14 17:39 UTC (permalink / raw) To: John Hendy; +Cc: R Jain, emacs-orgmode gnu.org, John Kitchin [-- Attachment #1: Type: text/plain, Size: 13545 bytes --] 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’t produced. See \"*Org PDF LaTeX Output*\" for details") signal(error ("File \"c:/Users/deret/Desktop/examp3.pdf\" wasn’t 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" #<buffer *Org PDF LaTeX Output*> ((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 <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 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 <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 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 <rjain.ece@gmail.com> 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 <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, 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 > >>>>> > >>>>> > >>> > >> > > > [-- Attachment #2: Type: text/html, Size: 16859 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: org mode error "pdf wasn't produced" 2018-03-14 17:39 ` Dereje Tefera @ 2018-03-14 18:28 ` Eric S Fraga 2018-03-14 19:24 ` Dereje Tefera 0 siblings, 1 reply; 15+ messages in thread From: Eric S Fraga @ 2018-03-14 18:28 UTC (permalink / raw) To: Dereje Tefera; +Cc: John Kitchin, emacs-orgmode gnu.org, R Jain [-- Attachment #1: Type: text/plain, Size: 830 bytes --] On Wednesday, 14 Mar 2018 at 11:39, Dereje Tefera wrote: > 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. So, it looks like LaTeX is now being found but that there are errors in the LaTeX created by org. Have you looked at the LaTeX output buffer, as the error message suggests? > Debugger entered--Lisp error: (error "File > \"c:/Users/deret/Desktop/examp3.pdf\" wasn’t produced. See \"*Org PDF LaTeX Output*\" for details") The error will likely be near the end of the buffer. -- Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-303-g6cf5fc.dirty [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 194 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: org mode error "pdf wasn't produced" 2018-03-14 18:28 ` Eric S Fraga @ 2018-03-14 19:24 ` Dereje Tefera 2018-03-14 19:33 ` John Kitchin 2018-03-15 15:06 ` R Jain 0 siblings, 2 replies; 15+ messages in thread From: Dereje Tefera @ 2018-03-14 19:24 UTC (permalink / raw) To: Dereje Tefera, John Hendy, R Jain, emacs-orgmode gnu.org, John Kitchin [-- Attachment #1: Type: text/plain, Size: 1322 bytes --] I saw that there is one error: "! Package minted Error: You must have `pygmentize' installed to use this package." but when I try to install from the package list says no match. and a warning: "Package inputenc Warning: inputenc package ignored with utf8 based engines." Do you think it would be better to reinstall emacs? Regards Dereje On Wed, Mar 14, 2018 at 12:28 PM, Eric S Fraga <esflists@gmail.com> wrote: > On Wednesday, 14 Mar 2018 at 11:39, Dereje Tefera wrote: > > 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. > > So, it looks like LaTeX is now being found but that there are errors in > the LaTeX created by org. Have you looked at the LaTeX output buffer, > as the error message suggests? > > > Debugger entered--Lisp error: (error "File > > \"c:/Users/deret/Desktop/examp3.pdf\" wasn’t produced. See \"*Org PDF > LaTeX Output*\" for details") > > The error will likely be near the end of the buffer. > > -- > Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-303-g6cf5fc.dirty > [-- Attachment #2: Type: text/html, Size: 2454 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: org mode error "pdf wasn't produced" 2018-03-14 19:24 ` Dereje Tefera @ 2018-03-14 19:33 ` John Kitchin 2018-03-15 15:06 ` R Jain 1 sibling, 0 replies; 15+ messages in thread From: John Kitchin @ 2018-03-14 19:33 UTC (permalink / raw) To: Dereje Tefera; +Cc: emacs-orgmode gnu.org, R Jain [-- Attachment #1: Type: text/plain, Size: 1904 bytes --] that probably means run: pip install pygments at a command line, assuming you have a working Python installation. If not, you can either get one, or don't use minted for syntax highlighting. 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 Wed, Mar 14, 2018 at 12:24 PM, Dereje Tefera <tefera@ualberta.ca> wrote: > I saw that there is one error: > > "! Package minted Error: You must have `pygmentize' installed to use this > package." but when I try to install from the package list says no match. > and a warning: > > "Package inputenc Warning: inputenc package ignored with utf8 based > engines." > > > > Do you think it would be better to reinstall emacs? > > > Regards > > Dereje > > > > On Wed, Mar 14, 2018 at 12:28 PM, Eric S Fraga <esflists@gmail.com> wrote: > >> On Wednesday, 14 Mar 2018 at 11:39, Dereje Tefera wrote: >> > 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. >> >> So, it looks like LaTeX is now being found but that there are errors in >> the LaTeX created by org. Have you looked at the LaTeX output buffer, >> as the error message suggests? >> >> > Debugger entered--Lisp error: (error "File >> > \"c:/Users/deret/Desktop/examp3.pdf\" wasn’t produced. See \"*Org PDF >> LaTeX Output*\" for details") >> >> The error will likely be near the end of the buffer. >> >> -- >> Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-303-g6cf5fc.dirty >> > > [-- Attachment #2: Type: text/html, Size: 3648 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: org mode error "pdf wasn't produced" 2018-03-14 19:24 ` Dereje Tefera 2018-03-14 19:33 ` John Kitchin @ 2018-03-15 15:06 ` R Jain 2018-03-15 16:09 ` John Hendy 1 sibling, 1 reply; 15+ messages in thread From: R Jain @ 2018-03-15 15:06 UTC (permalink / raw) To: Dereje Tefera; +Cc: emacs-orgmode gnu.org [-- Attachment #1: Type: text/plain, Size: 2117 bytes --] Hi Dereje, Two things: 1) Pygmentize is a python package. I hope you meant trying to install it for python, and not Latex or Emacs. http://pygments.org/docs/cmdline/ 2) Which Tex software are you using? I recall having some compilation errors (last year) when I was setting this up with org-mode. Though I can't put my finger on what solved the problem, it was after I installed TexMaker. A friend suggested that it has a very decent library. So, if you have installed the vanilla Miktex, or something else, I'd recommend giving TexMaker a try. Don't recall ever having to open it up though. Let us know. Good luck. --Rishabh On Mar 14 2018, at 3:24 pm, Dereje Tefera <tefera@ualberta.ca> wrote: > > I saw that there is one error: > > "! Package minted Error: You must have `pygmentize' installed to use this package." but when I try to install from the package list says no match. > and a warning: > > "Package inputenc Warning: inputenc package ignored with utf8 based engines." > > > > > Do you think it would be better to reinstall emacs? > > > Regards > > Dereje > > > On Wed, Mar 14, 2018 at 12:28 PM, Eric S Fraga <esflists@gmail.com (mailto:esflists@gmail.com)> wrote: > > On Wednesday, 14 Mar 2018 at 11:39, Dereje Tefera wrote: > > > 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. > > > > So, it looks like LaTeX is now being found but that there are errors in > > the LaTeX created by org. Have you looked at the LaTeX output buffer, > > as the error message suggests? > > > > > Debugger entered--Lisp error: (error "File > > > \"c:/Users/deret/Desktop/examp3.pdf\" wasn’t produced. See \"*Org PDF LaTeX Output*\" for details") > > > > The error will likely be near the end of the buffer. > > -- > > Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-303-g6cf5fc.dirty > > > > [-- Attachment #2: Type: text/html, Size: 3065 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: org mode error "pdf wasn't produced" 2018-03-15 15:06 ` R Jain @ 2018-03-15 16:09 ` John Hendy 2018-03-15 16:13 ` Dereje Tefera 0 siblings, 1 reply; 15+ messages in thread From: John Hendy @ 2018-03-15 16:09 UTC (permalink / raw) To: R Jain; +Cc: emacs-orgmode gnu.org, Dereje Tefera On Thu, Mar 15, 2018 at 10:06 AM, R Jain <rjain.ece@gmail.com> wrote: > Hi Dereje, > > Two things: > 1) Pygmentize is a python package. I hope you meant trying to install it for > python, and not Latex or Emacs. > http://pygments.org/docs/cmdline/ > 2) Which Tex software are you using? I recall having some compilation errors > (last year) when I was setting this up with org-mode. Though I can't put my > finger on what solved the problem, it was after I installed TexMaker. A > friend suggested that it has a very decent library. > > So, if you have installed the vanilla Miktex, or something else, I'd > recommend giving TexMaker a try. Don't recall ever having to open it up > though. I have successfully used MikTex in the past and definitely remember having an initial setup cycle of trying to export, checking the Org PDF Latex buffer, identifying the missing package(s), installing via the MikTex GUI, and repeating until all the errors went away. This may be purely because I default to a lean system and don't go for these huge meta-packages. If one chooses to install the [La/Lua/Xe]Tex world, this might not be the case! I have the same procedure on linux with TexLive where I have a default starting set of pkgs and just run tlmgr on whatever errors I encounter. Just one other data point! The first step is to make sure "pdflatex" is recognized, period. This is still not answered. John > > Let us know. Good luck. > > --Rishabh > > > On Mar 14 2018, at 3:24 pm, Dereje Tefera <tefera@ualberta.ca> wrote: > > > I saw that there is one error: > > "! Package minted Error: You must have `pygmentize' installed to use this > package." but when I try to install from the package list says no match. > and a warning: > > "Package inputenc Warning: inputenc package ignored with utf8 based > engines." > > > > Do you think it would be better to reinstall emacs? > > > Regards > > Dereje > > > On Wed, Mar 14, 2018 at 12:28 PM, Eric S Fraga <esflists@gmail.com> wrote: > > On Wednesday, 14 Mar 2018 at 11:39, Dereje Tefera wrote: >> 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. > > So, it looks like LaTeX is now being found but that there are errors in > the LaTeX created by org. Have you looked at the LaTeX output buffer, > as the error message suggests? > >> Debugger entered--Lisp error: (error "File >> \"c:/Users/deret/Desktop/examp3.pdf\" wasn’t produced. See \"*Org PDF >> LaTeX Output*\" for details") > > The error will likely be near the end of the buffer. > > -- > Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-303-g6cf5fc.dirty ^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: org mode error "pdf wasn't produced" 2018-03-15 16:09 ` John Hendy @ 2018-03-15 16:13 ` Dereje Tefera 0 siblings, 0 replies; 15+ messages in thread From: Dereje Tefera @ 2018-03-15 16:13 UTC (permalink / raw) To: John Hendy; +Cc: emacs-orgmode gnu.org, R Jain [-- Attachment #1: Type: text/plain, Size: 3362 bytes --] Hi Everyone, Thank you for your help. Problem fixed. I had to install MIkTex and reinstall Emacs and all running well so far. Thank you very much for time Regards Dereje On Thu, Mar 15, 2018 at 10:09 AM, John Hendy <jw.hendy@gmail.com> wrote: > On Thu, Mar 15, 2018 at 10:06 AM, R Jain <rjain.ece@gmail.com> wrote: > > Hi Dereje, > > > > Two things: > > 1) Pygmentize is a python package. I hope you meant trying to install it > for > > python, and not Latex or Emacs. > > http://pygments.org/docs/cmdline/ > > 2) Which Tex software are you using? I recall having some compilation > errors > > (last year) when I was setting this up with org-mode. Though I can't put > my > > finger on what solved the problem, it was after I installed TexMaker. A > > friend suggested that it has a very decent library. > > > > So, if you have installed the vanilla Miktex, or something else, I'd > > recommend giving TexMaker a try. Don't recall ever having to open it up > > though. > > I have successfully used MikTex in the past and definitely remember > having an initial setup cycle of trying to export, checking the Org > PDF Latex buffer, identifying the missing package(s), installing via > the MikTex GUI, and repeating until all the errors went away. This may > be purely because I default to a lean system and don't go for these > huge meta-packages. If one chooses to install the [La/Lua/Xe]Tex > world, this might not be the case! I have the same procedure on linux > with TexLive where I have a default starting set of pkgs and just run > tlmgr on whatever errors I encounter. > > Just one other data point! > > The first step is to make sure "pdflatex" is recognized, period. This > is still not answered. > > John > > > > > Let us know. Good luck. > > > > --Rishabh > > > > > > On Mar 14 2018, at 3:24 pm, Dereje Tefera <tefera@ualberta.ca> wrote: > > > > > > I saw that there is one error: > > > > "! Package minted Error: You must have `pygmentize' installed to use > this > > package." but when I try to install from the package list says no > match. > > and a warning: > > > > "Package inputenc Warning: inputenc package ignored with utf8 based > > engines." > > > > > > > > Do you think it would be better to reinstall emacs? > > > > > > Regards > > > > Dereje > > > > > > On Wed, Mar 14, 2018 at 12:28 PM, Eric S Fraga <esflists@gmail.com> > wrote: > > > > On Wednesday, 14 Mar 2018 at 11:39, Dereje Tefera wrote: > >> 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. > > > > So, it looks like LaTeX is now being found but that there are errors in > > the LaTeX created by org. Have you looked at the LaTeX output buffer, > > as the error message suggests? > > > >> Debugger entered--Lisp error: (error "File > >> \"c:/Users/deret/Desktop/examp3.pdf\" wasn’t produced. See \"*Org PDF > >> LaTeX Output*\" for details") > > > > The error will likely be near the end of the buffer. > > > > -- > > Eric S Fraga via Emacs 27.0.50, Org release_9.1.6-303-g6cf5fc.dirty > [-- Attachment #2: Type: text/html, Size: 5010 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2018-03-15 16:14 UTC | newest] Thread overview: 15+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-03-12 21:40 org mode error "pdf wasn't produced" Dereje Tefera 2018-03-13 12:28 ` Eric S Fraga 2018-03-13 12:28 ` R Jain 2018-03-13 23:37 ` Dereje Tefera 2018-03-14 0:05 ` John Kitchin 2018-03-14 0:29 ` Dereje Tefera 2018-03-14 1:28 ` John Hendy 2018-03-14 1:29 ` John Hendy 2018-03-14 17:39 ` Dereje Tefera 2018-03-14 18:28 ` Eric S Fraga 2018-03-14 19:24 ` Dereje Tefera 2018-03-14 19:33 ` John Kitchin 2018-03-15 15:06 ` R Jain 2018-03-15 16:09 ` John Hendy 2018-03-15 16:13 ` Dereje Tefera
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).