This patch removes the hardcoded bar line types for repeat
constructs; this allows for future changes in the bar line
handling routines without recompiling the sources.
if (start && end)
s = robust_scm2string (get_property ("doubleRepeatType"), ":|:");
else if (start)
if (start && end)
s = robust_scm2string (get_property ("doubleRepeatType"), ":|:");
else if (start)
+ s = robust_scm2string (get_property ("startRepeatType"), "|:");
+ s = robust_scm2string (get_property ("endRepeatType"), ":|");
/*
TODO: line breaks might be allowed if we set whichBar to "".
/*
TODO: line breaks might be allowed if we set whichBar to "".
defaultBarType = #"|"
doubleRepeatType = #":|:"
defaultBarType = #"|"
doubleRepeatType = #":|:"
+ startRepeatType = #"|:"
+ endRepeatType = #":|"
barNumberVisibility = #first-bar-number-invisible-and-no-parenthesized-bar-numbers
barNumberFormatter = #robust-bar-number-function
automaticBars = ##t
barNumberVisibility = #first-bar-number-invisible-and-no-parenthesized-bar-numbers
barNumberFormatter = #robust-bar-number-function
automaticBars = ##t
@code{(@var{notehead-style} @var{script} @var{vertical-position})} as
values.")
@code{(@var{notehead-style} @var{script} @var{vertical-position})} as
values.")
+ (endRepeatType ,string? "Set the default bar line for the ending
+of repeats.")
(explicitClefVisibility ,vector? "@samp{break-visibility}
function for clef changes.")
(explicitCueClefVisibility ,vector? "@samp{break-visibility}
(explicitClefVisibility ,vector? "@samp{break-visibility}
function for clef changes.")
(explicitCueClefVisibility ,vector? "@samp{break-visibility}
@code{traditional}, or @code{semitone}.")
(stanza ,markup? "Stanza @q{number} to print before the start of a
verse. Use in @code{Lyrics} context.")
@code{traditional}, or @code{semitone}.")
(stanza ,markup? "Stanza @q{number} to print before the start of a
verse. Use in @code{Lyrics} context.")
+ (startRepeatType ,string? "Set the default bar line for the beginning
+of repeats.")
(stemLeftBeamCount ,integer? "Specify the number of beams to draw
on the left side of the next note. Overrides automatic beaming. The
value is only used once, and then it is erased.")
(stemLeftBeamCount ,integer? "Specify the number of beams to draw
on the left side of the next note. Overrides automatic beaming. The
value is only used once, and then it is erased.")