* Problem using nested \processcommalist and \startparagraphs columns
@ 2017-10-25 22:31 Rik Kabel
0 siblings, 0 replies; only message in thread
From: Rik Kabel @ 2017-10-25 22:31 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-25 22:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-25 22:31 Problem using nested \processcommalist and \startparagraphs columns Rik Kabel
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).