[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] :components part in org-publish-project-alist fails
From: |
Julien Cubizolles |
Subject: |
Re: [O] :components part in org-publish-project-alist fails |
Date: |
Tue, 04 Nov 2014 12:30:59 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Julien Cubizolles <address@hidden> writes:
> Nicolas Goaziou <address@hidden> writes:
>
>> I cannot reproduce it. Publishing "global" project succeeds.
>
> Did you publish asynchronously ? I can publish "global" and "latex"
> synchronously, "latex" asynchronously (see the following *Org Export
> Process* buffer) : only "global" fails when run asynchronously.
I investigated further, here is the barest ECM I could come up with.
I run emacs -Q, then evaluate (~/info/emacs/org-mode/lisp is the
location of the git depot of org-mode)
--8<---------------cut here---------------start------------->8---
(add-to-list 'load-path (expand-file-name "~/info/emacs/org-mode/lisp"))
(require 'org)
(require 'ox)
(setq org-export-async-debug t)
(setq org-export-async-init-file
"/home/wilk/configuration/elisp/org-export-async-init.el")
(setq org-publish-project-alist
`(("latex"
:base-directory "./"
:publishing-directory "./"
:publishing-function org-latex-publish-to-latex
:exclude ".*"
:latex-class "article"
:include ("test.org")
)
("global" :components ("latex"))))
--8<---------------cut here---------------end--------------->8---
org-export-async-init.el:
--8<---------------cut here---------------start------------->8---
(add-to-list 'load-path (expand-file-name "~/info/emacs/org-mode/lisp"))
(require 'org)
(require 'ox)
--8<---------------cut here---------------end--------------->8---
I then open test.org
--8<---------------cut here---------------start------------->8---
* Ceci est un essai
* Ceci est un deuxième heading
--8<---------------cut here---------------end--------------->8---
the "latex" and "global" are correctly exported synchronously, "latex"
is also correctly exported asynchronously but "global" isn't: no tex
file is produced and the *Org Export Process* only contains "nil".
Julien.