ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Li Yanrui (李延瑞)" <liyanrui.m2@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: luatex-fonts-merged.lua can not work
Date: Thu, 4 Nov 2010 02:23:11 +0800	[thread overview]
Message-ID: <AANLkTin1gOk6vmWe3zxM+zM=bjtq6DDK5E5-pTrzDtMw@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=Uhj_E=bSzQ4aSUbJZkdtK4KPAWe9Ty0yD2Zrc@mail.gmail.com>

2010/11/3 Li Yanrui (李延瑞) <liyanrui.m2@gmail.com>:
> 2010/11/3 Hans Hagen <pragma@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
___________________________________________________________________________________

  reply	other threads:[~2010-11-03 18:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-03  1:29 Li Yanrui (李延瑞)
2010-11-03  2:46 ` Khaled Hosny
2010-11-03  8:34   ` Hans Hagen
2010-11-03  9:36     ` Li Yanrui (李延瑞)
2010-11-03 18:23       ` Li Yanrui (李延瑞) [this message]
2010-11-03 18:52       ` Hans Hagen
2010-11-03 10:49     ` Khaled Hosny
2010-11-03  8:12 ` 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='AANLkTin1gOk6vmWe3zxM+zM=bjtq6DDK5E5-pTrzDtMw@mail.gmail.com' \
    --to=liyanrui.m2@gmail.com \
    --cc=ntg-context@ntg.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).