0 votes
21 views

Paratext automatically inserts 0x200f RTL marks inside of references to get the logical order (chapter:startverse-endverse) to look correct in RTL languages.

However, it seems like sometimes it's not getting inserted, and I'm struggling to figure out what is or isn't triggering it. So I'm looking for the logical rules that PT uses, like "in this context, do this".

1) It seems like they 0x200f markers get inserted when typing a reference in \xt...\xt* markers, but not when they're just written in plain text. Is that correct?

2) I'm assuming that changing the "Reference order" in Scripture Reference Settings from Book Chapter Verse to Book Verse Chapter, changes this behavior, with the first of those adding 0x200f before every : and -, and the 2nd option not adding them before :, but only before -.

3) The behavior another user is reporting to me looks visually like endverse-chapter:startverse. I'm pretty sure that means there's no 0x200f added in at all (I don't have access to the actual text). What would cause that? Typing the reference before adding \xt? (see #1)

Paratext ago by (1.9k points) | 21 views

Did you re-post this? I could have sworn I answered this question yesterday.

Nevermind, I just saw the email about this.

1 Answer

0 votes
  1. The RTL marks are automatically inserted for the following styles: \r, \ior, \sr, \mr, \fig, \rq, \xt, \fr, \xo, \xop, \xta, \xot, \xnt, \xdc
    The RTL marks are inserted via the following Regular Expression. [\u200E\u200F]*(\d+\w?)[\u200E\u200F]*([PUNCT_PAT])[\u200E\u200F]*(?=\d) (where PUNCT_PAT is replaced with the the reference punctuation for the project).
  2. Yes, the "Reference order" setting changes what happens. It makes it insert RLT or LTR characters.
  3. Hard to know what happened. A way to manually trigger another scan is to use Project > Advanced > Standardize whitespace. That will rescan the entire project for missing RTL marks, but beware that it will also standardize all whitespace in the entire project.
ago by [Expert]
(16.6k points)

Related questions

0 votes
3 answers 728 views
I am trying to fine tune a .tec encoding converter to make it round trip safe for a Left-to-Right transliteration ... familiar with RegexPal. Any suggestions of how to do this?
DVM 175 asked Mar 17, 2021
0 votes
0 answers 153 views
If you have a hard time seeing the insertion point, follow the steps below to increase its size. In the Control Panel of your ... How do I change the size of the font in a window?
[Expert]
anon421222
735
asked Feb 23, 2017
+1 vote
2 answers 313 views
Hello, Currently we are checking our translation and jumping around a lot from verse to verse and chapter to chapter. ... Est. reading time: 13 minutes Thanks so much, anon094061
alex_larkin 379 asked May 6, 2021
+1 vote
12 answers 1.2k views
Hello Paratext community, I have found that Paratext's autosaving behaviour is different than what I expect, so I thought I'd ... do you expect? What do you see in your teammates?
alex_larkin 379 asked Apr 3, 2021
0 votes
1 answer 211 views
Hi there, I was just wondering about some details of Paratext's behavior as it relates to saving, autosaving, and sending/ ... but I wanted to ask to be sure. Thanks so much!
alex_larkin 379 asked Apr 3, 2021
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
For where two or three gather in my name, there am I with them.
Matthew 18:20
3,037 questions
5,994 answers
5,661 comments
2,022 users