From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79167 Path: news.gmane.org!not-for-mail From: "yang.zhao" Newsgroups: gmane.comp.tex.context Subject: How to display source in ConTeXt? Date: Tue, 13 Nov 2012 17:45:03 +0800 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1188931699==" X-Trace: ger.gmane.org 1352799914 11832 80.91.229.3 (13 Nov 2012 09:45:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Nov 2012 09:45:14 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 13 10:45:21 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TYD3X-0001Jm-IF for gctc-ntg-context-518@m.gmane.org; Tue, 13 Nov 2012 10:45:19 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5D39C10219; Tue, 13 Nov 2012 10:45:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id kPP-mkIVwKTz; Tue, 13 Nov 2012 10:45:07 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E752F10202; Tue, 13 Nov 2012 10:45:06 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 68BA910202 for ; Tue, 13 Nov 2012 10:45:05 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8A2fkj+aFPeW for ; Tue, 13 Nov 2012 10:45:04 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 0DE90101FD for ; Tue, 13 Nov 2012 10:45:04 +0100 (CET) Original-Received: from mail-we0-f169.google.com (mail-we0-f169.google.com [74.125.82.169]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qAD9j3OO002421 for ; Tue, 13 Nov 2012 10:45:03 +0100 Original-Received: by mail-we0-f169.google.com with SMTP id u3so3905460wey.14 for ; Tue, 13 Nov 2012 01:45:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=nLppYmsC3h6kX+hBRJpQdekC08kRn3XotVVw2/7Pm6A=; b=Gs2nzEYtYxsHngmuJKQ+8FZqb2BWpqzGputSH5QOWDdRkdS+9mstcSZz4T/Nn0rY9B ML5ju/HNN0nFIoGVPcJGn/Z6OljWdjn5A6tZO+yGvtsglvdMK7E913uGcwKc+924k+xU CApo0zic1qEiw7fQZmYit6ZSk23gDqaI1qtQ9cUtfQb0yDKaO3fUpWjxtxoHeDIsnP8K g68GzBOG9IoPR0J1McwIDBlf5CZdQdZLUVoSRN0GJvDFzcLHVZ+JkhcVWCRDQ62f49Ec fkxTFM2tW/14G7M4nw6IJu75WKfzTSASUuV/qI/s4uvTHdC35I+uYa7IPH2Wsrw8DAfO c6DA== Original-Received: by 10.181.11.197 with SMTP id ek5mr19217104wid.4.1352799903203; Tue, 13 Nov 2012 01:45:03 -0800 (PST) Original-Received: by 10.194.43.105 with HTTP; Tue, 13 Nov 2012 01:45:03 -0800 (PST) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QImVJ3dx - 9d3a09891a00 - 20121113 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:79167 Archived-At: --===============1188931699== Content-Type: multipart/alternative; boundary=f46d04388e5baec02e04ce5d456a --f46d04388e5baec02e04ce5d456a Content-Type: text/plain; charset=ISO-8859-1 Hi everybody, is there a good way to display source(such as C language) in ConTeXt? or a Module to deal these things (indent, hightlight) just as listings package in LaTeX? Thanks. --f46d04388e5baec02e04ce5d456a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi everybody,
is there a good way to display source(such as C language)= =A0 in ConTeXt?
or a Module to deal these things (indent, hightlight) just as listings package in LaTeX?

Thanks.
--f46d04388e5baec02e04ce5d456a-- --===============1188931699== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1188931699==--