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

XHTML2PDF(1)							   User Commands						      XHTML2PDF(1)

NAME
xhtml2pdf - PDF generator using HTML and CSS SYNOPSIS
xhtml2pdf [-b base path] [--base=base path] [-c CSS file] [--css=CSS file] [--css-dump] [-d] [--debug] [--encoding=character encoding] [-h] [--help] [-q] [--quiet] [--version] [-w] [--warn] [-x] [--xml] [--xhtml] [--html] [SRC] [DEST] DESCRIPTION
This manual page documents briefly the xhtml2pdf command. xhtml2pdf is an HTML-to-PDF converter using the ReportLab Toolkit, HTML5lib and pyPdf. It supports HTML 5 and CSS 2.1 (and some of CSS 3). It is completely written in pure Python so it is platform independent. The main benefit of this tool that a user with Web skills like HTML and CSS is able to generate PDF templates very quickly without learning new technologies. Easy integration into Python frameworks like CherryPy, KID Templating, TurboGears, Django, Zope, Plone, Google AppEngine (GAE) etc. OPTIONS
A summary of options is included below. SRC Name of a HTML file or a file pattern using * placeholder. If you want to read from stdin use - as file name. You may also load an URL over HTTP. Take care of putting the src in quotes if it contains characters like ?. DEST Name of the generated PDF file or - if you like to send the result to stdout. Take care that the destination file is not already opened by an other application like the Adobe Reader. If the destination is not writeable a similar name will be calculated automatically. -b, --base Specify a base path if input comes via STDIN. -c, --css Path to default CSS file --css-dump Dumps the default CSS definitions to STDOUT. -d, --debug Show debugging information. --encoding The character encoding of SRC. If left empty (default) this information will be extracted from the HTML header data. -h, --help Show the help text. -q, --quiet Show no messages. --version Show version information. -w, --warn Show warnings -x, --xml, --xhtml Force parsing in XML mode (automatically used if SRC ends with .xml). --html Force parsin in HTML mode (default). AUTHOR
xhtml2pdf was written by Dirk Holtwick <dirk.holtwick@gmail.com>. This manual page was written by Toby Smithe <tsmithe@ubuntu.com>, for the Debian project (but may be used by others). pisa 02/08/2010 XHTML2PDF(1)
Man Page