Hallo, on Vers 38 at page 2 (see example) text is green. ---------------------------------------------------------------- \setupcolors[state=start] \newcounter\V \def\Vers#1{\increment\V {\color[darkgreen]\rm\bi \V} #1} \starttext \startcolumns \dorecurse{50}{\Vers{Dies ist ein Testsatz der gerade lange genug ist, um zu zeigen was zu zeigen ist.}\par} \stopcolumns \stoptext ---------------------------------------------------------------- How can this be fixed? Wolfgang PS If a Vers is starting on a new page, the number is black.
Am 27.03.10 21:34, schrieb Wolfgang Werners-Lucchini:
Hallo,
on Vers 38 at page 2 (see example) text is green.
---------------------------------------------------------------- \setupcolors[state=start] \newcounter\V \def\Vers#1{\increment\V {\color[darkgreen]\rm\bi \V} #1}
\def\Vers#1{\increment\V \dontleavehmode{\color[darkgreen]\rm\bi \V} #1} but i think this is better \setupcolors[state=start] \definelabel [Vers] [headstyle=bolditalic, headcolor=darkgreen, command=\groupedcommand\dontleavehmode\space] \starttext \startcolumns text\par\dorecurse{50}{\Vers Dies ist ein Testsatz der gerade lange genug ist, um zu zeigen was zu zeigen ist.\par} \stopcolumns \stoptext Wolfgang
participants (2)
-
Wolfgang Schuster
-
Wolfgang Werners-Lucchini