qqwerty007

Untitled

Apr 14th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.15 KB | None | 0 0
  1. html>
  2. <head>
  3.  
  4. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  5. </head>
  6. <body bgcolor="#FFFFFF" text="#000000">
  7. <p>Version information:<br>
  8. </p>
  9. <blockquote>
  10. <p>ConTeXt ver: 2016.04.30 18:59 MKIV beta fmt: 2016.4.30 int:
  11. english/english<br>
  12. luajittex, 0.95.0 and luatex, 0.95.0</p>
  13. <p>running on Windows 10 x64<br>
  14. </p>
  15. </blockquote>
  16. <p>Error message:<br>
  17. </p>
  18. <blockquote>
  19. <p>error:
  20. ...eXt/tex/texmf-context/tex/context/base/mkiv/font-otj.lua:1205:
  21. attempt to index local 'i' (a nil value)<br>
  22. tex error      > tex error on line 7 in file
  23. C://Users/rik/Desktop/comp_body.tex: ?<br>
  24. </p>
  25. </blockquote>
  26. <p>Code:</p>
  27. <blockquote>
  28. <p><tt>\setupdirections [bidi=global]</tt><tt><br>
  29. </tt><tt>\definefont [hebrew] [default]
  30. [lang=heb,ccmp=yes,script=hebr]</tt><tt><br>
  31. </tt><tt>\definefont [Hebrew] [sileotsr*hebrew sa .9]</tt><tt><br>
  32. </tt><tt>\starttext</tt><tt><br>
  33. </tt><tt>Â \startparagraph</tt><tt><br>
  34. </tt><tt> Hebrew : {\Hebrew רִ}</tt><tt><br>
  35. </tt><tt>Â \stopparagraph</tt><tt><br>
  36. </tt><tt>\stoptext </tt><br>
  37. </p>
  38. </blockquote>
  39. <p>When the first line is removed, or the value of bidi changed to
  40. on, no error is thrown.<br>
  41. </p>
  42. <p>A single-font version of the code, for fonts that have Hebrew
  43. glyphs, fails with some fonts (libertine shown below), but works
  44. with others, for example, dejavu sans.<br>
  45. </p>
  46. <p>Code:</p>
  47. <blockquote>
  48. <p><tt>\setupdirections [bidi=global]</tt><tt><br>
  49. </tt><tt>\setupbodyfont[libertine]</tt><tt><br>
  50. </tt><tt>\starttext</tt><tt><br>
  51. </tt><tt>Â \startparagraph</tt><tt><br>
  52. </tt><tt> Hebrew : רִ</tt><tt><br>
  53. </tt><tt>Â \stopparagraph</tt><tt><br>
  54. </tt><tt>\stoptext</tt><tt><br>
  55. </tt></p>
  56. </blockquote>
  57. <p>My installation, or is this a bug?<br>
  58. </p>
  59. <p>-- <br>
  60. Rik Kabel<br>
  61. </p>
  62. </body>
  63. </html>
Advertisement
Add Comment
Please, Sign In to add comment