[NTG-context] TL 2010 and gentium typescript: weird errors with XeTeX

Hans Hagen pragma at wxs.nl
Thu Jun 24 09:48:34 CEST 2010


On 24-6-2010 9:05, Mojca Miklavec wrote:
> On Wed, Jun 23, 2010 at 18:31, Hans Hagen wrote:
>> On 23-6-2010 5:58, Mojca Miklavec wrote:
>>
>>> True. But lmmi7 *is* an old tfm font.
>>
>> i don't think that i changed anything at the mkii end so there are two
>> possibilities then
>>
>> (1) the math font definition has changed and refers to features
>> (2) xetex has changed
>
> I can test if taking XeTeX from TeX Live into minimals changes anything.
>
>> how does your tex file looks like (not that i'm too keen into diving into a
>> xetex related font proble right now)
>
> This is a minimals file (already sent in the first mail):
>
> \usetypescriptfile[type-gentium]
> \usetypescript[gentium]
> \setupbodyfont[gentium]
> \starttext
> something
> \stoptext

but that one runs quite well over here so there must be more magic going on

> But if you want a more independent one (any font would generate the
> same error; without the need to have Gentium installed; just replace
> file:GenR102 with any other font specification):
>
> \starttypescript [serif] [gentium]
>    \definefontsynonym [Gentium-Roman]       [file:GenR102]  [features=default]
> \stoptypescript
>
> \starttypescript [serif] [gentium] [name]
>    \definefontsynonym [Serif]            [Gentium-Roman]
>    \definefontsynonym [SerifItalic]      [Serif]
>    \definefontsynonym [SerifBold]        [Serif]
>    \definefontsynonym [SerifBoldItalic]  [Serif]
>    \definefontsynonym [SerifSlanted]     [Serif]
>    \definefontsynonym [SerifBoldSlanted] [Serif]
>    \definefontsynonym [SerifCaps]        [Serif]
>    \definefontsynonym [OldStyle]         [Serif]
> \stoptypescript
>
> \starttypescript [gentium]
>    \definetypeface [gentium] [rm] [serif] [gentium] [default] [features=default]
> \stoptypescript
>
> \usetypescript[gentium]
> \setupbodyfont[gentium]
>
> \starttext
> test
> \stoptext

also runs ok

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list