Merge branch 'maint'

This commit is contained in:
Nicolas Goaziou 2014-03-24 13:59:44 +01:00
commit 09ee2336ef
2 changed files with 6 additions and 2 deletions

View File

@ -1165,7 +1165,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))

View File

@ -3096,7 +3096,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))