Whitespace significance without verbatim
![](https://secure.gravatar.com/avatar/ae163ddf036d6ccdfcfc20226adad32e.jpg?s=120&d=mm&r=g)
Is there an environment that preserves whitespace (like "typing"), but still processes \bf \it and other text formatting commands (unlike "typing"). Any thoughts? Cheers, Mike
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Thu, 29 Nov 2007, Mike Santy wrote:
Is there an environment that preserves whitespace (like "typing"), but still processes \bf \it and other text formatting commands (unlike "typing").
\setuplines[space=yes] \startlines write what you want {\bf Either bold} or not \stoplines Aditya
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
2007/11/30, Mike Santy
Thanks. Works like a champ.
Cheers, Mike
This is possible in varbatim mode with a few restrictions (just to know). \starttext \setuptyping[option=commands] \starttyping write what you want /BTEX {\it Either italic} or not/ETEX \stoptyping \stoptext Wolfgang
participants (3)
-
Aditya Mahajan
-
Mike Santy
-
Wolfgang Schuster