0 голосов
256 просмотров

There is a thread in TCoP regarding non roman projects that want to use variable spacing after phrase final (, ; :slight_smile: punctuation and sentence final (. ? !) punctuation.

I’ve seen a couple of solutions suggested in those threads to use things like space followed by en/em space, spaces separated by u+200B zero width spaces.

Would these work for projects uploaded to the DBL and then accessed by You Version and other library card holders?

Старое сообщение — показано на исходном языке
Paratext от (571 очков) | 256 просмотров

1 ответ

0 голосов

This is a bit of a wild guess since I’ve done very little with publishing paths downstream from Paratext, but in general, alternating with NBSP is a useful trick any time you want to display a sequence of multiple spaces in an HTML view. This includes some non-website applications; e.g. Paratext and Paratext Lite both use HTML views to display Scripture text.

Be aware that, if you’re editing in Paratext, it proactively removes extra spaces, so a sequence of EN EM EN spaces gets reduced to a single EM space when typed or pasted into Paratext.

If you instead alternate with NBSP (which Paratext represents as a tilde, to make it visible when editing), you can preserve whatever is on either side of the NBSP. For example, if you paste in a sequence of EN NBSP EM, Paratext does preserve that.

Using a zero-width joiner may work even better than NBSP, if you want more precise control over the total spacing or if you’re entering this in Paratext and don’t want to see the tildes. (I’m guessing this sequence is actually something you’d insert downstream from PT with a script or regex.)

Again, this is guesswork. Hopefully, someone in publishing can chime in if either of these is a good approach, or if there’s a better way.

Старое сообщение — показано на исходном языке
от (264 очков)

P.S. I’m not sure if this is exactly what gets passed downstream, but one other trick that may be useful is to use Shift + right-click while in Preview view, and inspect the HTML in your browser. (Preview view is useful because it is read-only and thus can safely replace the tilde with a true NBSP.)

You can then hit F11 to inspect a paragraph and see what’s there. Screenshot below.

In my limited experience, this seems slightly more accurate than selecting text in Preview view and copy/pasting it into something like BabelPad for inspection.

Старое сообщение — показано на исходном языке

Похожие вопросы

0 голосов
2 ответов 87 просмотров
У меня есть проект, в котором используются открывающие знаки вопроса и восклицания, похожие на испанские и . ... я мог пометить их как недействительные? Заранее спасибо! fork
Fork 184 задал вопрос ноя 14, 2024
0 голосов
2 ответов 296 просмотров
We have several languages in our area that do not normally use punctuation to mark end of sentence. They mark end of ... a lot of Punctuation missing at end of Paragraph . Thanks
MSEAIT_LT 478 задал вопрос ноя 29, 2017
+1 голос
1 ответ 388 просмотров
Некоторые проекты перевода не хотят ставить точку в конце своих сносок. Просто опуская её, вы заставите сноски не пройти ... точки в конце сносок - Helps - Paratext Supporter Site
[Expert]
Jeff_Shrum
2,9тыс.
задал вопрос авг 30, 2022
0 голосов
2 ответов 258 просмотров
I'm using Paratext 9.0.100.74. In some cross references, I would like to be able to create a cross reference in the ... ill-formed, and (2) whether there's a solution? Thanks!
viverechristus 296 задал вопрос май 5, 2020
0 голосов
3 ответов 447 просмотров
We have languages using Devanagari script. In Devanagari final punctuation is । (danda marker). But Paratext 8 is not ... How can I add custom punctuation to Paratext? thanks binoy
binoy 327 задал вопрос июл 6, 2018
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Every day they continued to meet together in the temple courts. They broke bread in their homes and ate together with glad and sincere hearts, praising God and enjoying the favor of all the people. And the Lord added to their number daily those who were being saved.
Acts 2:46-47
3,048 вопросов
6,007 ответов
5,672 комментариев
2,028 пользователей