emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [ox, patch] external compilation


From: Nicolas Goaziou
Subject: Re: [O] [ox, patch] external compilation
Date: Fri, 20 Feb 2015 17:10:22 +0100

Hello,

Rasmus <address@hidden> writes:

>> Ideally, what I would like would be to specify a per-file/project init
>> file.  Sort of like org-export-async-init-file, but as part of
>> org-export-options-alist to get the "init.el-dependency" inside the
>> Org-file.  It would be read when Org exports async or via batch.
>
> This patch moves org-export-async-init-file to org-export-options-alist
> and introduces #+INIT for setting it in a file.
>SW
> It also automatically "switches" to async export if running Emacs in
> batch.  I don't know if this is a good idea!  E.g. I guess it would starts
> a new Emacs process from a Emacs batch process...
>
> WDYT?  Would something like this be appropriate?

Can't you simply set-up a publishing project?

You can also use 

  (let ((org-export-async-init-file "whatever.el"))
    (org-latex-export-to-file ...))


Regards,

-- 
Nicolas Goaziou



reply via email to

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