forked from mirrors/org-mode
Fix LaTeX and Beamer publishing process
* lisp/ox-beamer.el (org-beamer-publish-to-pdf): * lisp/ox-latex.el (org-latex-publish-to-pdf): Ensure ".tex" file is generated in the same directory as the ".org" file. Thanks to Rafael for reporting it. See http://permalink.gmane.org/gmane.emacs.orgmode/84095.
This commit is contained in:
parent
c4bca1c384
commit
33dce5b98f
|
@ -1166,7 +1166,9 @@ Return output file name."
|
|||
;; working directory and then moved to publishing directory.
|
||||
(org-publish-attachment
|
||||
plist
|
||||
(org-latex-compile (org-publish-org-to 'beamer filename ".tex" plist))
|
||||
(org-latex-compile
|
||||
(org-publish-org-to
|
||||
'beamer filename ".tex" plist (file-name-directory filename)))
|
||||
pub-dir))
|
||||
|
||||
|
||||
|
|
|
@ -2935,7 +2935,9 @@ Return output file name."
|
|||
;; in working directory and then moved to publishing directory.
|
||||
(org-publish-attachment
|
||||
plist
|
||||
(org-latex-compile (org-publish-org-to 'latex filename ".tex" plist))
|
||||
(org-latex-compile
|
||||
(org-publish-org-to
|
||||
'latex filename ".tex" plist (file-name-directory filename)))
|
||||
pub-dir))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue