RE: Repeat starting in partial measure

2017-07-14 Thread Mark Stephen Mrotek
Richard,

 

Try removing the \bar "".

Also the bar checks are in the wrong place.

 

Mark

 

From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] 
On Behalf Of Richard Chonak
Sent: Thursday, July 13, 2017 4:50 PM
To: lilypond-user@gnu.org.
Subject: Repeat starting in partial measure

 

Dear fellow users,

Can someone advise me on how a repeat-sign behaves in the middle of a measure?

Reducing my score to a small example, here are two lines: 

 cis8\mark | cis'4 b8 a4 b8 | gis4 e8 fis4 \bar "" \break 
 \repeat volta 2 { gis8 | cis4. fis,4. | fis8 e b cis4 }  \break

I'd like the first system to break within a measure, and end with no barline. 

The volta in the second system starts with a partial measure, and of course I'd 
like a repeat-sign there, but it's not appearing.

(I'll try to insert an image here to illustrate the output: hope it comes 
through.)





If I add the repeat sign expressly, it does appear in the output:

 cis8\mark | cis'4 b8 a4 b8 | gis4 e8 fis4 \bar "" \break
 \bar ".|:"
 \repeat volta 2 { gis8 | cis4. fis,4. | fis8 e b cis4 } 

but an unwanted barline is added to the end of line 1.



Do I need to add some Scheme code to modify the behavior of the repeat-sign? 

Thanks for any advice you can offer!

Richard 

 

 

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


Re: Repeat starting in partial measure

2017-07-13 Thread Richard Chonak



On 07/13/2017 08:35 PM, Thomas Morley wrote:


You need to insert a bar-line-type which sets "" at line end and the
usual repeat-start at line-begin, i.e. ".|:"
Such a bar-line-type does not exist yet.

But search the NR for:
[...]
\defineBarline for the method how to define custom-bar.lines



Thank you! This solved my problem.
I really have to learn more about features added in recent versions!
--Richard


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


Re: Repeat starting in partial measure

2017-07-13 Thread Thomas Morley
Hi,

2017-07-14 1:50 GMT+02:00 Richard Chonak :
>
> Dear fellow users,
>
> Can someone advise me on how a repeat-sign behaves in the middle of a measure?
>
> Reducing my score to a small example, here are two lines:
>
>  cis8\mark | cis'4 b8 a4 b8 | gis4 e8 fis4 \bar "" \break
>  \repeat volta 2 { gis8 | cis4. fis,4. | fis8 e b cis4 }  \break

Well, this is not compilable!

>
> I'd like the first system to break within a measure, and end with no barline.
>
> The volta in the second system starts with a partial measure, and of course 
> I'd like a repeat-sign there, but it's not appearing.

Actually you coded two different bar-lines at the same time.
The one done by \repeat and \bar "". Both have different settings how
to behave at line-break.
Only one can survive. Winning is \bar ""

>
> If I add the repeat sign expressly, it does appear in the output:
>
>  cis8\mark | cis'4 b8 a4 b8 | gis4 e8 fis4 \bar "" \break
>  \bar ".|:"
>  \repeat volta 2 { gis8 | cis4. fis,4. | fis8 e b cis4 }
>
> but an unwanted barline is added to the end of line 1.

Here you coded _three bar-lines_: \repeat ..., \bar "" and \bar ".|:"
at the same time.
Only one can survive. Winning is \bar ".|:"

You need to insert a bar-line-type which sets "" at line end and the
usual repeat-start at line-begin, i.e. ".|:"
Such a bar-line-type does not exist yet.

But search the NR for:
(1)
".|:-||" to see a barline-type which sets "||" at line-end (defined in
bar-line.scm) and ".|:" at line-start. (Not far away from what you
want...)
(2)
\defineBarline for the method how to define custom-bar.lines

Now, use this to define your own bar-line, take the definition in
bar-line.scm as an example.

Ask back if you need further assistance.

Cheers,
  Harm

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