[NTG-context] Listings (was: Experience on writing a thesis with MKIV)
Chen Shen
hashhsah at gmail.com
Tue Sep 30 18:37:39 CEST 2008
Hi Wolfgang,
I guess you are referring to mkii features. It seems that formatting
in verbatim doesn't work in mkiv yet, or did I miss out something?
None of the wiki verbatim examples worked for me.
regards,
shenchen
On Mon, Sep 29, 2008 at 2:16 AM, Wolfgang Schuster
<schuster.wolfgang at googlemail.com> 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
>
> ______________________________________________________________
More information about the ntg-context
mailing list