Wolfgang Schuster wrote:
> 
> \setupcolors[state=start]
> 
> \definetyping[JAVA][option=JV]
> 
> \setuptyping
>    [JAVA]
>    [numbering=line]
> 
> \starttext
> 
> \startJAVA
> ....
> \stopJAVA
> 
> \stoptext
> 
> or
> 
> same preamble as above plus
> 
> \definefloat[listing][listings]
> 
> \starttext
> 
> \placelisting
>     [split]
>     [lst:freeformlogfile]
>     {Log File}
>     {\startJAVA
>      ...
>      \stopJAVA}
> 
> \stoptext
> 
> Wolfgang
> 

Maybe someone should ask the authors of listings.sty if they're are 
willing to port it to ConTeXt.  Here's the relevant link; 
http://www.ctan.org/tex-archive/macros/latex/contrib/listings/

___________________________________________________________________________________
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