ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* verbatim text, C code
@ 2002-06-10 17:54 Kris Hermans
  2002-06-11 15:09 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Kris Hermans @ 2002-06-10 17:54 UTC (permalink / raw)


Hi again,

While browsing the ConTeXt source, I saw a few files (verb-XXX.tex) for
fancy verbatim source code. I encountered perl, java(script), eiffel, etc.
but apparently C(++) is missing. Is there a way to format C(++) code
somewhat in a fancy way with ConTeXt?

If it isn't there, what are the appropriate steps to take to do it myself?

thanks,

Kris.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: verbatim text, C code
  2002-06-10 17:54 verbatim text, C code Kris Hermans
@ 2002-06-11 15:09 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2002-06-11 15:09 UTC (permalink / raw)
  Cc: ConTeXt Mailing List

At 07:54 PM 6/10/2002 +0200, Kris Hermans wrote:
>Hi again,
>
>While browsing the ConTeXt source, I saw a few files (verb-XXX.tex) for
>fancy verbatim source code. I encountered perl, java(script), eiffel, etc.
>but apparently C(++) is missing. Is there a way to format C(++) code
>somewhat in a fancy way with ConTeXt?
>
>If it isn't there, what are the appropriate steps to take to do it myself?

Today i would write a more clea pretty handler (and i will do so some day), 
but for the moment the best thing is to start with for instance the perl or 
java one (jv) and see how they perform on a c++ file, if pne of these can 
be taken as starting point, a c++ filter is mostly defining keywords.

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-06-11 15:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-10 17:54 verbatim text, C code Kris Hermans
2002-06-11 15:09 ` Hans Hagen

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).