On Sat, 8 Dec 2007 09:28:02 -0500
[EMAIL PROTECTED] wrote:

> > Wolfgang Schuster wrote:
> >
> > \startlines
> > verbatin text
> > \stoplines
> 
> Thanks! That's almost perfect.
> 
> I've noticed that space is still inserted after punctuation characters
> such as '.', ':' and '!'. Is it possible to disable this as well? I've
> read a little about category codes but I'm not entirely sure if that's
> what I should be using (perhaps ConTeXt provides a higher level macro
> for it?).

This is possible and I give you a very simple and dirty version below
but can you explain why do you want this, I thought you want verbatim
output and spaces after punctuation marks are part of verbatim code.

\starttext

\startlines
\catcode`!=13
\catcode`:=13
\catcode`.=13
\def.{\char`.\ignorespaces}
\def:{\char`:\ignorespaces}
\def!{\char`!\ignorespaces}
text text, text. text: text! text text
text text, text! text. text: text text
text text, text: text! text. text text
text text, text. text: text! text text
\stoplines

\stoptext

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to