\fP tags.
.IP "\fB--template\fP=\fIFILE\fP" 8
overrides the default template for the given output format.
If \fB--no-header\fP is given too, this has no meaning,
since the template is ignored anyway.
.IP "\fB\-T\fP, \fB--title\fP" 8
Set the title of the produced output file.
Only works if the template does support setting the title.
.IP "\fB\-w\fP, \fB--linewidth\fP=\fILINEWIDTH\fP" 8
Wrap lines after \fILINEWIDTH\fP characters. Default is to not wrap lines
at all.
.IP "\fB\-b\fP, \fB--linebreakprefix\fP=\fILINEPREFIX\fP" 8
Use \fIfILINEPREFIX\fP at the start of wrapped lines. Default is "» ".
.SS
(2) HTML patching
.LP
\fBcode2html\fP \fB\-p\fP [\fIfile\fP [\fIalternate-outfile\fP]]
.LP
\fBcode2html\fP also allows you to have inline source code in an html file.
It can then take this html file and insert the syntax highlighted code.
.LP
If no file is given, \fBcode2html\fP reads from STDIN and writes to STDOUT.
If just one file is given it replaces this file with the output.
If two files are provided,
the first one is read from and the second one written to.
.LP
To use this feature, just insert a like like this into your html file:
.IP
\fC \-\->\fP
.LP
the syntax highlighted file will be inserted at
this position enclosed in \fC\fP tags.
.LP
All options that can be given on the command line like
\fB--linenumbers\fP etc. work.
\fB--help\fP, \fB--version\fP, etc. work too however it is not very
intelligent to use them :).
Using \fB--output-format\fP to choose a non-HTML
outputformat is not adviseable.
\fB--content-type\fP is ignored.
.LP
You may also write the program's source code directly in
the html file with the following syntax:
.IP
\fC
.sp
\-\->
.LP
It is usually a good idea to at least give
the \fB--language-mode\fP option to specify the language.
.SS
(3) CGI
.LP
If the the script is used as a CGI script
(\fBGATEWAY_INTERFACE\fP environment set and no command line arguments given)
\fBcode2html\fP reads the arguments either from the query string or
from SDTIN.
(methods POST and GET).
.LP
\fB--content-type\fP is switched on automatically and
the output always goes to STDOUT.
.LP
The following parameters/options are accepted:
.IP "\fBlanguage-mode\fP \- optional" 8
`c', `cc', `pas', etc.
.IP
if not given, some heuristics are used to find out the language.
.IP "\fBfallback\fP \- optional" 8
`plain', `c', etc. if language-mode cannot be found, use this one
.IP "\fBinput-selector\fP \- optional" 8
either `file', `cgi-input1', `cgi-input2', or `REDIRECT_URL'
.IP
default: file
.IP "\fBfilename\fP" 8
file to read from if \fBinput-selector\fP is `file'
.IP "\fBcgi-input1\fP" 8
The source code to syntax highlight.
For example from a \fC