lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using tag from command line?


From: Hans Forbrich
Subject: Re: Using tag from command line?
Date: Wed, 04 Feb 2004 09:27:59 -0700

Han-Wen Nienhuys wrote:
> 
> If you are proficient in Scheme, you could use the -e SCHEME-CODE
> command line option for lilypond-bin to achieve this, something like
> 
>   -e "(define-public my-remove-tag part)"
> 
> 
> (lilypond.py doesn't support this option)
> 
> The other solution is to do
> 
>     echo "#(define-public my-remove-tag tag" > tag-include.ly
> 
> and \include "tag-include.ly".
> 

Bingo!  I hadn't thought about using the \include.  A perfect interim
solution!

Picky note - for anyone trying a cut & paste on this, the echo should
read 

        echo "#(define-public my-remove-tag tag)" > tag-include.ly

(In the end, I guess I'll have to learn Scheme!)
/Hans




reply via email to

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