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

2011-02-25 Thread Wolfgang Schuster

Am 25.02.2011 um 05:20 schrieb Dinh Tran:

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

It works in a (currently private) beta but stacking isn’t perfect yet.

BTW: The --luatex switch isn’t necessary to run MkIV.

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


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

2011-02-24 Thread Dinh Tran
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


stack_inmargin-xetex.pdf
Description: Adobe PDF document


stack_inmargin-luatex.pdf
Description: Adobe PDF document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___