Right-alignment of \ior

I have a case with an \io1 that is kind of long, when I use the right-aligned with dotted leader option for the \ior I get this:

Is that proper treatment of the \ior? It seems kind of weird that the “3 and 4” does not appear to the right.

In contrast, if the text is a bit longer, we get in another place:

So do I just tell the translators to make their text a little longer?! PTXprint should probably have a more elegant way of handling that situation, however…

There might be a better (programmatic) way of handling this kind of thing in future, but for now I suggest adding a couple of change rules to force a line-break wherever you need it. And give enough context, so that it doesn’t break the (same) text found elsewhere in the book! For example:

at RUT "ɓay vəra’ vay" > "ɓay vəra’\u2028vay"
at JON "ɓay raw Zonas" > "ɓay raw\u2028Zonas"

would give you output like this.



There are a few things to notice here:
a) \u2028 forces a line break in the paragraph
b) You will need to change the alignment property of the \ior style to be Left, (rather than Justified) otherwise you’ll just get some strange-looking stretched text.

MH has recently patched a bug where columns were getting mixed together someiimes. I’m guessing you were hitting that bug. Note that Mark’s modification is going to hit every occurrance of that phrase. You might want to restrict the matching rule to only substitute with certain markers if there are other occurances. e.g.:

"(\\ior .) oldtext" > "\1 newtext"

Yes, you probably need to constrain those changes further, and I’d suggest:

at RUT in "\\io1 .+\\ior": "ɓay vəra’ vay" > "ɓay vəra’\u2028vay"
at JON in "\\io1 .+\\ior": "ɓay raw Zonas" > "ɓay raw\u2028Zonas"

This says, only at / in the book of Ruth (or Jonah) look within the context of \io1 ... \ior for the matching text and insert the line break.

If you had lots of these, it might be easier to have a more generic rule like:

at RUT in "\\io1 .+\\ior": "(ɓay vəra’) (vay)" > "\1\u2028\2"

so that you only have one side of the change rule to think about (copy and paste the snippet from the text, and then add the parentheses to show where to make the break). The right hand side (replace with) would always stay the same.