Hello, Robert Klein <klein...@mpip-mainz.mpg.de> writes:
> I got i working with this patch: > > diff --git a/contrib/lisp/org-e-latex.el b/contrib/lisp/org-e-latex.el > index 80b8ddb..2d4ad35 100644 > --- a/contrib/lisp/org-e-latex.el > +++ b/contrib/lisp/org-e-latex.el > @@ -2670,6 +2670,7 @@ Return PDF file name or an error if it couldn't > be produced." > (let* ((wconfig (current-window-configuration)) > (texfile (file-truename texfile)) > (base (file-name-sans-extension texfile)) > + (default-directory base) > errors) > (message (format "Processing LaTeX file %s ..." texfile)) > (unwind-protect > > > After reading a bit in the emacs lisp reference manual I knew the > issue is something with default-directory. Then I examined the code > of the old exporter and looked for a "similar" place in the new > exporter, happily finding a 'let*( ...'. Not sure, this is Ok or > even the right place. Just happy at the moment it does work. > > Both cases (buffer visited in base-directory and not in > base-directory) work with the change. I still cannot reproduce the problem, even with your recipe. Could you double-check it? Also, there's nothing in `org-e-latex-compile' that should depend on default-directory anyway. Regards, -- Nicolas Goaziou