gregorio-project / gregorio

The Gregorio Project
http://gregorio-project.github.io
Other
155 stars 43 forks source link

Above-Line-Text dissapears when including NABC code #1559

Open lbssousa opened 2 years ago

lbssousa commented 2 years ago

I have some antiphons like this in my document: image

I've tried to include some adiastematic neums to this score, but when I include the NABC code, the Above-Lines-Text dissapears: image

Is this expected? Can I have both Above-Lines-Text and NABC neums in the same staff?

henryso commented 2 years ago

Off the cuff, it seems like a bug. Can you share this particular gabc file?

lbssousa commented 2 years ago

Sure:

name: Ad te, Domine;
mode: 4;
mode-differentia: c;
commentary: Cantus ID 001255 cf. Sl 143(142),8d-9;
book: Graduale Simplex, 1975, p. 53;
nabc-lines: 1;

%%

(c3)

Ad<alt>\textcolor{gregoriocolor}{Cantor}</alt>(f|ta) te,(h|vi) Dó(hi|pe)mi(i|vi)ne,(i|vi) *(,)
le<alt>\textcolor{gregoriocolor}{Omnes}</alt>(i|vi)vá(i|vi)vi(h|ta) á(ij|pe)ni(h|ta)mam(ij|pe>) me(i|ta)am:(i|ta) (;)
ve(f|talsi7)ni,(i|vi) et(h|vi) é(g|vi)ri(f|vi)pe(e|ta) me,(fe|cl-) (,)
Dó(d|ta)mi(e|vi)ne,(f|vi) ad(gxg|////vi) te(h|vi) con(gxg|////vi)fú(f|ta)gi.(f|ta)

(::)

(i+)
henryso commented 2 years ago

Thanks.

It looks like NABC co-opts the above lines text feature, so the way it is right now you can't have abovelinestext and NABC at the same time. This is not a bug per se, but it's probably a good enhancement.

rpspringuel commented 2 years ago

This is probably the root cause of #1547 too.