[NTG-context] inmargin problem in mkiv with luatex when specified with stack

Dinh Tran culturedtech at gmail.com
Fri Feb 25 05:20:50 CET 2011


Hello,

Running the following context code doesn't seem to work with "context
--luatex".  Works with "context --xetex" however.

------
\setuplayout[backspace=5cm,margin=3cm,margindistance=.5cm,width=middle]
\setupinmargin[stack=yes]

\starttext

A\margintext{A} B\margintext{B}.

C\inmargin{C} D\inmargin{D}.

\stoptext

-----
I get the following error:

11 >>  C\inmargin{C} D\inmargin{D}.
12
13     \stoptext
14


\ctxcommand ...\directlua \zerocount {commands.#1}

\@@ar@@1 ...se \currentposition \previousposition
                                                  {\scratchskip \dimexpr
\MP...
\redoloop ->\expandrecursecontent
                                  \endofloop
<to be read again>
                   {
<inserted text>
                2
\dodoloop ...mexpr \recurselevel +\plusone \relax
                                                  }
...
l.11 C
      \inmargin{C} D\inmargin{D}.

%Dinh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110224/5824e525/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stack_inmargin-xetex.pdf
Type: application/pdf
Size: 4850 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110224/5824e525/attachment-0002.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stack_inmargin-luatex.pdf
Type: application/pdf
Size: 7210 bytes
Desc: not available
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110224/5824e525/attachment-0003.pdf>


More information about the ntg-context mailing list