mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2025-02-03 21:03:48 +00:00
Make PDF export work under windows.
This commit is contained in:
parent
79e0ca32d2
commit
a669549843
@ -1,6 +1,7 @@
|
||||
2008-10-18 Carsten Dominik <dominik@science.uva.nl>
|
||||
|
||||
* org-export-latex.el (org-latex-entities-regexp): New constant.
|
||||
(org-export-as-pdf): Use two calls to `shell-command'.
|
||||
|
||||
2008-10-17 Carsten Dominik <dominik@science.uva.nl>
|
||||
|
||||
|
@ -490,7 +490,10 @@ when PUB-DIR is set, use this as the publishing directory."
|
||||
(pdffile (concat base ".pdf")))
|
||||
(and (file-exists-p pdffile) (delete-file pdffile))
|
||||
(message "Processing LaTeX file...")
|
||||
(shell-command (format "pdflatex -interaction nonstopmode %s;pdflatex -interaction nonstopmode %s" file file))
|
||||
(shell-command (format "pdflatex -interaction nonstopmode %s"
|
||||
(shell-quote-argument file)))
|
||||
(shell-command (format "pdflatex -interaction nonstopmode %s"
|
||||
(shell-quote-argument file)))
|
||||
(message "Processing LaTeX file...done")
|
||||
(if (not (file-exists-p pdffile))
|
||||
(error "PDF file was not produced")
|
||||
|
Loading…
x
Reference in New Issue
Block a user