Browsing Guido Gonzato's guide looking for something else I found the answer to a question that has bothered me for some time, and which I asked about on the forum, before there was an ABC subforum (can't find the topic) without getting an answer. Many of you may know this already but perhaps it will help someone.
The problem was with the lines or brackets above 1st- and 2nd-time endings (I learned from Guido that they are called
volta brackets, which makes sense,
volta meaning time). In one tune I wanted to save space by using 1st- and 2nd-time endings that stretched over 9 bars, and I couldn't get these volta bracket thingos to extend over the entire section. They petered out after two bars (using abcm2ps and gs, or in EasyABC).
The fix turns out to be the
%%rbmax formatting command discussed in section 4.1.12 of the the Guido guide (there is a companion command
%%rbmin). Including
%%rbmax 9 in the code below fixes the problem nicely: volta brackets going the full 9 yards, or rather bars.
X:245
T:THE TRIP WE TOOK OVER THE MOUNTAIN
R:Waltz (for Waltz Cotillion)
Z:Steve Jones
M:3/4
L:1/8
K:G
%%rbmax 9
D2 GF GA|B2 G2 GB|(3ABA ^G2 A2|f3 g af|g2 d2 de|d2 c2 A2|G3 B AG|F3 A GF|
D2 GF GA|B2 G2 GB|(3ABA ^G2 A2|f3 g af|g2 d2 de|d2 c2 A2|G3 B AF |[1G4 GE:|[2G4 Bd|]
|:g2 d2 d2|g2 a2 g2|f2 d2 e2|=f3 g a^f|g2 d2 de|d2 c2 A2|G3 B AG|
[1 F4 Bd|g2 d2 d2|g2 a2 g2|f2 d2 e2|=f3 g a^f|g2 d2 de|d2 c2 A2|G3 B AF|G2 B2d2:|
[2 F3 A GF|D2 GF GA|B2 G2 GB|(3ABA ^G2 A2|f3 g af|g2 d2 de|d2 c2 A2|G3 B AF |G4-G2|]
Here's another problem that my browsing allowed me to solve. In the example below (taken from the greatly delayed Identitairs ABC project - which is moving along, lads, never fear), the 2nd-time ending extends over three bars, but the 1st-time ending has only one. With the code below, the volta bracket over the 2nd-time ending extends over only one bar.
P:D
M:3/2
A2dc BABc ecec|defe dBAF A2A2|A2dc BABc ecec|
[1 d2ef gfec d2cB :|[2 d2ef gfec d2ef|[M:C|]gagf edcB |AGFD E4|]
Apparently the default value for %%rbmax is 4, so setting a different value here would not solve the problem.
I found the answer in section 2.2.3 of the guide - something I had noticed but not immediately seen the use of. [|] is an "invisible bar" - Guido says it can be used as a placeholder for a decoration. I wondered whether it could solve my problem with the above section, and it did! See below - adding two invisible bar lines to the 1st-time ending (making it technically three bars long) resulted in the volta bracket extending over all three bars of the 2nd-time ending.
Happy camper

P:D
M:3/2
A2dc BABc ecec|defe dBAF A2A2|A2dc BABc ecec|
% Invisible bars [|] added to make 2nd volta bracket extend to 3 bars
[1 d2ef gfec d2cB [|] [|] :|[2 d2ef gfec d2ef|[M:C|]gagf edcB |AGFD E4|]
Edited to make the title more explicit