emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Julien Cubizolles <j.cubizolles@free.fr>
To: emacs-orgmode@gnu.org
Subject: Re: :components part in org-publish-project-alist fails
Date: Tue, 04 Nov 2014 12:30:59 +0100	[thread overview]
Message-ID: <877fzbp5ho.fsf@free.fr> (raw)
In-Reply-To: 87egtkyg7y.fsf@free.fr

Julien Cubizolles <j.cubizolles@free.fr> writes:

> Nicolas Goaziou <mail@nicolasgoaziou.fr> 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.

  reply	other threads:[~2014-11-04 11:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-02 21:37 :components part in org-publish-project-alist fails Julien Cubizolles
2014-11-02 22:33 ` Nicolas Goaziou
2014-11-03  6:02   ` Julien Cubizolles
2014-11-04 11:30     ` Julien Cubizolles [this message]
2014-11-04 21:26       ` Nicolas Goaziou
2014-11-05  8:30         ` Julien Cubizolles

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877fzbp5ho.fsf@free.fr \
    --to=j.cubizolles@free.fr \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).