Re: [O] export subtree from the command line

2015-02-09 Thread Alan Schmitt
On 2015-02-07 19:55, John Kitchin writes: > For a different approach, you could make this kind of an emacs script. I > have not done this too often, and it can be tricky to setup and debug. Very interesting! Thank you for the suggestion. Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 signature.a

Re: [O] export subtree from the command line

2015-02-07 Thread John Kitchin
For a different approach, you could make this kind of an emacs script. I have not done this too often, and it can be tricky to setup and debug. #+BEGIN_SRC emacs-lisp :tangle export-org-section :shebang #!/bin/sh :;exec emacs -batch -l ~/Dropbox/kitchingroup/jmax/init.el -l "$0" "$@" ;; usage: e

Re: [O] export subtree from the command line

2015-02-06 Thread Alan Schmitt
On 2015-02-05 08:27, "Charles C. Berry" 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 Makef

Re: [O] export subtree from the command line

2015-02-05 Thread Charles C. Berry
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

[O] export subtree from the command line

2015-02-05 Thread Alan Schmitt
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 wa