From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44537 Path: news.gmane.org!not-for-mail From: Mohamed Bana Newsgroups: gmane.comp.tex.context Subject: Re: Listings Date: Thu, 02 Oct 2008 22:27:27 +0100 Message-ID: References: <55EB992D-5348-422A-8105-11A2B2726AF7@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1222982949 31266 80.91.229.12 (2 Oct 2008 21:29:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2008 21:29:09 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 02 23:30:07 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KlVkN-0001M3-B3 for gctc-ntg-context-518@m.gmane.org; Thu, 02 Oct 2008 23:30:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 44D051FC6A; Thu, 2 Oct 2008 23:29:02 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21884-05; Thu, 2 Oct 2008 23:28:14 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5D3B21FC71; Thu, 2 Oct 2008 23:28:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E10E21FC71 for ; Thu, 2 Oct 2008 23:28:12 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25026-01-7 for ; Thu, 2 Oct 2008 23:27:37 +0200 (CEST) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with ESMTP id 5DA711FC1B for ; Thu, 2 Oct 2008 23:27:37 +0200 (CEST) Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KlVhx-0004cs-6C for ntg-context@ntg.nl; Thu, 02 Oct 2008 21:27:37 +0000 Original-Received: from 87-194-191-26.bethere.co.uk ([87.194.191.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Oct 2008 21:27:37 +0000 Original-Received: from m.bana.lists by 87-194-191-26.bethere.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Oct 2008 21:27:37 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 42 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 87-194-191-26.bethere.co.uk User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) In-Reply-To: <55EB992D-5348-422A-8105-11A2B2726AF7@gmail.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:44537 Archived-At: 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 ___________________________________________________________________________________