emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Publishing using the new exporter


From: Nicolas Goaziou
Subject: Re: [O] Publishing using the new exporter
Date: Wed, 10 Oct 2012 18:59:08 +0200

Hello,

Robert Klein <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]