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: Rasmus
Subject: Re: [O] [ox, patch] external compilation
Date: Fri, 20 Feb 2015 17:24:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Nicolas Goaziou <address@hidden> writes:

> 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?

No this has the same issue as the Makefile.  "It's not as easy as latex".
I want *one* coherent file with all the necessary instructions, that can
be edited in different program from Emacs, and be easily compiled.

E.g. I wrote syntax highlight for Org in texworks, but I also want to make
the "green button" work easily as latex without too many ugly hacks.

A makefile or a ox-project is great for the pros.  Unfortunately not
everyone is...

Makefiles and projects is the tool better for multi-file projects.

—Rasmus 

-- 
A clever person solves a problem. A wise person avoids it



reply via email to

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