On Wed, Aug 10, 2016 at 11:36:48AM +0200, Infermeria Abbazia Mater Ecclesiae
wrote:
> Dear Jakub
>
> If you want it in text, perhaps \GreNABCChar{pe} and similar would work too.
> >>
> >
> This doesn't work as a standalone command, maybe I should include it into a
> macro, as it is described on the hints&tricks page?
> I instintively defined the following:
>
> \makeatletter
>
> \def\gretextnabc#1{{\gre@font@nabc\csname GreCP#1\endcsname}}
>
> \makeatother
>
>
> but I think I should change that GreCP into something else I don't know...
You can have a look at doc/GregorioNabcRef.tex, that uses multiple macros
for nabc neumes in the text.
E.g.
\GreNABCChar{```po////pe>2lse7lsl3qlhh!vshhppt1sut2ql>ppu3}
is used there and works, perhaps
\gresetnabcfont{gregall}{8}
is needed first?
I guess you can try to remove stuff from GregorioNabcRef.tex until you have
the minimum amount needed for it to work.
There is also
\def\sneume{%
\begingroup %
\catcode`\~=12{}%
\catcode`\@=11{}%
\sneumebody%
}
\def\sneumebody#1{%
\font\grefontnabc={name:gregall} at 6pt\grefontnabc\begin{gre@style@nabc}%
\directlua{tex.sprint(gregoriotex.nabc_font_tables["gregall"]["\luatexluaescapestring{#1}"]
or "")}%
\end{gre@style@nabc}%
\endgroup %
}
but unlike \GreNABCChar this doesn't interpret the nabc syntax, but instead
really looks for a glyph with such a name in the font.
Jakub
_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users