Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

hscolour(1) [debian man page]

HSCOLOUR(1)							   User Commands						       HSCOLOUR(1)

NAME
HsColour - generate colourised output for Haskell code SYNOPSIS
HsColour options [file.hs] DESCRIPTION
HsColour is a program that colourises Haskell code. It currently has six output formats: ANSI terminal codes, HTML 3.2 with <font> tags, HTML 4.01 with CSS, XHTML 1.0 with inline CSS styling, LaTeX, and mIRC chat client codes. Flag reference: -version Print out version information. -help A rudimentary help message. -oOUTPUT Write the output to the specified file. -tty Write output with ANSI terminal code colours (this is the default). -html Write output in HTML 3.2 format with font tags. -css Write output in HTML 4.01 format with CSS styling. -icss Write output in XHTML 1.0 format with inline CSS styling. -latex Write output as LaTeX source code. -mirc Output for IRC. -lit When outputting HTML etc, inform HsColour that the input Haskell code is Literate Haskell. -lit-tex When outputting LaTeX, inform HsColour that the input Haskell code is Literate Haskell. -anchor In HTML mode add named anchors. -partial Create output fragments (ie omit the HTML DOCTYPE header, CSS stylesheet link, or LaTeX prologue) for embedding in a larger docu- ment. -print-css Print out the default CSS definitions, in case you lose the .css file. -nolit Turn off -lit mode. -noanchor Turn off -anchor mode. -nopartial Turn off -partial mode. The HsColour homepage is at http://www.cs.york.ac.uk/fp/darcs/hscolour/ . COPYRIGHT
Copyright (C) 2003-2009 Malcolm Wallace and Bjorn Bringert This program comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of this program under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. AUTHOR
The text for this page was constructed from HsColour's main web page by Erik de Castro Lopo <erikd@mega-nerd.com>, for the Debian GNU/Linux system (but may be used by others). HsColour July 2009 HSCOLOUR(1)

Check Out this Related Man Page

CAML2HTML(1)						      General Commands Manual						      CAML2HTML(1)

NAME
caml2html - colorizes a set of OCaml source files. SYNOPSIS
caml2html [options] file* DESCRIPTION
Caml2html colorizes a set of OCaml source files (.ml, .mli, .mll, .mly, ...). Type annotations will be shown when the mouse pointer passes over an expression if the corresponding .annot file is available. To obtain a .annot file, compile your OCaml source files with ocamlc -dtypes or ocamlopt -dtypes. OPTIONS
-annotfilter {innermost|outermost} choose whether innermost or outermost type annotations should be used (default: innermost) -charset specify charset to use (default: iso-8859-1) -css use CSS named style.css for styling -cssurl use the given URL as CSS for styling -inhead use default styling and place it in the head section of the document (default when applicable) -inline use inline styling (HTML only, default fallback if -inhead is not applicable) -body output only document's body, for inclusion into an existing document (see also -make-css and -make-latex-defs) -ln add line number at the beginning of each line -hc comments are treated as raw HTML or LaTeX code (no newlines inside of tags) -t add a title to the HTML page -nf do not add footnotes to the HTML page -ie7 drop support for type annotations on Internet Explorer 6 and older -noannot do not insert type annotations as read from .annot files (HTML output only) -notab do not replace tabs by spaces -tab replace tab by n spaces (default = 8) -d generate files in directory dir, rather than in current directory -o output file -v print version number to stdout and exit -make-css create CSS file with default color definitions and exit -ext <NAME:CMD> use the given external command CMD to handle comments that start with (*NAME. NAME must be a lowercase identifier. -latex output LaTeX code instead of HTML. -make-latex-defs create a file containing the default LaTeX color definitions and matching highlighting commands, and exit. is not included. -help|--help Display this list of options AUTHORS
Sylvain Le Gall. Caml2html User Manual November 9, 2010 CAML2HTML(1)
Man Page