Am 13.03.2009 um 17:42 schrieb Pierre Huyghebaert:
Thanks for these superquick answers! What a lively list!
@Wolfgang : You remember me that and it's helpful in many cases. But my font sit in the list... Any other idea? ... DejaVu Sans Mono:style=Bold Oblique Liberation Serif:style=Bold Italic InitiationRitualFont:style=Regular
You tried \definetypeface[InitiationRitualFont][rm][Xserif] [InitiationRitualFont]?
As you differenciate the low-level font switching commands and the high-level one (like Xetex), is the low-level the one that needs to write a map file ("tree")? Sorry for that question which may seem *very* basic!
No, she means \font\initiation="InitiationRitualFont".
Wolfgang
Wow, thanks again Wolfgang! It works! So simple, that low-level one for all of us that don't need the family concept at some point (titles, etc.) \font\initiation="InitiationRitualFont" \starttext \initiation Hello World! \stoptext Curious, I just have tried my previous code on the machine of Femke, with a more recent Ubuntu, and it works also! Ok, I'll upgrade my Ubuntu! \definetypeface[InitiationRitualFont][rm][Xserif][InitiationRitualFont] \setupbodyfont[InitiationRitualFont, 12pt] \starttext Hello World! \stoptext So for most of us, the two solutions seem to work. (Apart of the family concept problem, is there advantages/disadvantages to use one solution or another?) Pierre
Am 13.03.2009 um 18:42 schrieb Pierre Huyghebaert:
So for most of us, the two solutions seem to work. (Apart of the family concept problem, is there advantages/disadvantages to use one solution or another?)
The \font method let you use your font only in the style and size you set with the setting but nothing else. ConTeXt's system creates commands to let you switch the style (italic, bold ...) and the size (\tfx, \tfa ...) and you can use them to create new styles certain elements like header. With \setupbodyfont you take also care to have the same font for header/footertexts, footnotes etc. To summarize this, don't use \font unless you really know what you do and even then use ConTeXt's \definefont command. Wolfgang
participants (2)
-
Pierre Huyghebaert
-
Wolfgang Schuster