[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] export subtree from the command line
From: |
Alan Schmitt |
Subject: |
Re: [O] export subtree from the command line |
Date: |
Fri, 06 Feb 2015 13:01:44 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4 (darwin) |
On 2015-02-05 08:27, "Charles C. Berry" <address@hidden> writes:
> On Thu, 5 Feb 2015, Alan Schmitt wrote:
>
>> Hello,
>>
>> I'm teaching a class where I have a big monolithic file for all the
>> lectures. Right now I export each lecture as a subtree from the file
>> itself, but I would like to do it from a Makefile. Is it possible to
>> export a subtree from the command line? if so, how do I specify the
>> subtree that I want?
>
> Use an ID property for the subtree.
>
> A small *.el file can set prereqs, find the subtree from the ID, and
> call up the exporter.
>
> `make test' does something like this. If you look at
> testing/lisp/test-ob.el, testing/examples/babel.org, and the
> testing/*.el files you can see some of this in action.
Thanks a lot for the suggestion, I'll give it a try.
Alan
--
OpenPGP Key ID : 040D0A3B4ED2E5C7
signature.asc
Description: PGP signature