* \setscript[hanzi] conflicts with some symbols
@ 2011-06-26 2:01 Li Yanrui (李延瑞)
2011-06-26 10:15 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Li Yanrui (李延瑞) @ 2011-06-26 2:01 UTC (permalink / raw)
To: mailing list for ConTeXt users, Hans Hagen
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: \setscript[hanzi] conflicts with some symbols
2011-06-26 2:01 \setscript[hanzi] conflicts with some symbols Li Yanrui (李延瑞)
@ 2011-06-26 10:15 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2011-06-26 10:15 UTC (permalink / raw)
To: "Li Yanrui (李延瑞)"
Cc: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-26 10:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-26 2:01 \setscript[hanzi] conflicts with some symbols Li Yanrui (李延瑞)
2011-06-26 10:15 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).