Carlo Vanoni wrote > I'm a programmer, and I'm used to use command line parameters when > compiling a program. > As an example: > > gcc my_source_code.c -I"include_folder" -o my_program > > Here, I tell the compiler to watch inside "include_folder" for files to > include during the copilation process. > > My idea is to define a layout behaviour at compile time. > Why? Here is an example. > I have a bass guitar transcription. For teaching purpose, I add to each > note which left-hand finger to use. Then, I would like to have a more > clean score for me, without oll these numbers on top of the note. > Basically, I would like to use the seme .ly file with all the infos, and > then use (pseudo code here...) > > lilypond my_score.ly omit_finger_tips ##f > > to create the teaching score, and > > lilypond my_score.ly omit_finger_tips ##t > > to create the cleaner score. > > Is there a way to do this? > And does it make any sense to you?
certainly this makes sense! you can use \layout{ \context{ \Voice \remove New_fingering_engraver } } to remove the fingering in a compilation. best put this in a file which you can include or not when invoking LilyPond. Eluze -- View this message in context: http://lilypond.1069038.n5.nabble.com/Compiler-layout-parameters-tp159878p159881.html Sent from the User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user