[NTG-context] multiple line comments

r.ermers at hccnet.nl r.ermers at hccnet.nl
Wed Mar 29 09:16:28 CEST 2006


Hi all,

I do the following:

\def\com#1{\blank{\bf commentaar:} {\em #1} ---}
%\def\com#1{}

When I need the comments in my printed text, I put a % for the second 
line. Simple.

Kind regards,

Robert


Hans Hagen wrote:

>Hans Hagen wrote:
>  
>
>>This one is pretty safe: 
>>
>>\startbuffer[comment]
>>    bla
>>    \startbuffer
>>    bla \iftrue \startbuffer bla bla
>>    bla \stopbuffer bla bla
>>    \stopbuffer
>>    bla
>>    bla
>>\stopbuffer
>>    
>>
>\starthiding
>\stophiding
>
>does not support nesting in the way buffers do (simply because it was 
>not enabled); i added a few lines to the buffer handler, so that now we 
>can say:
>
>\definebuffer[mycomment][local=yes]
>
>and have 
>
>\startmycomment 
>.... 
>\stopmycomment
>
>(this extension will be available in the next release) 
>
>(btw, in a similar fashion verbatim supports some nesting, which was needed in order to be able to write manuals) 
>
>Hans  
>
>
>-----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>                                             | www.pragma-pod.nl
>-----------------------------------------------------------------
>
>_______________________________________________
>ntg-context mailing list
>ntg-context at ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
>  
>


More information about the ntg-context mailing list