From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4044 Path: main.gmane.org!not-for-mail From: Ed L Cashin Newsgroups: gmane.comp.tex.context Subject: Re: anyone a working c typing mode Date: 13 Feb 2001 09:37:21 -0500 Sender: owner-ntg-context@let.uu.nl Message-ID: References: <3.0.6.32.20010213084859.01cdc470@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035394737 22346 80.91.224.250 (23 Oct 2002 17:38:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:38:57 +0000 (UTC) Cc: "Uwe Koloska" , ntg-context@ntg.nl Original-To: Hans Hagen In-Reply-To: Hans Hagen's message of "Tue, 13 Feb 2001 08:48:59 +0100" Xref: main.gmane.org gmane.comp.tex.context:4044 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4044 Hans Hagen writes: > At 07:31 PM 2/12/01 +0100, you wrote: > >Hello, > > > >is there anybody out there with a working c/c++ typing mode? I want to > >include some sources in my documentation. > > To a certain extent the perl / javascript mode may work ok; i don't know > enough of c to make a mode -) Or, if you want a no-frills code listing, a macro like this may be enough: \def\displayfile#1{% \startlinenumbering \typefile{#1} \stoplinenumbering\page} -- --Ed Cashin integrit file verification system ecashin@coe.uga.edu http://integrit.sourceforge.net/