0
348 次瀏覽

I am producing a Bible with added commentary \add …\add* that I want printed in color. By default \add is Bold and Italic. I want the text neutral with respect to bold and italic, in other words to inherit this from the parent paragraph it is in, and to be a particular shade of pink. In the custom .sty I use these parameters which give me what I want in the PT editor.


\Color 16711935
\Bold -
\Italic -


However when I create a Print Draft the \add text is bold italic and black.

What if anything can I do to turn on colors in Print Draft output?

I might note that color does not seem to be supported at all in Print Draft since \wj …\wj* is never formatted as red. So I am wondering if that is a built in limitation.

I am running this in PT8.0 but the issue also applies to PT7.6.

舊文章 - 以原文顯示
Paratext (1.8k 點) 提出
已重新顯示 | 348 次瀏覽

1 個回答

0
最佳回答

I can’t comment on the color issue. I’ve noticed it, but never spent the time to try to solve it.

I’m a little surprised that \Bold - and \Italic - didn’t work since those are the official way of turning off bold and italic. However, I’ve noticed that they also cause PrintDraft to add a - to the beginning of the file. As a result I’ve discovered that \Regular (with nothing after it) does the same thing but without adding extra characters to the PrintDraft pdf.

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

I searched the ptx2pdf macros and found that we are only reading the \Color
line from the style sheet and never using it. Getting this to work would be
a feature request.

We added \Regular as a way of turning off the other style settings since I
couldn’t figure out how to handle the - argument in Tex macros.

John+Wickberg

舊文章 - 以原文顯示

Thanks for this John+Wickberg. I tried it and it works, but not like I had hoped in Print Draft.

I put the \Regular tag into my custom.sty. It does remove the bold and italic from the character style, both in the Paratext editor and in Print Draft. In the editor it works as expected—it makes the character style neutral with respect to bold and italic. However in Print Draft the character style overrides the style of the parent paragraph forcing not italic and not bold—but not only that, it also overrides font size as well, which is not affected by \Regular. So I suspect this is a more general issue with character styles than just the font face features.

I would like Print Draft to format character styles in the same way the editor does. Would this be a feature request or a bug fix?.

舊文章 - 以原文顯示

From looking at the code, the font sizes in the style sheet are scaled
according to how ratio of the font size from the Print Draft form and the
font size on the \p marker, so you should be getting an adjusted size and
not the original size.

If that’s not what is happening, that would be a bug and you should report
it.

\Regular should only affect Bold and Italic, not font size.

John+Wickberg

舊文章 - 以原文顯示

相關問題

0
2 個回答 228 次瀏覽
For some reason, in some fonts, the bold or italic formatting does not appear in PrintDraft. For instance, I have a ... bolditalic{ Annapurna SIL:script=deva;embolden=2;slant=0.2 }
[Expert]
sewhite
3.3k 提出
已提問 8月 21, 2015
0
3 個回答 421 次瀏覽
Making small changes to the text printed by Print Draft is easy but only if you or someone you know speaks ... replace it with an empty string (effectively deleting it).
匿名 提出 已提問 6月 3, 2015
+1
1 個回答 261 次瀏覽
我想將一個包含振假名(ruby)文字的日文專案匯出為 RTF(如有必要,使用列印草稿(Print Draft)也可以)。到目前為止,我無法在 RTF 或 PDF 中成功匯出並顯示振假名文字。 我使用的是 PTX 9.1,專案設定為 USFM 3。 感謝您的協助。
anon180868 195 提出 已提問 12月 28, 2020
0
4 個回答 539 次瀏覽
Tildes (used in USFMs as non-breaking spaces) disappear when the view is changed in Preview view, as expected. ... . Am I missing some step that would make these disappear?
Alex W. 191 提出 已提問 7月 13, 2018
0
2 個回答 334 次瀏覽
One user wants to use print draft but is encountering an error which says marker errors detected , when certain ... user be concerned about the message seen in print draft?
anon310851 135 提出 已提問 5月 8, 2018
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,046 個問題
6,005 個回答
5,671 則評論
2,026 位使用者