Re: [NTG-context] Installing Cyrillic font
Hello all, I've made some progress with your help. (and esp. Mojca's) Following the guidelines from http://home.salamander.com/~wmcclain/context-help.html, I 've defined the Regular font as \enableregime[cp1251] \loadmapfile [t2a-urw-timescyr.map] \definefontsynonym[NimbusRomanNo9L-Regu][t2a-n021003l][encoding=t2a] \definefont[TimesCyr][NimbusRomanNo9L-Regu at 15pt] \starttext \TimesCyr ... and it works OK unless I need Bold or Italic. Now that I define the font in 'proper' way, using typescripts, \enableregime[cp1251] \usetypescriptfile[type-buy] \loadmapfile [t2a-urw-timescyr.map] \starttypescript [serif] [NimbusNo9L] [t2a] \definefontsynonym [NimbusNo9L-Roman] [t2a-n021003l] [encoding=t2a] \definefontsynonym [NimbusNo9L-Bold] [t2a-n021004l] [encoding=t2a] \definefontsynonym [NimbusNo9L-Italic] [t2a-n021023l] [encoding=t2a] \definefontsynonym [NimbusNo9L-Bold-Italic] [t2a-n021024l] [encoding=t2a] \stoptypescript \starttypescript [serif] [timescyr] [name] \usetypescript[serif][fallback] \definefontsynonym [Serif] [NimbusNo9L-Roman] \definefontsynonym [SerifBold] [NimbusNo9L-Bold] \definefontsynonym [SerifItalic] [NimbusNo9L-Italic] \definefontsynonym [SerifBoldItalic] [NimbusNo9L-Bold-Italic] \stoptypescript \starttypescript [TimesCyr] \definetypeface [TimesCyr] [rm] [serif] [timescyr] [default] [encoding=t2a] \stoptypescript \usetypescript[TimesCyr] \setupbodyfont[TimesCyr] \starttext .... the texexec fails and I cannot figure out why. The log file says me ! Font \*TimesCyr12ptrmtf*:=NimbusNo9L-Roman at 12.0pt not loadable: Metric (TF M) file not found. <to be read again> \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...me \fontclass #2#3#4#5\endcsname \tryingfontfalse \fi <inserted text> ...yle \fontalternative \fontsize \fi \iftryingfont \fontstr... \synchronizefont ...strategy \the \fontstrategies \relax \fi \iftryingfont \... <argument> \getvalue {\@style@ \fontstyle } \edef \fontstyle {\fontstyle }\if... ... l.32 \setupbodyfont[TimesCyr] ? -- Best regards, Vyatcheslav
participants (1)
-
Vyatcheslav Yatskovsky