ox-latex: Fix texi2dvi command

* lisp/ox-latex.el (org-latex-pdf-process): Handle cases where tex file
  is not located in default-directory.
This commit is contained in:
Nicolas Goaziou 2016-11-08 18:24:13 +01:00
parent 004bd64948
commit ae68bc516d
1 changed files with 1 additions and 1 deletions

View File

@ -1182,7 +1182,7 @@ file name as its single argument."
"%latex -interaction nonstopmode -output-directory %o %f"
"%latex -interaction nonstopmode -output-directory %o %f"))
(const :tag "texi2dvi"
("LATEX=\"%latex\" texi2dvi -p -b -V %f"))
("cd %o; LATEX=\"%latex\" texi2dvi -p -b -V %b.tex"))
(const :tag "latexmk"
("latexmk -g -pdf -pdflatex=\"%latex\" -outdir=%o %f"))
(function)))