ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Dinh Tran <culturedtech@gmail.com>
To: ntg-context@ntg.nl
Subject: inmargin problem in mkiv with luatex when specified with stack
Date: Thu, 24 Feb 2011 21:20:50 -0700	[thread overview]
Message-ID: <AANLkTimgqmK0_sGQtYsujV2zXx-JUDDxoduaoE5YJbLS@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 906 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1509 bytes --]

[-- Attachment #2: stack_inmargin-xetex.pdf --]
[-- Type: application/pdf, Size: 4851 bytes --]

[-- Attachment #3: stack_inmargin-luatex.pdf --]
[-- Type: application/pdf, Size: 7211 bytes --]

[-- Attachment #4: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

             reply	other threads:[~2011-02-25  4:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-25  4:20 Dinh Tran [this message]
2011-02-25 12:06 ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTimgqmK0_sGQtYsujV2zXx-JUDDxoduaoE5YJbLS@mail.gmail.com \
    --to=culturedtech@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).