This is a first port of htmldoc for OS/2. Only the commandline version
has been ported.

INSTALLATION

copy the executable htmldoc-1.8.9/htmldoc/htmldoc.exe to somewhere
in your path.

Make a directory:
	x:/htmldoc
	
copy the contents of htmldoc-1.8.9/data to x:/htmldoc/data
copy the contents of htmldoc-1.8.9/afm to x:/htmldoc/afm	

in config.sys:
	set HTMLDOC_DATA=x:/htmldoc
	
If HTMLDOC_DATA is not set, defaults to d:/contrib/htmldoc	

QUICK USE

	htmldoc --webpage -f a.ps a.html
	
generates a	postscript file a.ps from a.html

	htmldoc --webpage -f a.pdf a.html
	
generates a	acrobat file a.pdf from a.html
	


COMPILE and CHANGES
	
I have not made a gui for htmldoc, this requires FLTK which is available
for XFree86 for OS2. Maybe somebody can do this.

Changes which I have made to make htmldoc compile under OS2 and available in
this distribution:

	config.h  <-- commented out HAVE_LIBFLTK and HAVE_LIBXPM
	Makedefs  <-- Added DEFS=-DOS2 and removed libraries which we don't need
	
Code changes only to sources in htmldoc. Can be found by grepping for OS2
in *.cxx and *.hxx

I have not changed the sources in the other directories.

TESTS

I've done some rudimentary tests to see if simple conversions work. They do.
However, I have not extensively tested the large number of other options. 
If there are problems, it would be better if you fix the source rather than
for me to do it :-).

	
SOURCE
The original source is at

	http://www.easysw.com/htmldoc
	

Cheng-Yang Tan
cytan299@aol.com
29 Dec 2000
		
