Thanks Wolfgang.
There's another issue: \startX ... \stopX and \start[X] ... \stop are
treated differently.
In my scenario, the start/stop environments are used like so:
\startxmlsetups xml:div
% Capture attributes as variables.
\setvariable{div}{\xmlatt{#1}{class}}{#1}
\start[\xmlatt{#1}{class}]\xmlflush{#1}\stop{}
\stopxmlsetups
Paragraph columns using \startcontact behave as expected; however, using
\start[contact] results in the sidebar address being ignored.
Any idea why there's a difference between \start[contact] and
\startcontact with respect to the start/stop setups?
Thank you!
% SOT
\definestartstop[header]
\definestartstop[logo]
\definestartstop[letter]
\definestartstop[opening]
\definestartstop[closing]
\definestartstop[signature]
\definestartstop[contact]
\definestartstop[address]
\definestartstop[applicant]
\definestartstop[role]
\defineparagraphs[Columns][n=2]
\setupparagraphs[Columns:1][width=7cm]
\setupstartstop[contact][
before={
\startparagraphs[Columns]
\startparagraphscell
},
after={
\stopparagraphscell
},
]
\setupstartstop[letter][
before={
\startparagraphscell
},
after={
\stopparagraphscell
\stopparagraphs
},
]
\starttext
\startheader
\startlogo
\externalfigure[mill]
\stoplogo
\startapplicant Sherlock Holmes \stopapplicant
\startrole Private Investigator \stoprole
\stopheader
\start[contact]
\startaddress
221B Baker Street \par
Marlyebone, London \par
\stopaddress
020 7224 3688 \par
[email protected] \par
\stop
\startletter
\startopening
To whom it may concern,
\stopopening
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
\startclosing
Sincerely,
Sherlock Holmes
\stopclosing
\stopletter
\stoptext
% EOT
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________