2010/11/3 Li Yanrui (李延瑞) <liyanrui...@gmail.com>: > 2010/11/3 Hans Hagen <pra...@wxs.nl>: >> >> I uploaded a version without the chardata reference >> > > Now the fontfallback hangs up. For example, > > \definefontsynonym[song][name:adobesongstd] > \definefontfallback[hereos][name:texgyreherosregular][0x0000-0x0400] > \definefontsynonym[fbsong][song][fallbacks=hereos] > \definefont[newsong][fbsong] > > \starttext > \newsong 夹杂 English 的中文文本 > \stoptext > > The error message is: > > ! LuaTeX error ...text/tex/texmf-context/tex/context/base/char-ini.lua:311: > bad argument #1 to 'gsub' (string expected, got nil) > > Is "0x000-0x0400" replaced by somthing? >
It seems like a typo in the line 315 in char-ini.lua. "local range = characters.blocks[tag]" or "local range = characters.blocks[name]"? -- 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 ___________________________________________________________________________________