diff --git a/tex/gregoriotex-spaces.tex b/tex/gregoriotex-spaces.tex index d5b67c382..682b513e4 100644 --- a/tex/gregoriotex-spaces.tex +++ b/tex/gregoriotex-spaces.tex @@ -862,12 +862,14 @@ %to prevent the pollution of the normal values, we stock them into a temp value \gre@dimen@temp@two=\gre@dimen@textaligncenter\relax% \gre@calculate@textaligncenter{#1}{#2}{#3}{1}% + \gre@dimen@temp@four=\gre@dimen@notesaligncenter\relax% \global\gre@skip@nextbegindifference=-\gre@dimen@textaligncenter\relax% - \global\gre@dimen@textaligncenter=\gre@dimen@temp@two % - \gre@dimen@temp@two=\gre@dimen@notesaligncenter\relax% + % caution: calculate@nextnotesaligncenter needs a properly set \gre@dimen@textaligncenter + % (corresponding to the text align center of the next syllable) \gre@calculate@nextnotesaligncenter{#5}% idem \global\advance\gre@skip@nextbegindifference by \the\gre@dimen@notesaligncenter\relax% - \global\gre@dimen@notesaligncenter=\gre@dimen@temp@two % + \global\gre@dimen@textaligncenter=\gre@dimen@temp@two % + \global\gre@dimen@notesaligncenter=\gre@dimen@temp@four % \fi % \relax % }% diff --git a/tex/gregoriotex-syllable.tex b/tex/gregoriotex-syllable.tex index 97a75142d..44bfcc2a2 100644 --- a/tex/gregoriotex-syllable.tex +++ b/tex/gregoriotex-syllable.tex @@ -1128,7 +1128,9 @@ %a macro to typeset a syllable with only a bar inside \def\GreBarSyllable#1#2#3#4#5#6#7#8#9{% + \gre@debugmsg{general}{}% \gre@debugmsg{general}{New bar syllable}% + \gre@debugmsg{general}{}% \global\advance\gre@attr@syllable@id by 1\relax % \gre@possibleluahyphenafterthissyllablefalse % \gre@showhyphenafterthissyllablefalse %