Sfoglia il codice sorgente

Merge branch 'maint'

Nicolas Goaziou 11 anni fa
parent
commit
09ee2336ef
2 ha cambiato i file con 6 aggiunte e 2 eliminazioni
  1. 3 1
      lisp/ox-beamer.el
  2. 3 1
      lisp/ox-latex.el

+ 3 - 1
lisp/ox-beamer.el

@@ -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))
 
 

+ 3 - 1
lisp/ox-latex.el

@@ -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))