Hi,
I'm trying to get an alternate form of the Torculus Resupinus using macros, the way I was shown by Fr. Samuel a little while back. In this case, I guess I'm trying to get a TorculusResupinusThreeOneOneDiminutis, if I understand the Gregorio Tex terms correctly.
I'd like this to occur at "et" after the bar (:) in the attached mwe.
If I use the macro code at the level [nm1], nothing seems to happen. I get the ordinary form of the Torculus Resupinus, not the alternate, as if my macros weren't there.
If I use the [gm1] level, then I get a terrible line break and space, but the proper note cluster appears.
Is there some way I can get the right combination of no space error and the note cluster I'm looking for? I expect there must be and I'm doing something wrong.
Here is the mwe:
mwe.tex
------------------
% !TEX TS-program = lualatex
% !TEX encoding = UTF-8
\documentclass{book}
\usepackage[autocompile]{gregoriotex}
\begin{document}
At "et" - using [gm1] gives the cluster I'm looking for, but an error:
\gregorioscore{sample1}
\bigskip\bigskip
At "et" - using [nm1], but not the note cluster I'm looking for:
\gregorioscore{sample2}
\end{document}
sample1.gabc
----------------------
name:Paulominus ab Angelis;
office-part:Antiphona;
def-m1:\grechangeglyph{TorculusResupinus*}{*}{.alt};
def-m2:\greresetglyph{TorculusResupinus*};
%%
(c4) Pau(d)ló(f)mi(c)nus(d) ab(d) An(ixdh!i>)ge(h)lis<sp>*</sp>(h) mi(h)no(gf)rá(gh)tus,(h) (;)
gló(h)ri(h)a(hj) et(h) ho(g)nó(h)re(gh) co(eg)ro(fe)ná(d)tus(cd) est,([gm1]d) (:)
et(dgfg~) con([gm2]gh>)sti(fe)tú(df)tus(fc) su(c)per(d) ó(f)pe(g)ra(f) má(h)nu(g)um(efe) De(d)i.(d) (::)
<eu> E(h) U(h) O(g) U(f) A(gh) E.(g) </eu> (::)
sample2.gabc
-------------------------
name:Paulominus ab Angelis;
office-part:Antiphona;
def-m1:\grechangeglyph{TorculusResupinus*}{*}{.alt};
def-m2:\greresetglyph{TorculusResupinus*};
%%
(c4) Pau(d)ló(f)mi(c)nus(d) ab(d) An(ixdh!i>)ge(h)lis<sp>*</sp>(h) mi(h)no(gf)rá(gh)tus,(h) (;)
gló(h)ri(h)a(hj) et(h) ho(g)nó(h)re(gh) co(eg)ro(fe)ná(d)tus(cd) est,([nm1]d) (:)
et(dgfg~) con([nm2]gh>)sti(fe)tú(df)tus(fc) su(c)per(d) ó(f)pe(g)ra(f) má(h)nu(g)um(efe) De(d)i.(d) (::)
<eu> E(h) U(h) O(g) U(f) A(gh) E.(g) </eu> (::)