Hello again, I know I can use \starttyping with commands by saying \setuptyping[option=commands] and then /BTEX \red{a red text}}/ETEX. Can I do the same for \typebuffer[mybuf]? So for example: \startbuffer[a] verbatim text /BTEX \red{a red text}}/ETEX verbatim text \stopbuffer \typebuffer[a][please_use_my_commands] ?? Patrick -- ConTeXt wiki and more: http://contextgarden.net
Patrick Gundlach wrote:
Hello again,
I know I can use \starttyping with commands by saying \setuptyping[option=commands] and then /BTEX \red{a red text}}/ETEX. Can I do the same for \typebuffer[mybuf]? So for example:
No, you can't because buffers are files, and \typefile explicitly disables option=commands, option=slanted and option=normal. That bit of code looks quite on purpose, but if you don't mind hacking, look at lines 10 and 11 of \dodotypefile in core-ver.tex Cheers, Taco
participants (2)
-
Patrick Gundlach
-
Taco Hoekwater