On Tue, Nov 5, 2013 at 5:08 PM, Lars Huttar  wrote:
> On 11/4/2013 5:32 PM, Wolfgang Schuster wrote:
>> Am 04.11.2013 um 22:56 schrieb Mojca Miklavec:
>>
>>> That TTF should work as well. The only difference is that you might
>>> need slightly different commands to set it up (there were recent
>>> changes/improvements in that, other users should tell you how exactly
>>> that can be done).
>>
>> Make your choice:
>>
>> \definefontfamily [gentium-basic] [serif] [Gentium Basic]
>> \definefontfamily [gentium-book]  [serif] [Gentium Book Basic]
>> \definefontfamily [gentium-plus]  [serif] [Gentium Plus]
>>
>> \starttext
>>
>> {\switchtobodyfont[gentium-basic]Upright \it Italic \bf Bold \bi BoldItalic}
>>
>> {\switchtobodyfont[gentium-book]Upright \it Italic \bf Bold \bi BoldItalic}
>>
>> {\switchtobodyfont[gentium-plus]Upright \it Italic \bf Bold \bi BoldItalic}
>>
>> \stoptext
>
> Thanks for the suggestion.
> I don't know if I'm doing something wrong, but when I try to compile the
> above with mkiv, I get "Undefined control sequence" on line 1:
>
> l.1 \definefontfamily

As I told you: "there were recent changes/improvements in that".

http://www.ntg.nl/pipermail/ntg-context/2013/075428.html

You would need the ConTeXt distribution for that, TeX Live 2013 is too
old. (You can probably still load the simplefonts module explicitly or
write the typescripts yourself - again different syntax.)

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to