lilypond-user
[Top][All Lists]
Advanced

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

Re: After-line-breaking behavior?


From: Thomas Morley
Subject: Re: After-line-breaking behavior?
Date: Wed, 17 Jun 2015 01:27:55 +0200

2015-06-17 0:34 GMT+02:00 Steven Weber <address@hidden>:
> Are you running on Linux?  This might be a weird Windows related issue.

Yep and yep

> And on my system, glyph and glyph-name return the same values, so I was using 
> glyph to save on typing.


Some bar-line-types will behave special at line-breaks.
Try your function with 'glyph and 'glyph-name on the code below to see
a difference

\new Staff
{
  R1
  \bar ":|.|:"
  \break
  R1
  \bar "|."
}

cheers,
  Harm

P.S. Please always reply to all ;)

>
> --Steven
>
> -----Original Message-----
> From: Thomas Morley [mailto:address@hidden
> Sent: Tuesday, June 16, 2015 3:30 PM
> To: Steven Weber
> Cc: lilypond-user
> Subject: Re: After-line-breaking behavior?
>
> 2015-06-17 0:12 GMT+02:00 Steven Weber <address@hidden>:
>> Is there any way to guarantee that the order of items processed
>> through after-line-breaking is the exact order they are in the score?
>> I’m doing some fun things with bar lines, and I’m having issues
>> because my scheme code isn’t getting them in the order I expect.  In
>> the attached file, for example, I expected that I would get the bar
>> lines in order:  start repeat, end repeat, start repeat, end repeat,
>> final bar line.  Instead, I get start repeat, end repeat, end repeat,
>> start repeat, final.  If you comment out the break on line 40, it gets
>> even odder:  start repeat, end repeat, final bar line, start repeat, end 
>> repeat.
>>
>>
>>
>> I’ve tried with both 2.18.2 and 2.19.21 and get the same behavior, so
>> this isn’t a regression – maybe I’m just not understanding how
>> after-line-breaking works?
>>
>>
>>
>> Thanks!
>>
>>
>>
>> --Steven
>
>
>
> Testing your code, I get:
>
> Unbroken bar line:  .|:
> Unbroken bar line:  :|.
> Unbroken bar line:  .|:
> Unbroken bar line:  :|.
> Left-broken bar line:  |.
>
> That's exactly:
> start repeat, end repeat, start repeat, end repeat, final bar line.
>
> Am I missing something?
>
> Anyway, are you sure you want to show 'glyph, not 'glyph-name?
>
>
> Cheers,
>   Harm



reply via email to

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