TXT2HTML(1) V1.25 TXT2HTML(1)
6 MAY 1999
NAME
txt2html - TXT2HTML
SYNOPSIS
txt2html
DESCRIPTION
Txt2html is a Perl program that converts plain text to HTML. It
supports headings, lists, simple character markup, and hyperlinking,
and is highly customizable. It recognizes some of the apparent
structure of the source document (mostly whitespace and typographic
layout), and attempts to mark that structure explicitly using HTML.
FEATURES
It's a simple filter that takes a plain text file via stdin or one
that you name, and outputs HTML via stdout. If you are in a standard
Unix shell or MS-DOS, you would do something like this: txt2html
someTextFile > yourNewHTMLfile
I'm still lagging on documentation, but undocumented features are
better than no features at all. My hope is that the average user won't
need to use any options. Here are some ways of learning how to use
txt2html.
- txt2html --help
This will give you a list of options. You probably won't ever
need to use more than a few of these. Most of them are for
tweaking various features. Most text files I've tried this on
convert decently without tweaking, but I'm a big fan of
configurability, so I threw tons of options in.
- Look at the sample down below. It's not a guide in how to use
txt2html, but it will show you what sort of things it can
handle.
- Read the Configurable Options section at the beginning of the
script. That's where you'll find a more complete description of
all the options, as well as the default values for everything.
- "Use the source."
I don't recommend this route for the faint of heart.
MORE INFORMATION
For more information see "http://www.thehouse.org/txt2html/"
PROGRAM AUTHOR
Seth Golub <seth@thehouse.org>
- 1 - Formatted: December 24, 2025
TXT2HTML(1) V1.25 TXT2HTML(1)
6 MAY 1999
MAN PAGE
Mehdi Lavasani <lavasani@csc.liv.ac.uk>
- 2 - Formatted: December 24, 2025