0
231 次瀏覽

For some reason, in some fonts, the bold or italic formatting does not appear in PrintDraft.
For instance, I have a test project using the Andika font. In PrintDraft all the text that should have been bold (section heads for example) was not bold, and the text that should have been italic was not. But if I changed the font to Times New Roman in the PrintDraft dialog, the bold and italic text appeared.

I found I could make bold and italic appear in Andika if I modified the PrintDraft-mod.tex file (inside the PrintDraft folder) to add these definitions.

\def\bold{“Andika:embolden=2”}
\def\italic{“Andika:slant=0.2”}
\def\bolditalic{“Andika:embolden=2;slant=0.2”}

I suppose this is related to the fact that in the Windows control panel, Times New Roman is a font family, if I open it I see Times New Roman Regular, Times New Roman Bold, Times New Roman Italic and Times New Roman Bold Italic. Andika is just one font, not a family.

For non-Roman scripts you may need to add a script definition to your command. This is how I enabled bold & italic for a project using the Annapurna SIL font:

\def\bold{“Annapurna SIL:script=deva;embolden=2”}
\def\italic{“Annapurna SIL:script=deva;slant=0.2”}
\def\bolditalic{“Annapurna SIL:script=deva;embolden=2;slant=0.2”}

舊文章 - 以原文顯示
Paratext [Expert]
(3.3k 點) 提出
| 231 次瀏覽

2 個回答

0

Andika New Basic has bold and italic faces. But it doesn’t have as wide a character coverage as full Andika. NRSI recently created this chart to help you see if your language is covered.

舊文章 - 以原文顯示
(104 點) 提出
0

Be aware that the choice of digit style (under Advanced, “Choice of digit style for \c and \v”) is also controlled by these lines, via a mapping parameter. In other words, if you choose Devanagari digits in PrintDraft and then put these lines in your PrintDraft-mods.tex file, any regular digits will be Devanagari (since you haven’t included a font def line for regular), but if, say, your chapter numbers are bold they will come out as regular ASCII digits. To preserve the digit mapping you have to add it to your font def line, eg:

\def\bold{“Annapurna SIL:script=deva;embolden=2;mapping=devanagaridigits”}

舊文章 - 以原文顯示
(304 點) 提出

相關問題

0
1 個回答 350 次瀏覽
I am producing a Bible with added commentary \add \add* that I want printed in color. By default \add is Bold and Italic ... this in PT8.0 but the issue also applies to PT7.6.
Kent Spielmann 1.8k 提出 已提問 8月 8, 2017
0
3 個回答 381 次瀏覽
大家好, 這個專案使用 \pn \pn* 來將所有專有名詞加粗,我懷疑這是問題的一部分 這是未做調整時的標準狀態: TDD_Default_MRK_ptxp 13497 2942 442 KB 情況 1: 如果我按照訓練影片中的做法,使用「at ... " \pn' > \bd' ",但那沒有用 有什麼想法可以修復這個問題嗎? 祝福, Craig
rcraigwebb 110 提出 已提問 8月 15, 2023
0
2 個回答 203 次瀏覽
一位使用者希望將整段詩歌加粗顯示。有沒有辦法做到這一點,而不必在每個新的詩歌標記後面都加上加粗標記? 我原本以為 \bd* 會界定加粗區塊的結尾,但看起來詩歌標記也會導致加粗文字結束(即使沒有 \bd*)。
Sara 246 提出 已提問 8月 5, 2024
0
2 個回答 246 次瀏覽
我正在進行雙語對照本(diglots)的排版工作 在 Paratext 中,我的次要文字(T2)中的某些樣式看起來比主要文字(T1)中的相同樣式更粗 我猜這可能是因為我在 Paratext 中為這兩種不同的文字使用了不同的字 ... ,我沒有讓 PTXPrint 使用任何其他 .tex 或 .sty 檔案 感謝您能提供任何幫助 John Nystrom
john_nystrom 312 提出 已提問 3月 23, 2021
0
1 個回答 318 次瀏覽
(mnjames 寫道) usfm.sty 樣式表中將 \Italic 列為 \Marker qt 的屬性之一 我希望在 Paratext 中讓引文顯示為無格式文字 我已經從 usfm.sty 中移除了 \Italic,但當樣式 ... usfm.sty 中的 \Italic 我找到了 \Italic 和 \Bold 格式,但找不到移除它們的方法
匿名 提出 已提問 4月 10, 2015
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,047 個問題
6,007 個回答
5,672 則評論
2,027 位使用者