On 9/4/2016 12:03 PM, Hans Hagen wrote:
\definebar[ClozedBar][underbar][continue=yes]
\unexpanded\def\Clozed#1{\ClozedBar{\zwj#1\zwj}}
\starttext
\input ward \Clozed{\color[red]{CLOZE 1}} \input ward \Clozed{\quad\color[red]{CLOZE 2}\quad} \input ward \Clozed{\color[white]{x}\quad\color[red]{CLOZE 3}\quad\color[white]{x}} \input ward \Clozed{\color[green]{x}\quad\color[red]{CLOZE 4}\quad\color[white]{x}} \input ward space \Clozed{\color[red]{CLOZE 5}\qquad\color[white]{x}} space \input ward
\stoptext
in next beta you can specify an empty option which will remove the text (otherwise one can still copy it from the pdf): \definebar[ClozedBar][underbar][continue=yes,empty=yes] ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------