0 votes
191 views

We use the tilde a lot in one project, where the punctuation is close to French.

I know that when toggling to preview, all tildes will go away and show the non-breaking spaces.

Now we are using another similar placeholder § to have normal spaces in certain specific locations (where PT would kill them with its brutal auto-delete-spaces “feature”).

I know where to edit PrintDraftChanges.txt so that all is well in PDF output.

Now where please do I tell PT how to consider our § for the preview and turn them into regular spaces?

If there is another way, to just type spaces right after a \marker and protect it from PT, then that would be a better solution even.

Or if you happen to know a Unicode character that is included in “our normal fonts” and does look like a space but is not deleted by PT, that would be a nice hack too. It will need to behave like a breaking space, because it is typically followed by entire words, not just punctuation.

(For those who like to know context: We have a marker-pair for our glossary, where we can include [Greek] or [Hebrew] or [French] hints or origins of glossary entries. Like you see in dictionaries. Those are of course tagged as nonvernacular and so they throw our punctuation checking. This is why we would like the needed spaces inside our marker-pair and that in turn would put a space right after the opening marker, where PT keeps deleting it.)

Paratext by (934 points)
reshown | 191 views

1 Answer

0 votes

Maybe I have just found an answer, minutes after posting:

I can include our new placeholder § in Language settings “word breaking characters”. That would enable the correct behaviour when toggling preview.

But: It would no longer be rendered as a space, but rather as a “nothing”. Then I noticed a hint about hyphens in the lateral Guide:

Immediately following the character in the box, enter (00AD) - include the parentheses - if you want a hyphen to appear when a long line wraps.

So my brain goes: “What if I place (0020) instead of (00AD)? Will it break PT?” Of course I had to try it and it seems to do what I want.

And a note to those who like to tweak things just right: Having changed the language settings like this, I lost a lot of my checking inventories (of course) because PT now has a new structure to work from. This did nothing ugly in our texts, but I will have to do plenty clicking and confirming in all the checking-inventories concerned. A small price for fruitful reasearch.

by (934 points)

Related questions

0 votes
3 answers 449 views
We have a project where the language group wants to use the numeral system from their area for chapter and verses. We ... .0 documentation (ubsicap.github.io) image588 651 74.8 KB
MSEAIT_LT 478 asked Jun 20, 2022
0 votes
1 answer 62 views
I'm trying to find the home page for Paratext 10 Studio. If I go to https://studio.paratext.org/ (the ... dedicated to Paratext 10 Studio has been deleted with no replacement.
bit 495 asked Jul 31
0 votes
1 answer 209 views
When registering a project, I see Portions, Selections, and Shorter Bible: image691 318 22.5 KB I see the ... the definitions for Selections or Shorter Bible? Thanks, james_post
[Moderator]
james_post
2.1k
asked May 13, 2021
0 votes
1 answer 11 views
My colleague is running the latest version of Paratext 9.5 also but cannot find the userMenu.txt file to add new ... default set of expressions in the User tab of RegEx Pal.
anon180868 195 asked Mar 18
+1 vote
1 answer 240 views
A few months ago I tried out (and gave some feedback for) the new Quotation types check in PT 9.4 Beta. Last week ... to it? This is what the Basic Checks dialog looks like: Paulus
Paulus Kieviet 517 asked Dec 12, 2023
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
I urge you, brothers and sisters, to watch out for those who cause divisions and put obstacles in your way that are contrary to the teaching you have learned. Keep away from them.
Romans 16:17
3,037 questions
5,995 answers
5,661 comments
2,022 users