[NTG-context] problem with \sym?

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Mon Feb 4 19:43:31 CET 2019



Alan Bowen schrieb am 04.02.19 um 18:50:
> Here is a mwe that gives the same error as the original:
> 
> luatex warning  > hpack filter: error: 
> ...eXt/tex/texmf-context/tex/context/base/mkiv/typo-dua.lua:422: attempt 
> to compare number with nil
> 
> tex error       > tex error on line 22 in file 
> /Users/bowen1/Desktop/TestTeX/test-02.tex: ?
> 
> 
> \setupdirections[bidi=global, method=one]%<——
> 
> \defineitemgroup[CList][levels=2]
> \setupCList[1][n, broad, packed, autointro, repeat, continue]
> [itemalign=flushright,
> left={},right={},stopper={.},
> margin=0pc,
> before={\setupinterlinespace[off]
> \setuplines[before={}, after={}]
> \startlines},
> after={\stoplines}]
> 
> \setupCList[2][n, broad, packed, joinedup, autointro]
> [itemalign=flushright,
> left={}, right={}, stopper={},
> margin=0pc,
> ]
> 
> \startcomponent[*]
> \startCList
> \sym{} Preface
> \sym{0.} Prolegomena %<——line 22
> \stopCList
> \stopcomponent
> 
> The example processes as it should when the first line is commented out.

It works with method two or three for \setupdirections.

Below is a shorter minimal example.

\setupdirections[bidi=global,method=one]

\starttext
\setbox\scratchbox\autodirhbox{xyz}
\stoptext

Wolfgang


More information about the ntg-context mailing list