ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Simo Ojala <smsojala@gmail.com>
Subject: Re: font-otn.lua:1809: attempt to index local 'chainlookup' (a nil value)
Date: Mon, 16 Jan 2012 12:46:52 +0100	[thread overview]
Message-ID: <4F140E2C.3060702@wxs.nl> (raw)
In-Reply-To: <CALH_i3=skqbwV1j03F5MENSORPPsBK1apVanNd0kNrVpUp1mag@mail.gmail.com>

On 14-1-2012 14:12, Simo Ojala wrote:
> Hi,
>
> I am just trying to quickly report this without joining mailing list,
> hopefully it works.
>
> I am getting strange error reports with hebrew words and ConTeXt IV.
> Error is following: "error:
> /usr/share/texmf/tex/context/base/font-otn.lua:1809: attempt to index
> local 'chainlookup' (a nil value)". My suspicion is that this could be
> some regression bug introduced to ConTeXt IV. This is because I could
> not think anything I have done wrong and my testing file is very
> simple. I also have earlier standalone ConTeXt IV that does not give
> this error. Exact details can be found from  tex/stackexhange where I
> initially started to ask around. I post this thing here only to make
> sure that this catches the attention of the right people.
>
> Question in tex/stackexchange:
> http://tex.stackexchange.com/questions/41052/hebrew-words-causes-strange-errors-with-context-iv-luatex

line 1032 in font-otf.lua is:

   if features and supported(features) then

but that should be

   if not features or supported(features) then

The check for supported was introduced a while ago after some discussion 
between Khaled and me regarding interference between apple font specific 
stuff that interfered badly with regular features.

(You can patch that line but also need to wipe the font cache then or 
also set otf.version = 2.736 in the same file which will do that 
automatically.)

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
___________________________________________________________________________________


  reply	other threads:[~2012-01-16 11:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-14 13:12 Simo Ojala
2012-01-16 11:46 ` Hans Hagen [this message]
2012-01-16 11:50 ` 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=4F140E2C.3060702@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    --cc=smsojala@gmail.com \
    /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).