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 次瀏覽
我有一個專案,使用了類似西班牙文 和 的問號和驚嘆號開頭標點 雖然我可以使用 regex: [a-z] 和 regex: [a-z] 來找出這些句子錯誤地以小寫字母開頭的地方,但這似乎應該是基本檢查(Basic Checks)的功能 ... 訴我,如何讓這些標點符號出現在「標點符號後接小寫字母」清單中,以便我將它們標記為無效? 提前感謝! fork
Fork 184 提出 已提問 11月 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 提出 已提問 11月 29, 2017
+1
1 個回答 388 次瀏覽
某些翻譯專案不希望腳註末尾有句號 如果直接省略句號,腳註將無法通過標點檢查 不過,Paratext 中有一個選用的設定,可以告訴 Paratext 不要對腳註套用標點檢查 如何變更「檢查腳註中的句末標點」(Check Final ... 如需更全面的解決方案,請參閱主題:如何查找並刪除腳註末尾的句號 - 幫助 - Paratext 支援者網站
[Expert]
Jeff_Shrum
2.9k 提出
已提問 8月 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月 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 提出 已提問 7月 6, 2018
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
And I tell you that you are Peter, and on this rock I will build my church, and the gates of Hades will not overcome it.
Matthew 16:18
3,048 個問題
6,007 個回答
5,672 則評論
2,028 位使用者