\setscript[hanzi] conflicts with some symbols
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 (李延瑞)
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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Li Yanrui (李延瑞)