From: "Chen Shen" <hashhsah@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Listings (was: Experience on writing a thesis with MKIV)
Date: Wed, 1 Oct 2008 00:37:39 +0800 [thread overview]
Message-ID: <48af9a710809300937g728b8a7aib8b88f0c1e144750@mail.gmail.com> (raw)
In-Reply-To: <55EB992D-5348-422A-8105-11A2B2726AF7@gmail.com>
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@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
>
> ______________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2008-09-30 16:37 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-27 16:35 Experience on writing a thesis with MKIV Aditya Mahajan
2008-09-28 13:59 ` Hans Hagen
2008-09-28 15:45 ` Mikael Persson
2008-09-28 18:23 ` Hans Hagen
2008-09-28 19:06 ` Mikael Persson
2008-09-28 19:21 ` Aditya Mahajan
2008-09-28 19:34 ` Utopia and Fourier fonts (was: Experience on writing a thesis with MKIV) Wolfgang Schuster
2008-09-29 9:31 ` Mikael Persson
2008-09-29 9:56 ` Utopia and Fourier fonts Wolfgang Schuster
2008-09-29 13:34 ` Mikael Persson
2008-09-29 13:49 ` Mojca Miklavec
2008-09-29 18:35 ` Mikael Persson
2008-09-29 20:22 ` Wolfgang Schuster
2008-09-30 6:43 ` Mikael Persson
2008-10-01 15:43 ` Mikael Persson
2008-09-29 9:26 ` Experience on writing a thesis with MKIV Mikael Persson
2008-09-28 17:34 ` Mohamed Bana
2008-09-28 18:16 ` Listings (was: Experience on writing a thesis with MKIV) Wolfgang Schuster
2008-09-28 20:42 ` Listings Mohamed Bana
2008-09-28 21:23 ` Listings Wolfgang Schuster
2008-09-28 22:04 ` Listings Wolfgang Schuster
2008-09-30 16:37 ` Chen Shen [this message]
2008-09-30 17:15 ` Listings (was: Experience on writing a thesis with MKIV) Wolfgang Schuster
2008-10-01 3:44 ` Chen Shen
2008-10-02 17:38 ` Chen Shen
2008-09-30 20:35 ` Listings Hans Hagen
2008-10-02 21:27 ` Listings Mohamed Bana
2008-10-03 5:49 ` Listings Peter Münster
2008-10-04 1:11 ` Listings Mojca Miklavec
2008-12-07 2:28 ` Experience on writing a thesis with MKIV Mohamed Bana
2008-12-07 2:50 ` Aditya Mahajan
2008-12-08 23:19 ` Mohamed Bana
2008-12-09 0:40 ` Aditya Mahajan
2008-12-09 1:22 ` Sorting bug in context-alpha (was: Experience on writing a thesis with MKIV) Aditya Mahajan
2008-12-09 2:59 ` Experience on writing a thesis with MKIV Mohamed Bana
2008-12-09 3:26 ` Aditya Mahajan
2008-12-09 18:17 ` Mohamed Bana
2008-12-09 19:36 ` Aditya Mahajan
2008-12-09 21:23 ` Taco Hoekwater
2008-12-09 21:49 ` Aditya Mahajan
2008-12-10 9:24 ` Taco Hoekwater
2008-12-11 2:20 ` Mohamed Bana
2008-12-11 3:17 ` Aditya Mahajan
2008-12-15 3:52 ` Mohamed Bana
2008-12-09 14:18 ` Mojca Miklavec
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48af9a710809300937g728b8a7aib8b88f0c1e144750@mail.gmail.com \
--to=hashhsah@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).