ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Rik Kabel <context@rik.users.panix.com>
To: ntg-context@ntg.nl
Subject: Problem using nested \processcommalist and \startparagraphs columns
Date: Wed, 25 Oct 2017 18:31:24 -0400	[thread overview]
Message-ID: <fa8d8b54-9729-f2dc-b6eb-c05962e0d9f1@rik.users.panix.com> (raw)

I am having a problem with the combination of nested \processcommalist 
and \startparagraphs columns and I do not see any obvious issues.

Run the example below with "--mode=unroll" and it works fine.

Run it without that mode, and it fails.

Remove the lines tagged "problematic" and run it without that mode and 
it completes, although without the columns.

     % macros=mkvi
     \defineparagraphs  [Col] [n=3]
     \setupparagraphs   [Col] [1] [width=.31\textwidth]
     \setupparagraphs   [Col] [2] [width=.31\textwidth]
     \setupparagraphs   [Col] [3] [width=.31\textwidth]
     \starttexdefinition doOuter #OUTERVALUE
             \define\Outer{#OUTERVALUE}
             \startparagraphs[Col]      %%% problematic
             \doifmodeelse{unroll}
                 {\startparagraphscell
                      \Outer XX
                  \stopparagraphscell
                  \startparagraphscell
                      \Outer YY
                  \stopparagraphscell
                  \startparagraphscell
                      \Outer ZZ
                  \stopparagraphscell}
                 {\processcommalist[XX,YY,ZZ]\doInner}
             \stopparagraphs            %%% problematic
     \stoptexdefinition
     \starttexdefinition doInner #INNERVALUE
              \startparagraphscell      %%% problematic
                  \Outer #INNERVALUE \par
              \stopparagraphscell       %%% problematic
     \stoptexdefinition
   \starttext
       \startsubject[title={Nested processcommalist}]
       \processcommalist[aa,bb,cc,dd,ee]\doOuter
       \stopsubject
   \stoptext

Any assistance that can be provided would be much appreciated.

-- 
Rik


___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

                 reply	other threads:[~2017-10-25 22:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=fa8d8b54-9729-f2dc-b6eb-c05962e0d9f1@rik.users.panix.com \
    --to=context@rik.users.panix.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).