Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- html>
- <head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8">
- </head>
- <body bgcolor="#FFFFFF" text="#000000">
- <p>Version information:<br>
- </p>
- <blockquote>
- <p>ConTeXt ver: 2016.04.30 18:59 MKIV beta fmt: 2016.4.30 int:
- english/english<br>
- luajittex, 0.95.0 and luatex, 0.95.0</p>
- <p>running on Windows 10 x64<br>
- </p>
- </blockquote>
- <p>Error message:<br>
- </p>
- <blockquote>
- <p>error:
- ...eXt/tex/texmf-context/tex/context/base/mkiv/font-otj.lua:1205:
- attempt to index local 'i' (a nil value)<br>
- tex error      > tex error on line 7 in file
- C://Users/rik/Desktop/comp_body.tex: ?<br>
- </p>
- </blockquote>
- <p>Code:</p>
- <blockquote>
- <p><tt>\setupdirections [bidi=global]</tt><tt><br>
- </tt><tt>\definefont [hebrew] [default]
- [lang=heb,ccmp=yes,script=hebr]</tt><tt><br>
- </tt><tt>\definefont [Hebrew] [sileotsr*hebrew sa .9]</tt><tt><br>
- </tt><tt>\starttext</tt><tt><br>
- </tt><tt>Â \startparagraph</tt><tt><br>
- </tt><tt> Hebrew : {\Hebrew רִ}</tt><tt><br>
- </tt><tt>Â \stopparagraph</tt><tt><br>
- </tt><tt>\stoptext </tt><br>
- </p>
- </blockquote>
- <p>When the first line is removed, or the value of bidi changed to
- on, no error is thrown.<br>
- </p>
- <p>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.<br>
- </p>
- <p>Code:</p>
- <blockquote>
- <p><tt>\setupdirections [bidi=global]</tt><tt><br>
- </tt><tt>\setupbodyfont[libertine]</tt><tt><br>
- </tt><tt>\starttext</tt><tt><br>
- </tt><tt>Â \startparagraph</tt><tt><br>
- </tt><tt> Hebrew : רִ</tt><tt><br>
- </tt><tt>Â \stopparagraph</tt><tt><br>
- </tt><tt>\stoptext</tt><tt><br>
- </tt></p>
- </blockquote>
- <p>My installation, or is this a bug?<br>
- </p>
- <p>-- <br>
- Rik Kabel<br>
- </p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment