Re: [O] Fwd: ob-lilypond: pre- and post-processing of source blocks

2013-11-04 Thread Thomas S. Dye
James Harkins writes: > Incidentally, it would be very useful if babel offered a header argument > for commandline switches. If there is one, it was not obvious at [1] which > one it should be. A header argument for command line switches is implemented for some babel languages. See lines 68-79

Re: [O] Fwd: ob-lilypond: pre- and post-processing of source blocks

2013-11-04 Thread James Harkins
On Tuesday, November 5, 2013 12:24:44 PM HKT, James Harkins wrote: On Nov 4, 2013 10:08 PM, "Eric Schulte" wrote: Look in lisp/ob-lilypond.el. Specifically (1) would be done in `org-babel-expand-body:lilypond', and both (2) and (3) in `org-babel-execute:lilypond'. Thanks. I'm not much of a L

Re: [O] Fwd: ob-lilypond: pre- and post-processing of source blocks

2013-11-04 Thread James Harkins
On Nov 4, 2013 10:08 PM, "Eric Schulte" wrote: > Look in lisp/ob-lilypond.el. Specifically (1) would be done in > `org-babel-expand-body:lilypond', and both (2) and (3) in > `org-babel-execute:lilypond'. Thanks. I'm not much of a LISPer so I have no idea when I might get around to that. In the

Re: [O] Fwd: ob-lilypond: pre- and post-processing of source blocks

2013-11-04 Thread Eric Schulte
>> I would like to be able to do the following with ob-lilypond (basic mode): >> >> 1. Wrap the source block in pre- and/or post-strings (specifically to add > "\header { tagline = ##f }" before the music expressions). >> >> 2. Have lilypond compile the block. >> >> 3. Run "convert -trim" on the re

[O] Fwd: ob-lilypond: pre- and post-processing of source blocks

2013-11-04 Thread James Harkins
Apologies for resending -- I sent this a few hours ago but I don't see it on gmane, or in the gnu.org archive either. Actually the manual answers question #1 -- I should be able to use the prologue header argument for that. And I can already do #2 (included just to outline the desired behavior com