---

c2html 0.5 – Highlight C sources for WWW presentation

Florian
Schintke
writes:

c2html can highlight your source for presentation in the WWW. It
can also be used as a CGI script and can detect whether the client
browser supports compressed data to save bandwidth.

You can download it from:


ftp://sunsite.unc.edu/pub/Linux/apps/www/converters/c2html-0.5.tar.gz

NEWS:
27APR99 c2html 0.5 released

  • added labeling for function definitions (not the declaration).
    so you can refer to them with <A
    HREF=”foo.c.html#myfunction”>See this function</A> This
    labeling isn’t very stable and doesn’t work always. (Sometimes no
    label occurs, where a label should occur)
  • bug with ‘t’ chars if -n is used…fixed.
  • added new switch -n for numbering and labeling source lines so
    you can refer to them with <A HREF=”foo.c.html#line301″>line
    301</A> from the same (see options -h and -b) or other files.
    Thanks to Luis Villa <liv@duke.edu> for this idea.
  • better usage output
  • added -s to suppress generation of html headers
  • added -h file -b file for head and bottom files
  • restructured sources
  • ü bugfix
  • new switch -c to disable CGI feature (otherwise Content-Type:
    text/html header would be generated) Now you can use this program
    in an other CGI script to generate only a part of the output.
  • HTTP Last-Modified header added

26MAR99 c2html 0.4 released
* little changes on the Makefile.in to get debian compliance

[…]

c2html.lsm:     
Begin3          
Title:          c2html
Version:        0.5
Entered-date:   27APR99
Description:    c2html highlights C-language sources like emacs does. 
                Output is in html format. Also works as CGI to convert
                files on the fly.
Keywords:       C syntax highlighting html
Author:         schintke@cs.tu-berlin.de (Florian Schintke)
                mkamm@gmx.net (Martin Kammerhofer)
Maintained-by:  schintke@cs.tu-berlin.de (Florian Schintke)
Primary-site:   sunsite.unc.edu /pub/Linux/apps/www/converters/
                35kB c2html-0.5.tar.gz 
Platform:       any UNIX using flex or lex and gcc
Copying-policy: GNU Public License
End

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis