Strange but minor hyphenation issue

38 views
Skip to first unread message

Rob Leduc

unread,
Feb 20, 2022, 9:38:00 AM2/20/22
to Gregorio Users
Hi

I have a score with a line break at the first syllable of Venite, where the notes on the second syllable have an initio debilis.  Compiled like this, there is no hyphen present at Ve-, but if I change the initio debilis to a normal note the hyphen appears.  In this example, the initial formatting is necessary to get the line break right; using a forced line break by adding a z in this spot did not seem to exhibit the problem.

I've attached the .glog files and the output pdf from my system as well.  Can't recall if messages to the group allow attachments.

There are easy fixes for my particular problem - adding a hard line break or moving the position of the star to the previous bar both seem to fix it.  But I thought I should point it out all the same as I would not have expected it to occur and personally might easily miss it in proofreading.

MWE
\documentclass[12pt,twoside,latin]{book}
\usepackage[autocompile]{gregoriotex}
\usepackage[a5paper,width=4.25in,outer=0.5in,top=0.75in,bottom=0.5in,marginparwidth=0em,
marginparsep=0em,includeheadfoot]{geometry} %
\usepackage{fontspec}
\newfontfamily\BigI{QTCloisteredMonk} %font for non-illumenated initials
\grechangestyle{initial}{\fontsize{40}{40}\BigI \selectfont}
\gresetinitiallines{1}
\usepackage[oldstyle]{libertine}
\begin{document}
\gresetheadercapture{annotation}{greannotation}{}
\gregorioscore{sample3}
\bigskip

\gregorioscore{sample4}

\end{document}


sample3.gabc
-----------------------
name:Regem angelorum;
annotation: Invit.;
annotation: V.;
%%
(c3) Re(f>)gem(d) An(d)ge(fh)ló(h)rum(hf) Dó(FH/ihih)mi(ghGF)num:(f!gwhGEDEfvfe) (;)
<sp>*</sp> Ve(d)ní(-efef)te,(f!gwhg/hih) ad(ffO1e)o(ef)ré(fvEDCdwede)mus.(ed) (::)
Ve(h)ní(h)te.(hiHssfgf) (::)
 <v> {\scriptsize {\itshape pag.\/} XXXIII}</v>( )

sample4.gabc - the same except the red note group:
-----------------------------
name:Regem angelorum;
annotation: Invit.;
annotation: V.;
(c3) Re(f>)gem(d) An(d)ge(fh)ló(h)rum(hf) Dó(FH/ihih)mi(ghGF)num:(f!gwhGEDEfvfe) (;)
<sp>*</sp> Ve(d)ní(efef)te,(f!gwhg/hih) ad(ffO1e)o(ef)ré(fvEDCdwede)mus.(ed) (::)
Ve(h)ní(h)te.(hiHssfgf) (::)
 <v> {\scriptsize {\itshape pag.\/} XXXIII}</v>( )


mwe2.pdf
sample3-6_0_0.gtex
sample4-6_0_0.gtex

Wolfy

unread,
Mar 4, 2022, 3:20:28 AM3/4/22
to Gregorio Users
I Rob.
I am a new user of gregorioTex but I will try to help you anyway hoping to be useful.
Have you tried importing the "babel" package with the Latin liturgical spelling like this:

\usepackage[ecclesiasticlatin.ecclesiasticfootnotes,activeacute]{babel}
\babelprovide[hyphenrules=liturgicallatin]{latin}

Rob Leduc

unread,
Mar 12, 2022, 10:10:22 AM3/12/22
to Gregorio Users

Thanks - a bad hyphenation pattern was certainly a possibility, but as it turns out, adding these lines of code to my preamble changes nothing visible to the eye.

Wolfy

unread,
Mar 13, 2022, 9:15:50 AM3/13/22
to Gregorio Users
So...If you want a note initio debilis you must use this simbol(~) after the note.
In your case:
Ve(d)ní(e~fef)te,(f!gwhg/hih)

and not like this:

Ve(d)ní(-efef)te,(f!gwhg/hih)


If you want break a line (and not the program) in a certain point you must use "z" after one note or at the end of melisma. Like this:
Ve(dz)ní(e~fef)te,(f!gwhg/hih)

In this case after "Ve" the line will break.

A.

Rob Leduc

unread,
Mar 13, 2022, 6:47:37 PM3/13/22
to Gregorio Users
I don't intend to place the line break by hand - that is just where it happens to occur, and it seems to suggest a problem with the Gregorio end-of-line algorithm.  There are certainly elementary solutions to my particular problem - I would probably place a z to move Ve- to the next line anyway and then the hyphen appears with the note cluser (-efef) for ní.   But in other situations I may not be in the position to have such a natural line break suggest itself, nor necessarily notice the missing hyphen in proof-reading.  It seems it really ought to be placed automatically without a z.

Additionally, while using the notes (e~fef) for ní does indeed result in a hyphen at the end of the prior line at Ve-, unfortunately the resulting note cluster on ní is not correct.  I get an isolated initio debilis followed by a porrectus.  Conversely, on page 300 of the Gregorio 6 documentation (GregorioRef.pdf), the cluster (-gigi) is given as an example of a TorculusResupinusTwoTwoTwoInitioDebilis, which I believe is what I'm looking for, and does, in fact, display properly in the first example attached (albeit with a hyphen problem).

In any case, this issue seems related to the Gregorio TeX end-of-line code.  I try all four combinations of z/no-z and -efef vs. e~fef in the attached; all have the hyphen at Ve- except for the one with no-z and the right notes. 

Rob


mwe2.pdf
Reply all
Reply to author
Forward
0 new messages