From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76875 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: Can C-Pretty-Printing module for MKIV be installed through first-setup Date: Mon, 11 Jun 2012 13:48:34 +0200 Message-ID: <87aa0acbn1.fsf@micropit.couberia.bzh> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1339415323 6304 80.91.229.3 (11 Jun 2012 11:48:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Jun 2012 11:48:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 11 13:48:42 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 1Se36v-0007x6-KU for gctc-ntg-context-518@m.gmane.org; Mon, 11 Jun 2012 13:48:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 94751101DF; Mon, 11 Jun 2012 13:48:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id VdnNzhjJmWh2; Mon, 11 Jun 2012 13:48:39 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2057D101E2; Mon, 11 Jun 2012 13:48:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C4631101E2 for ; Mon, 11 Jun 2012 13:48:37 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 45wTK4ng186H for ; Mon, 11 Jun 2012 13:48:36 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id C56CB101DF for ; Mon, 11 Jun 2012 13:48:36 +0200 (CEST) Original-Received: from smtp.smtpout.orange.fr (smtp11.smtpout.orange.fr [80.12.242.133]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q5BBmCdC031515 for ; Mon, 11 Jun 2012 13:48:13 +0200 Original-Received: from micropit.couberia.bzh ([2.2.44.20]) by mwinf5d34 with ME id Lzoa1j00U0S6nte03zob9w; Mon, 11 Jun 2012 13:48:35 +0200 Original-Received: by micropit.couberia.bzh (Postfix, from userid 1000) id A25CD5007AD; Mon, 11 Jun 2012 13:48:34 +0200 (CEST) Mail-Followup-To: mailing list for ConTeXt users In-Reply-To: (Jan Pohanka's message of "Mon, 11 Jun 2012 13:02:11 +0200") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.133; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WHkXMdlH - 52c362d5db1b - 20120611 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 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 Xref: news.gmane.org gmane.comp.tex.context:76875 Archived-At: On Mon, Jun 11 2012, Jan Pohanka wrote: > I'd like to use C-Pretty-Printing module. As it is listed on > http://modules.contextgarden.net I thought it should be installed by > first-setup.sh --modules=all. No, it shouldn't, because it doesn't work with latest ConTeXt versions. You could also try http://tlcontrib.metatex.org/cgi-bin/package.cgi/action=view/id=367 but I don't know, if it works with latest ConTeXt. There is also the t-vim module: --8<---------------cut here---------------start------------->8--- \usemodule[vim] \definevimtyping[C][syntax=c] \starttext \startC int main(void) { puts("Hello World!"); return 0; } \stopC \stoptext --8<---------------cut here---------------end--------------->8--- -- Peter ___________________________________________________________________________________ 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 ___________________________________________________________________________________