0 votes

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:
image

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:
image

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…

PTXprint by (1.3k points)

2 Answers

0 votes

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.

kK7m05DJXA0keESA

dsOAl58XCt5lSYiu

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.

by (2.6k points)
0 votes

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"
by (294 points)

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.

Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Don’t you know that you yourselves are God’s temple and that God’s Spirit dwells in your midst?
1 Corinthians 3:16
2,628 questions
5,369 answers
5,045 comments
1,420 users