ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ed L Cashin <ecashin@coe.uga.edu>
Cc: "Uwe Koloska" <uwe.koloska@mailbox.tu-dresden.de>, ntg-context@ntg.nl
Subject: Re: anyone a working c typing mode
Date: 13 Feb 2001 09:37:21 -0500	[thread overview]
Message-ID: <m3g0hi3azi.fsf@coe.uga.edu> (raw)
In-Reply-To: Hans Hagen's message of "Tue, 13 Feb 2001 08:48:59 +0100"

Hans Hagen <pragma@wxs.nl> 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/


      parent reply	other threads:[~2001-02-13 14:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-12 18:31 Uwe Koloska
2001-02-13  7:48 ` Hans Hagen
2001-02-13 14:33   ` Uwe Koloska
2001-02-13 14:37   ` Ed L Cashin [this message]

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=m3g0hi3azi.fsf@coe.uga.edu \
    --to=ecashin@coe.uga.edu \
    --cc=ntg-context@ntg.nl \
    --cc=uwe.koloska@mailbox.tu-dresden.de \
    /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).