0
245 次瀏覽

(Paul Unger writes)

I found a topic in the PT Supporters e-mail list that held promise for how to do this. It involved adding a line like

'\nd' > '\bd'

to PrintDraftChanges.txt in the project folder. The problem is, I don’t know the ‘code’ for small caps. I tried \sc and \smallcaps but neither worked… The code \bd gave bold text, so I think I’m on the right track. Does anyone know what I need to put for small caps?

舊文章 - 以原文顯示
Paratext 提出 | 245 次瀏覽

3 個回答

0
最佳回答

(anon451647 writes)

Here is what I am pretty sure is happening with Small Caps. This information is in addition to updating custom.sty as described above.

There are two ways to do small caps:

  1. Just make the lower case letters into upper case letters and render them with a smaller font size. This works for any font but does not really display exactly the same thing as what a typesetter normally displays for small caps. This is what Paratext seems to do in its editing window.

  2. Add special characters and features to a font to display small caps correctly. Print Draft uses these characters and features from the font. This creates a more pleasing output but only works with specific fonts. The bad part is that many common fonts (Arial, Verdana, Gentium Basic) do not have these characters/features and so Print Draft cannot use them to display small caps.

There is a new version of Gentium available from SIL called “Gentium Plus”. It does have the required features for small caps. You can find it be googling for “gentium plus download”. I recommend using this font if you want to do Paratext Print Draft with Small Caps.

舊文章 - 以原文顯示
提出
0

(Ian Hewerdine writes)

You’re correct, small caps is a character level marker like \nd and follows the same format: \sc …\sc*

I experimented with this today and found that PrintDraftChanges.txt allows me to modify non-marker text and insert markers. It does not allow me to remove or modify existing markers.

This isn’t mentioned in the Help files, so if one of the developers can confirm this behaviour, I’ll update Help to reflect this. The relevant Help topic is called: “How do I apply consistent changes to the text when creating output with Print Draft?”

Regarding markers, you can find all valid markers in the USFM documentation, which can be downloaded at: http://paratext.org/about/usfm

舊文章 - 以原文顯示
提出
0

(anon451647 writes)

In order to display \nd as small caps in both the main editing window and Print Draft do the following:

  1. If you do not already have a file called custom.sty in the directory for this project create one using Notepad or a similar editor

  2. Add the following 3 lines at the bottom of this file and restart ParaTExt:

\Marker nd

\Smallcaps

\Underline -

This says "Modify the \nd marker by adding the small caps style and removing the underline (which the default stylesheet supplies)

  1. Add entries to your project text like \nd Lord\nd*
舊文章 - 以原文顯示
提出

相關問題

0
6 個回答 457 次瀏覽
我希望 \nd 樣式能以小型大寫字母(small caps)顯示。當我從 Paratext 匯出為 RTF 時,\nd 會顯示為底線。我已經在 PTX Print 的 \nd 樣式定義中勾選了小型大寫字母選項,但當我列印以建立 PDF 時,完全看不出樣式的區別。我該做什麼才能實現小型大寫字母?
anon054969 123 提出 已提問 2月 20, 2021
0
6 個回答 555 次瀏覽
您好, 我剛在檢查大寫字母的錯誤使用 特別是,我知道翻譯者有時會不小心把「LORD」寫成 \nd Lord\nd* 但我很驚訝 Run Basic Checks >Capitalization 沒有抓到全大寫字母的情況 這個正則表達式可以找出任何兩個相 ... 合大小寫的搜尋結果中,儘管它們在技術上是全大寫 或者,也許讓它們有自己的類別會更好 非常感謝!
alex_larkin 379 提出 已提問 5月 17, 2021
0
2 個回答 413 次瀏覽
Hi All Does any one can tell me whether there is Smart Caps option in Paratext for Roman letters? The first letter of ... can I get it Smart Caps in Paratext? thanks in Advance
binoy 327 提出 已提問 10月 15, 2019
0
2 個回答 317 次瀏覽
我正在協助的一個團隊希望將上帝的名字顯示為全大寫(而非小型大寫)。我需要在 Changes.txt 中輸入什麼,才能讓 \nd…\nd* 的內容顯示為全大寫?
Ruth Mathys 153 提出 已提問 10月 25, 2023
0
2 個回答 339 次瀏覽
我該如何讓章節編號顯示在單獨一行上——也就是說,不使用縮排首字(drop caps)?
mnjames 1.9k 提出 已提問 2月 28, 2023
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Don’t you know that you yourselves are God’s temple and that God’s Spirit dwells in your midst?
1 Corinthians 3:16
3,049 個問題
6,007 個回答
5,672 則評論
2,029 位使用者