0 votes
59 views

Hi Friends,

I have a typesetting project wherein I have to display the numbers in Latin numeric whereas the font used for the main text is a different script. So, In the Reference \r marker, we place the reference in Latin number (eg: Lk 3.23–38). When exported to InDesign via PA7, since we used a different font (Noto San Hanifi Rohingya, I am not sure whether this font is a modified/copied version from another font) all the numeric that we want to display in normal Latin numeric are shown in just "tofu". I wonder whether there's a regular expression we can use to hand-pick all the numeric characters and change the font (eg: to Charis SIL) for these specific numeric values in the Changes.txt file to display them correctly.

I am unable to code the regular expression. I need your help to accomplish this task.

Thank you.

General by (220 points) | 59 views

1 Answer

0 votes
You could use an InDesign GREP style for this:
1. Create a character style like "RefArabicNumerals" or "RefWesternNumerals" with e.g. Charis SIL.

2. Open the settings for the paragraph style "r" and navigate to GREP styles.

3. When you click to add a new GREP style, the example Regex should be the one, you are looking for: "\d+" (i.e. "one or more digits").

4. For applied format you choose your "RefArabicNumerals"/"RefWesternNumerals" character style.
by (872 points)

Related questions

0 votes
1 answer 50 views
I'd like to change the font for the HEB/GRK Resource. When I go to do that in the Project Settings > ... way to override this font in custom settings or a custom stylesheet?
edwinsmith 114 asked Oct 31, 2024
0 votes
1 answer 36 views
I am typesetting one of our projects, and every time I export/create a book to InDesign, I always receive this warning ... that somebody may be able to help me solve this issue.
TSNgaihte 220 asked Jun 2, 2025
0 votes
2 answers 345 views
A vernacular translator wants to show a Hebrew letter at the beginning of each section in Psalm 119. The font they use ... want to have the first section heading be: א Alep John
anon084052 157 asked May 12, 2020
0 votes
1 answer 204 views
I have three auxiliary projects in Paratext, that contain the text of a booklet that is being produced in the three different ... , and if so, which files and from where to where?
muckles 116 asked Jan 13, 2021
0 votes
1 answer 28 views
This occurs in cases like the Odia word: ସା'ତେରେ In this context, the character ' (U+2019) is being ... complying with Paratext's validation rules. Thank you for your support.
Shivaji 117 asked Mar 18
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
If anyone destroys God’s temple, God will destroy that person; for God’s temple is sacred, and you together are that temple.
1 Corinthians 3:17
3,038 questions
5,994 answers
5,661 comments
2,022 users