Am 18.02.26 um 08:12 schrieb Henning Hraban Ramm:
Do you also know a solution how to hook the comment into a typing environment, for this case:

"""
% comment is empty, what should be the name of the buffer?
\protected\def\CodeComment#1{%
\comment[location=inmargin,space=yes,buffer=#1]{}}

\setuptyping[TEX][before=\CodeComment] % or after or whatever
"""

I solved it with another defined buffer “TEXbuffer”, so that I can simply change \startTEX to \startTEXbuffer.

Hraban
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to