0 votes
23 views
In my current typesetting project, the possible hyphenation points are determined primarily by syllable boundaries, not by hyphenatedWords.txt. Such points are most easily defined using a series of regex replacement rules.

I remember a few years ago seeing that it was possible to introduce soft hyphens uses changes.txt rules (as can also be done in Publishing Assistant), but in PTXprint, some additional settings were needed in the ptxprint-mods.tex file. But nothing I've tried has worked.

I see that under Hyphenation > Import List, there is a grayed-out option for "Add syllable-based hyphenated words", but I can find no documentation on how to enable and make use of that feature.
PTXprint by (110 points) | 23 views

1 Answer

0 votes
Best answer
On the Fonts&Scripts tab, enable hyphenation. This will disable intercharacter spacing for technical reasons (hyphenation doesn't work with intercharacter spacing turned on, although it might with rule based hyphenation)

In your changes.txt add rules that include a \SFTHYPHEN or U+00AD (they are equivalent) at the possible hyphenation point. E.g.

'([bcdfghjklmnpqrstvwxz])([bcdfghjklmnpqrstvwxz])' > '\1\\SFTHYPHEN \2'

or

'([bcdfghjklmnpqrstvwxz])([bcdfghjklmnpqrstvwxz])' > '\1\u00AD\2'

and print away.
by (656 points)
selected by
Thank you, Martin! These things had I done, except with '\u00ad' in my changes rule instead of with '\\SFTHYPHEN'. After making that change, I'm getting hyphens!!! Thanks so much!

Related questions

0 votes
1 answer 315 views
I'm with a team with a marker error, (which I also have in my own project:) We want to use the \mr marker ... book name, so PT rejects this as a scripture reference error. Thanks
anon913937 124 asked Aug 25, 2023
0 votes
3 answers 315 views
Please advise what is the best way in Paratext 7.6 to check Old Testament quotes that occur more than once. I ... this is a necessary part of final checking a New Testament.
muckles 540 asked Jun 5, 2015
0 votes
1 answer 25 views
I've produced a PDF file with PTXprint. When I open it with Firefox on my desktop, Firefox displays the title of ... reader won't see this confusing title in the wrong language.
bit 495 asked Nov 17, 2025
0 votes
1 answer 99 views
Would it be possible to make "on the line" the default for marginal verse numbers? If not, what is the easiest way to change them from being superscripted to "on the line"?
OJG 112 asked Jan 27, 2025
0 votes
2 answers 181 views
A translator wrote this, I am working on the wordlist for the Northern Kankanay translation so that I can work on ... , would that identify lagsak as the root? Thanks, james_post
[Moderator]
james_post
2.1k
asked Jun 16, 2021
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
How good and pleasant it is when God’s people live together in unity!
Psalm 133:1
3,037 questions
5,994 answers
5,661 comments
2,022 users