Re: [NTG-context] Cyrrilic fonts
Hi all,
I just downloaded and setup latest context beta on my new machine.I made a simple script file for my teaching schedule in UTF-8 encoding and with %engine=luatex prefix. But.. the default font is LMRoman12, and it has no Cyrrilic letters.
I need simple document and I don't care about fonts at all. how can I get Cyrillic in most simple way? (Without writing a typescript for Times New Roman.. oh, not again) Maybe there are some Cyrillic fonts/typescripts already shipped with context?
mkii or mkiv? some tex gyre fonts ship with cyrillic built in so then you need to choose the riht encoding (mkii) or just use utf-8 (mkiv)
Hans
Sure, mkiv :) I just tried to use gyre fonts, but cannot figure out what typescripts to use. %( The only thing that works for me is \usetypescriptfile[type-otf] \usetypescript[times] \setupbodyfont[times,16pt] which gives me Termes, but i cannot make use of other gyre fonts (schola, etc) using typescrips provided. What commands should I write? Byt the way, did you consider to change 'default' font from LM to some really modern, eg Termes? best, Vyatcheslav
Vyatcheslav Yatskovsky wrote:
Hi all,
I just downloaded and setup latest context beta on my new machine.I made a simple script file for my teaching schedule in UTF-8 encoding and with %engine=luatex prefix. But.. the default font is LMRoman12, and it has no Cyrrilic letters.
I need simple document and I don't care about fonts at all. how can I get Cyrillic in most simple way? (Without writing a typescript for Times New Roman.. oh, not again) Maybe there are some Cyrillic fonts/typescripts already shipped with context?
mkii or mkiv? some tex gyre fonts ship with cyrillic built in so then you need to choose the riht encoding (mkii) or just use utf-8 (mkiv)
Hans
Sure, mkiv :) I just tried to use gyre fonts, but cannot figure out what typescripts to use. %(
The only thing that works for me is \usetypescriptfile[type-otf] \usetypescript[times] \setupbodyfont[times,16pt]
which gives me Termes, but i cannot make use of other gyre fonts (schola, etc) using typescrips provided. What commands should I write?
Byt the way, did you consider to change 'default' font from LM to some really modern, eg Termes?
no. also, times is even older than lm -) i'd like to default to optima nova or palatino nova but that's no option for most users either because these are commercial fonts Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Fri, Feb 20, 2009 at 00:00, Vyatcheslav Yatskovsky wrote:
Sure, mkiv :) I just tried to use gyre fonts, but cannot figure out what typescripts to use. %(
The only thing that works for me is \usetypescriptfile[type-otf] \usetypescript[times] \setupbodyfont[times,16pt]
which gives me Termes, but i cannot make use of other gyre fonts (schola, etc) using typescrips provided. What commands should I write?
The fonts without math counterparts don't have the whole typescript defined (or at least not yet). You can use the following command: \definetypeface[schola][rm][serif][schola][default] \setupbodyfont[schola,16pt] This will only change the serif font to Schola. \usetypescript[times] also changes sans to Heros and typewriter to Cursor. And no, the default won't be changed to times. Maybe Cyrillic is missing in LM, but Termes doesn't provide the full Unicode set either. Mojca
On Fri, Feb 20, 2009 at 12:00 AM, Vyatcheslav Yatskovsky
The only thing that works for me is \usetypescriptfile[type-otf] \usetypescript[times] \setupbodyfont[times,16pt]
which gives me Termes, but i cannot make use of other gyre fonts (schola, etc) using typescrips provided. What commands should I write?
All gyre fonts should now usable in MkIV, can you test them and add a note the wiki? Wolfgang
Dnia Mon, Mar 02, 2009 at 11:27:42AM +0100, Wolfgang Schuster napisał(a):
On Fri, Feb 20, 2009 at 12:00 AM, Vyatcheslav Yatskovsky
wrote: The only thing that works for me is \usetypescriptfile[type-otf] \usetypescript[times] \setupbodyfont[times,16pt]
which gives me Termes, but i cannot make use of other gyre fonts (schola, etc) using typescrips provided. What commands should I write?
All gyre fonts should now usable in MkIV, can you test them and add a note the wiki?
What does it mean "to be usable" in this context? How do I enable them?
Wolfgang
Regards -- Marcin Borkowski (http://mbork.pl) If Microsoft ever makes anything which doesn't suck, it will be a vacuum cleaner.
On Mon, Mar 2, 2009 at 11:33 AM, Marcin Borkowski
All gyre fonts should now usable in MkIV, can you test them and add a note the wiki?
What does it mean "to be usable" in this context? How do I enable them?
\usetypescript[termes] \setupbodyfont[termes] \starttext ... \stoptext and the same for all other TeX Gyre fonts. Wolfgang
participants (5)
-
Hans Hagen
-
Marcin Borkowski
-
Mojca Miklavec
-
Vyatcheslav Yatskovsky
-
Wolfgang Schuster