Re: [NTG-context] \setscript[hanzi] conflicts with some symbols

2011-06-26 Thread Hans Hagen

On 26-6-2011 4:01, Li Yanrui (李延瑞) wrote:

\definefontsynonym[pagella][name:texgyrepagellar]
\definefontfallback[hanzi][name:adobesongstd][0x00400-0x2FA1F]
\definefontsynonym[myfont][pagella][fallbacks=hanzi]
\definefont[song][myfont]

\setscript[hanzi]

\starttext
\song
测试  \METAPOST

\stoptext


fixed in next beta (logo is one of the few tfm fonts still loaded, i 
must check if there's an afm)


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
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 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
___

[NTG-context] \setscript[hanzi] conflicts with some symbols

2011-06-25 Thread 李延瑞
Hi Hans,

In the beta 2011.06.25, \setscript[hanzi] can not coexist with the
symbols such as \METAPOST. Please see the following example:

\definefontsynonym[pagella][name:texgyrepagellar]
\definefontfallback[hanzi][name:adobesongstd][0x00400-0x2FA1F]
\definefontsynonym[myfont][pagella][fallbacks=hanzi]
\definefont[song][myfont]

\setscript[hanzi]

\starttext
\song
测试  \METAPOST

\stoptext

I got an error:

error: ...text/tex/texmf-context/tex/context/base/scrp-ini.lua:382:
attempt to index field 'resources' (a nil value)

But if I skip this error the pdf file still can be output.

-- 
Best regards,

Li Yanrui (李延瑞)
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 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
___