![](https://secure.gravatar.com/avatar/02a476cdfdfea19af9c2be1be1571d7d.jpg?s=120&d=mm&r=g)
Wolfgang Schuster
Am 03.02.2012 um 10:13 schrieb Marco Pessotto:
This is better, as the compilation doesn't fail and the comment appears as comment, but on the page there is a literal "[title=,]" (in the first example) or "[title=commentname,]" in the second and third example.
scrn-wid.mkvi
\def\scrn_comment_start_indeed[#title][#settings]% {\bgroup \doifassignmentelse{#title} - {\setupcurrentcomment[\currentcomment][#title]} - {\setupcurrentcomment[\currentcomment][\c!title=#title,#settings]}% + {\setupcurrentcomment[#title]} + {\setupcurrentcomment[\c!title=#title,#settings]}% \def\scrn_comment_stop{\scrn_comment_inject\egroup}% \grabbufferdatadirect\v!comment{\e!start\currentcomment}{\e!stop\currentcomment}}
Tested and works like a charm. Thanks a lot. Best wishes -- Marco