From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/94596 Path: news.gmane.org!not-for-mail From: Rik Kabel Newsgroups: gmane.comp.tex.context Subject: Luatex 0.95.0 error with bidi and Hebrew Date: Sat, 30 Apr 2016 21:56:32 -0400 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4534253592001648107==" X-Trace: ger.gmane.org 1462067850 20637 80.91.229.3 (1 May 2016 01:57:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 May 2016 01:57:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 01 03:57:19 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1awgdK-0002OD-7p for gctc-ntg-context-518@m.gmane.org; Sun, 01 May 2016 03:57:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 485B9B66A; Sun, 1 May 2016 03:56:49 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jhyTK9NFmJ9s; Sun, 1 May 2016 03:56:47 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 769D4B66C; Sun, 1 May 2016 03:56:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 240F8B669 for ; Sun, 1 May 2016 03:56:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qvN4sPO66giZ for ; Sun, 1 May 2016 03:56:45 +0200 (CEST) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 09F21B668 for ; Sun, 1 May 2016 03:56:35 +0200 (CEST) Original-Received: from [192.168.201.10] (cpe-24-194-22-135.nycap.res.rr.com [24.194.22.135]) by mailbackend.panix.com (Postfix) with ESMTPSA id 1986C15C9B for ; Sat, 30 Apr 2016 21:56:32 -0400 (EDT) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.0 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:94596 Archived-At: This is a multi-part message in MIME format. --===============4534253592001648107== Content-Type: multipart/alternative; boundary="------------C805B9032498119100F7F2BE" This is a multi-part message in MIME format. --------------C805B9032498119100F7F2BE Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Version information: ConTeXt ver: 2016.04.30 18:59 MKIV beta fmt: 2016.4.30 int: english/english luajittex, 0.95.0 and luatex, 0.95.0 running on Windows 10 x64 Error message: error: ...eXt/tex/texmf-context/tex/context/base/mkiv/font-otj.lua:1205: attempt to index local 'i' (a nil value) tex error > tex error on line 7 in file C://Users/rik/Desktop/comp_body.tex: ? Code: \setupdirections [bidi=3Dglobal] \definefont [hebrew] [default] [lang=3Dheb,ccmp=3Dyes,script=3Dhebr] \definefont [Hebrew] [sileotsr*hebrew sa .9] \starttext \startparagraph Hebrew : {\Hebrew =D7=A8=D6=B4} \stopparagraph \stoptext When the first line is removed, or the value of bidi changed to on, no=20 error is thrown. A single-font version of the code, for fonts that have Hebrew glyphs,=20 fails with some fonts (libertine shown below), but works with others,=20 for example, dejavu sans. Code: \setupdirections [bidi=3Dglobal] \setupbodyfont[libertine] \starttext \startparagraph Hebrew : =D7=A8=D6=B4 \stopparagraph \stoptext My installation, or is this a bug? --=20 Rik Kabel --------------C805B9032498119100F7F2BE Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

Version information:

ConTeXt=C2=A0 ver: 2016.04.30 18:59 MKIV beta=C2=A0 fmt: 2016.4.= 30=C2=A0 int: english/english
luajittex, 0.95.0 and luatex, 0.95.0

running on Windows 10 x64

Error message:

error: ...eXt/tex/texmf-context/tex/context/base/mkiv/font-otj.lua:1205: attempt to index local 'i' (a nil value)
tex error=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > tex error on l= ine 7 in file C://Users/rik/Desktop/comp_body.tex: ?

Code:

\setupdirections [bidi=3Dglobal]
\definefont [hebrew] [default] [lang=3Dheb,ccmp=3Dyes,script=3Dhebr]
\definefont [Hebrew] [sileotsr*hebrew sa .9] \starttext
=C2=A0\startparagraph
=C2=A0 Hebrew : {\Hebrew =D7=A8=D6=B4}
=C2=A0\stopparagraph
\stoptext

When the first line is removed, or the value of bidi changed to on, no error is thrown.

A single-font version of the code, for fonts that have Hebrew glyphs, fails with some fonts (libertine shown below), but works with others, for example, dejavu sans.

Code:

\setupdirections [bidi=3Dglobal]
\setupbodyfont[libertine]
\starttext
=C2=A0\startparagraph
=C2=A0 Hebrew : =D7=A8=D6=B4
=C2=A0\stopparagraph
\stoptext

My installation, or is this a bug?

--
Rik Kabel

--------------C805B9032498119100F7F2BE-- --===============4534253592001648107== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============4534253592001648107==--