Jonathan Kulp-2 wrote:
> 
> On Mon, Aug 9, 2010 at 6:24 AM, David Currie <curri...@iinet.net.au>
> wrote:
>> I am a musician and a programmer.
>>
>> How does one redirect/direct (lilypond) compile output to a file and not
>> stdout
>> using command line options(or otherwise).
>>
> 
> What you want, I think, is the -V command line option, but I haven't
> ever done this on Windows. I suspect if you use a command prompt and
> do lilypond -V filename.ly it will do what you want. Capturing it in a
> log file is then a matter of redirecting the output in the usual dos
> prompt way (which I don't know how to do, sorry).
> 

the most simple is to cd / pushd to your file folder and then invoke 

lilypond test.ly 2>test.log

the output will automagically be directed to test.pdf ( or .png or whatever
you choose as format)

the first pipe ( [1]>test.xyz) - or how you name it - is where Lilypond
directs special output to (like when you use \displayLilypondMusic)

see also convert-ly in the usage manual for further possibilities!

imo this should be described more clearly in a manual - specially for users
who are not accustomed to the shell/dos/cmd prompt!


-- 
View this message in context: 
http://old.nabble.com/%28re-%29directing-compile-output--to-a-file-tp29386917p29387751.html
Sent from the Gnu - Lilypond - Dev mailing list archive at Nabble.com.


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to