0 votes
269 vues

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”}

Ancienne publication - affichée dans sa langue d'origine
Paratext par [Expert]
(3,3k points)
| 269 vues

2 Réponses

0 votes

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.

Ancienne publication - affichée dans sa langue d'origine
par (104 points)
0 votes

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”}

Ancienne publication - affichée dans sa langue d'origine
par (304 points)

Questions connexes

0 votes
1 réponse 417 vues
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 posée août 8, 2017
0 votes
3 réponses 565 vues
Bonjour à tous, Ce projet utilise \pn \pn* pour mettre en gras tous les noms propres et je me demande si c'est ... vous des idées sur la façon de corriger cela ? Bénédiction, Craig
rcraigwebb 110 posée août 15, 2023
0 votes
2 réponses 229 vues
Un utilisateur souhaite mettre en gras une section entière de poésie. Existe-t-il un moyen de le faire sans avoir à ajouter ... également la fin du texte en gras (même sans \bd*).
Sara 246 posée août 5, 2024
0 votes
2 réponses 287 vues
Je travaille sur la composition de diglots. Dans Paratext, certains styles de mon texte secondaire (T2) apparaissent plus ... que vous pourrez m'apporter à ce sujet. John Nystrom
john_nystrom 312 posée mars 23, 2021
0 votes
1 réponse 353 vues
(mnjames écrit) La feuille de style usfm.sty a \Italic comme l'un des attributs de \Marker qt . Je ... formats \Italic et \Bold, mais pas de moyen de les désactiver.
anonyme posée avr. 10, 2015
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Accept the one whose faith is weak, without quarreling over disputable matters.
Romans 14:1
3,052 questions
6,011 réponses
5,677 commentaires
2,031 utilisateurs