On Thursday, 10 September 2015 at 02:58:41 pm +0200, Élie Roux wrote:
> > Any thoughts?
> 
> Another solution: instead of having the syllable in 3 parameters:
> 
> \gresyllable{a}{b}{c}{1}{\gresetnextsyllable{d}{e}{f}}
> 
> have something like

Something like this is already the case.  I needed an extra argument for
one of the recent issues, so that's already been refactored.

> 
> \gresyllable{1}{\gresetsyllabletext{a}{b}{c}\gresetnextsyllable{d}{e}{f}}
> this would allow:
> 
> \gresyllable{1}{\gresetsyllabletext{}{ab}{c}{a}{bc}\gresetnextsyllable{d}{e}{f}}
> 
> where the arguments of gresetsyllabletext are
> 
> 1: first part with the current centering system
> 2: second part with the current centering system
> 3: third part with the current centering system
> 4: first letter
> 5: letters after the first
> 
> this would make things quite straightforward and avoid complex TeX
> treatment (which could be difficult in corner cases...

This makes sense, but it would (obviously) create a lot of repetition in
the gtex file.  Probably not much to worry about.

> This leaves one problem: what happens when in gabc you have a forced
> centering:
> 
> a{b}c(g)
> 
> and you want the first letter? Do you take a or b?

This is open to interpretation.  First letter can either mean "always
the first letter" or "the first letter unless I override it with
braces."  I was going to simply do the former.

Henry

_______________________________________________
Gregorio-devel mailing list
[email protected]
https://mail.gna.org/listinfo/gregorio-devel

Répondre à