Latin hyphenation patterns

108 views
Skip to first unread message

CieMaKat

unread,
Mar 4, 2021, 11:37:56 AM3/4/21
to gregori...@googlegroups.com
Hello.

Can anyone recommend good hyphenation patterns for Latin? I need them for Adobe InDesign and Affinity Publisher.

I tried many (including ones from https://gregorio-project.github.io/hyphen-la/), yet all of them have problems with hyphenating accented words. I.e.
Dominus is hyphenated as Do-mi-nus, but Dóminus is hyphenated as Dóm-in-us.

I.e. InDesign CS6 with hyph.la.liturgical patterns from gregorio's hyphen-la:
image.png

Best,
Mateusz

Pierre François

unread,
Mar 4, 2021, 11:44:39 AM3/4/21
to gregori...@googlegroups.com

Hello

I am not able to solve your problem, but setting the language of the text to Italian could be a good workaround for having  an acceptable working solution.

Yours.

Fr. Pierre

--
Gregorio homepage: http://gregorio-project.github.io
Archives for the old mailing list: http://www.mail-archive.com/gregori...@gna.org/
To report a bug, please post to: https://github.com/gregorio-project/gregorio/issues
---
You received this message because you are subscribed to the Google Groups "Gregorio Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gregorio-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gregorio-users/CANmrhERd7doKouL9z%3Da7Vibj87-AU1Gr8x49ySm7d7T0z6VC%3Dw%40mail.gmail.com.

Élie Roux

unread,
Mar 4, 2021, 11:46:43 AM3/4/21
to gregori...@googlegroups.com
Dear Mateusz,

Can you describe the way you tested the patterns in a bit more
details? In the page you link to
(https://gregorio-project.github.io/hyphen-la/), if I type Dóminus in
the right area and click on "Syllabificate", this gives
"Dó()mi()nus()" which seems to indicate that it works.

Dóminus is not part of the tests of liturgical Latin yet, but the repo
is fairly well documented and there's a good battery of tests so you
should be able to create a pull request.

Thanks!
--
Elie

CieMaKat

unread,
Mar 4, 2021, 12:11:55 PM3/4/21
to gregori...@googlegroups.com
Hello Elie,

The testing was pretty straight forward. I installed hyphenation patterns along with latin dictionary and affixes in both InDesign and Affinity Publisher.
Then, in both applications, I created text frames with Dóminus and decreased their width to force hyphenation.

I'm trying to find out what's going on for a week now. I suspect there could be some bug in a hyphenation library InDesign and Publisher are using. But I can't prove that.

Best,
Mateusz


--
Gregorio homepage: http://gregorio-project.github.io
Archives for the old mailing list: http://www.mail-archive.com/gregori...@gna.org/
To report a bug, please post to: https://github.com/gregorio-project/gregorio/issues
---
You received this message because you are subscribed to the Google Groups "Gregorio Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gregorio-user...@googlegroups.com.

Élie Roux

unread,
Mar 4, 2021, 12:16:23 PM3/4/21
to gregori...@googlegroups.com
What files / patterns did you install? The accents will only work with
the liturgical patterns.

Best,
--
Elie

CieMaKat

unread,
Mar 4, 2021, 12:47:20 PM3/4/21
to gregori...@googlegroups.com
Hello Élie,

I finally managed to find the root cause of this issue.
It was encoding problem - all files (dic, aff and hyph_.dic) were saved as UTF-8 with BOM. 
Saving them as UTF-8 without BOM resolved the problem.

Finally!

Best,
Mateusz

--
Gregorio homepage: http://gregorio-project.github.io
Archives for the old mailing list: http://www.mail-archive.com/gregori...@gna.org/
To report a bug, please post to: https://github.com/gregorio-project/gregorio/issues
---
You received this message because you are subscribed to the Google Groups "Gregorio Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gregorio-user...@googlegroups.com.

Élie Roux

unread,
Mar 4, 2021, 12:51:26 PM3/4/21
to gregori...@googlegroups.com
Ah great! Can you open an issue about that on the hyphen-la github repo please?

Thanks!
--
Elie

CieMaKat

unread,
Mar 4, 2021, 12:58:25 PM3/4/21
to gregori...@googlegroups.com
It was purely my oversight. All files in the repo are encoded correctly, so there's no reason to create an issue.
Unless you want to have this on Github in case someone else is facing the same issue in the future and looking for an answer.

Best,
Mateusz

--
Gregorio homepage: http://gregorio-project.github.io
Archives for the old mailing list: http://www.mail-archive.com/gregori...@gna.org/
To report a bug, please post to: https://github.com/gregorio-project/gregorio/issues
---
You received this message because you are subscribed to the Google Groups "Gregorio Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gregorio-user...@googlegroups.com.

Élie Roux

unread,
Mar 4, 2021, 1:00:40 PM3/4/21
to gregori...@googlegroups.com
> It was purely my oversight. All files in the repo are encoded correctly, so there's no reason to create an issue.
> Unless you want to have this on Github in case someone else is facing the same issue in the future and looking for an answer.

Oh ok! No need for an issue then. Thanks!
--
Elie
Reply all
Reply to author
Forward
0 new messages