[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Publishing using the new exporter
From: |
Robert Klein |
Subject: |
Re: [O] Publishing using the new exporter |
Date: |
Tue, 09 Oct 2012 12:07:15 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120825 Thunderbird/15.0 |
Hello,
On 10/08/2012 07:36 PM, Robert Klein wrote:
Hallo,
On 10/08/2012 06:49 PM, Nicolas Goaziou wrote:
Hello,
I don't think so, but I cannot reproduce your problem. Could you try
again in a fresh emacs, once back-ends you need have been required?
I re-installed the git-version of org-mode, required 'org-e-html and
'org-e-latex and exported from a fresh emacs. Issue 1 and 3 above are
gone, but I still get empty images when calling org-e-publish from a
buffer visiting a file outside the base-directory.
I appended both a minimal .emacs and org file I used for the tests.
Best regards
Robert
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.
Best regards
Robert
- Re: [O] Publishing using the new exporter, Nicolas Goaziou, 2012/10/06
- Re: [O] Publishing using the new exporter, Robert Klein, 2012/10/06
- Re: [O] Publishing using the new exporter, Nicolas Goaziou, 2012/10/06
- Re: [O] Publishing using the new exporter, Robert Klein, 2012/10/07
- Re: [O] Publishing using the new exporter, Nicolas Goaziou, 2012/10/08
- Re: [O] Publishing using the new exporter, Robert Klein, 2012/10/08
- Re: [O] Publishing using the new exporter, Nicolas Goaziou, 2012/10/08
- Re: [O] Publishing using the new exporter, Robert Klein, 2012/10/08
- Re: [O] Publishing using the new exporter, Suvayu Ali, 2012/10/08
- Re: [O] Publishing using the new exporter, Robert Klein, 2012/10/09
- Re: [O] Publishing using the new exporter,
Robert Klein <=
- Re: [O] Publishing using the new exporter, Nicolas Goaziou, 2012/10/10
- Re: [O] Publishing using the new exporter, Robert Klein, 2012/10/10
- Re: [O] Publishing using the new exporter, Nicolas Goaziou, 2012/10/11
- Re: [O] Publishing using the new exporter, Robert Klein, 2012/10/15