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
___________________________________________________________________________________