David,

Thanks again. Comments below.

Best regards,

Peter
mailto:lilyp...@ptoye.com
www.ptoye.com

-------------------------
Thursday, April 3, 2014, 7:36:23 PM, you wrote:


Hi Peter,


On Thu, Apr 3, 2014 at 1:10 PM, Peter Toye <lilyp...@ptoye.com> wrote:
David,

Thanks very much for this very fast answer.

But two things:

1) I get a syntax error 

> D:/Peter/Music/Lilypond/Mendelssohn/March2.ly:61:16: error: wrong
> type for argument 1.  Expecting string, found transparent

>    \alterBroken 
>                 #'transparent #'(#t) Score.SystemStartBrace
>
> D:/Peter/Music/Lilypond/Mendelssohn/March2.ly:61:37: error: wrong
> type for argument 3.  Expecting list, found "Score"

>    \alterBroken #'transparent #'(#t) 
>                                      Score.SystemStartBrace
>
> D:/Peter/Music/Lilypond/Mendelssohn/March2.ly:61:42: error: syntax error, 
> unexpected '.'

>    \alterBroken #'transparent #'(#t) Score
>                                           .SystemStartBrace
>
> D:/Peter/Music/Lilypond/Mendelssohn/March2.ly:54:2: error: errors found, 
> ignoring music expression
>   
>   \new PianoStaff 

This is because I gave you the syntax for the latest stable version, 2.18.

If memory serves, in 2.16 the syntax should be as follows:

\alterBroken Score,SystemStartBrace #'transparent #'(#t)

Sorry, forgot about the change of argument ordering.

That didn't work - LP complains about an unwanted comma. Replacing by a space 
or adding spaces don't work either. I'm still trying to work my head around the 
meta-syntax (which doesn't seem to be documented) in the Notation manual's 
appendix A which is the only place that \alterBroken appears.

 

2) Your message implies that you think I want to get rid of the second brace. 
That's not the case - I want to get rid of the first one if possible. If I 
can't it's no great problem - I have to be more careful with the scissors!


No, I understood this.  Did you try the attached file?

Yes, that works fine - but your second solution is so elegant in comparison.


--David 
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to