lilypond-user
[Top][All Lists]
Advanced

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

Using tag from command line?


From: Han-Wen Nienhuys
Subject: Using tag from command line?
Date: Wed, 4 Feb 2004 17:21:38 +0100

address@hidden writes:
> I've been copying a number of scores where the \tag will be extremely
> useful.  (Thanks for that capability.  Another beneficial addition to a
> wonderful program!)
> 
> Q: In order to even further reduce the amount of tampering with
> good/complete scores, can we pass the remove-tag request on the command
> line?
> 
> For example (using the regression test as the basis), is it be possible
> to enter something like:
> 
> lilypond -P --remove-tag part tag-filter.ly
> 
> Since one question leads to another ... If not possible, how do I make
> request for such a feature?  If yes, how do I request documentation for
> this?
> 
> Many thanks for Lilypond as well as the recent significant improvements
> in the documentation.

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".

--
 Han-Wen Nienhuys   |   address@hidden   |   http://www.xs4all.nl/~hanwen 





reply via email to

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