Hello,

Something like \setuptyping[ignorefirstspace=yes] would be nice, to be able
to format the source text with indentation but let the typing environment
ignore this indentation.
Example:

\setupcolors[state=start]
\setuptyping[margin=3em, ignorefirstspace=yes]
\starttext
This:
\starttyping
  some typing
\stoptyping
should be same as this:
\starttyping
some typing
\stoptyping
This:
\startcolor[blue]
  \starttyping
    some typing
  \stoptyping
\stopcolor
should be same as this:
\startcolor[blue]
  \starttyping
some typing
  \stoptyping
\stopcolor
some text
\stoptext

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

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

maillist : ntg-context@ntg.nl / 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