On Wednesday, 22 June 2016 at 10:00:38 am +0200, Jakub Jelinek wrote:
> On Wed, Jun 22, 2016 at 09:36:39AM +0200, Infermeria Abbazia Mater Ecclesiae
> wrote:
> > 2016-06-21 20:37 GMT+02:00 Jakub Jelinek <[email protected]>:
> >
> > >
> > > For the ability to also not show nabc at the TeX level even when
> > > nabc-lines: 1,
> > > I agree it is a nice to have thing.
> > >
> >
> > I don't know exactly how things work here, but maybe it could be possible
> > something like the following:
> > actually in gabc header we have 1 field, "nabc-lines:x" where x is the
> > number of adiastematic notations included in the score.
> > My proposal: when more than 1 nabc lines are added, the syntax for
> > nabc-lines field becomes the following:
> >
> > nabc-lines:1a,2b,3a,4a etc;
> >
> > where the numbers are the adiastematic writings in the order they're added
> > in the code (for instance:
> > De(<gabc>|<nabc1>|<nabc2>|<nabc3>|...)
>
> You can't use nabc-lines: 0; and expect to have any <nabcN> strings, the
> parser would not know how many there are.
> The above vs. below placement vs. hide is IMHO better something to specify
> at the TeX level, but some gabc header should specify the kind of neumes,
> because trying to interpret Laon nabc as St. Gall neumes or vice versa is
> not going to work well.
> So I was thinking about:
> nabc-lines: 2;
> nabc-line1: gregall;
> nabc-line2: grelaon;
> (perhaps it could be the default this way for nabc-lines: 2;, for
> nabc-lines: 1; the default could be just nabc-line1: gregall;, as pieces
> with just Laon and no St. Gall neumes are rare), and leave the rest to some
> TeX macros, where one could tweak placement, hiding, coloring etc. based on
> the tag used in the headers and nabc line number or something
> (with the default being for nabc-lines: 1; nabc-line1: gregall; to emit
> red St. Gall neumes above, and for nabc-lines: 2; nabc-line1: gregall;
> nabc-line2: grelaon;
> black Laon neumes above and red St. Gall neumes below to match GT).
Just a thought here, perhaps:
- The header in gabc define the structure of the gabc file (i.e., how
many nabc lines are defined in the file). This means no additional
nabc-related headers in gabc.
- All other configuration (fonts and nabc position relative to the
staff) is in TeX, something like \gresetnabcline{1}{above}.
- You should be able to to disable typesetting of some or all of the
nabc lines from TeX, maybe \gresetnabc{disabled} for all and
\gresetnabcline{1}{hidden} for individual lines.
Bad idea?
Henry
_______________________________________________
Gregorio-users mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-users