Tradicionalmente NO hemos permitido que las líneas se rompan en guiones intrapalabra. Pero para este libro de Jonás queremos experimentar con esta opción. En la pestaña View/Edit > Changes.txt añadí el fragmento de código de los botones muy útiles de la derecha: la línea 7 en la captura de pantalla. Esto funciona muy bien, ¡gracias por estas sugerencias de fragmentos tan útiles! Sin embargo, en un párrafo necesito evitar una cadena de sufijo huérfana, así que añadí la línea 9 y luego usé «Expand paragraph by one line» en mi ventana de diseño de PTX Print.

El resultado de esta configuración es el siguiente: mismo resultado: la línea 7 anula la línea 9. Cuando comento la línea 7, la palabra piriʼooareha-ʼuuri se mueve correctamente como una unidad a la siguiente línea; sin embargo... todos los guiones intrapalabra al final de la línea se tratan como no rompibles, lo cual no es lo que quiero.
Entonces me di cuenta (¡obvio!) de que la línea 7 permite el salto de línea insertando un espacio de ancho cero después del guion. Así que lo probé para la línea 9:
at JON 1:8 '(piriʼooareha)-\u200B(ʼuuri?”)' > '\1\u2011\2'
Pero el sufijo seguía huérfano. Este código de expresión regular está por encima de mi nivel de competencia.

Entonces, ¿cómo anulo el código «allow linebreaks after in-word hyphens» para una sola instancia? ¿O se podría ajustar este fragmento de código para un alcance más estrecho o algo así?
We have traditionally NOT allowed lines to break in-word hyphens. But for this Jonah book we want to experiment with this option. On the View/Edit > Changes.txt tab I added the code snippet from the very helpful buttons at the right--line 7 in the screenshot. This works great--thank you for these helpful snippet suggestions! However, in one paragraph I need to avoid an orphaned suffix string, so I added line 9 and then used "Expand paragraph by one line" in my PTX Print Layout window.

The result of this configuration is below--same result : Line 7 overrides line 9. When I comment out line 7 the word piriʼooareha-ʼuuri is correctly moved as a unit to the next line; however... all end-of-line in-word hyphens are treated as non-breaking, which is not what I want.
So then I noticed (duh!) that line 7 allows the line break by inserting a zero-width space after the hyphen. So I tried this for line 9:
at JON 1:8 '(piriʼooareha)-\u200B(ʼuuri?”)' > '\1\u2011\2'
But the suffix was still orphaned. This regex code is above my power-OWL paygrade.

So how do I override the "allow linebreaks after in-word hyphens" code for a single instance? Or could this code snippet be tweaked for a narrower scope or something?
Traducción automática desde English