From: "Li Yanrui (李延瑞)" <liyanrui.m2@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Hans Hagen <pragma@wxs.nl>
Subject: \setscript[hanzi] conflicts with some symbols
Date: Sun, 26 Jun 2011 10:01:17 +0800 [thread overview]
Message-ID: <BANLkTimxn=u96k7i686XhX3SUe-q8_87DQ@mail.gmail.com> (raw)
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
___________________________________________________________________________________
next reply other threads:[~2011-06-26 2:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-26 2:01 Li Yanrui (李延瑞) [this message]
2011-06-26 10:15 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='BANLkTimxn=u96k7i686XhX3SUe-q8_87DQ@mail.gmail.com' \
--to=liyanrui.m2@gmail.com \
--cc=ntg-context@ntg.nl \
--cc=pragma@wxs.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).