... Inf-HTML v0.8b ...


Usage

Inf-FILE.EXE is designed to convert the information contained in Os/2 Inf/Hlp files into a series of HTML files which can then be placed on a WWW system.

Inf-FILE.EXE is *NEW* in version 0.8b and so is rather untested. It has helped me find a few little bugs in the Inf-HTML engine which I have since fixed. I have not tried this on many files but have ran it across the Os/2 Command Reference and REXX Reference successfully.

Files

The files in this package that are required for operation are -

inf-file.exe
The main file required. This file can be placed anywhere but preferably in your path if you wish to have easy access to it.
This file needs no configuration files, external files, etc to run and does not need to be in the path.

The files that make things more complete

/inf-html/inf-html.htm etc
The files in the /inf-html/ directory should be located in a directory somewhere on the WWW server that you are placing the HTML documents. This directory should be specified when running inf-file.exe. These files include about files, usage files, and graphics.
/inf-html/pics/*.gif
These files are not required at all.

OK, how do I use this program?

I won't go into specifics but I'll provide some examples here. From this you should be able to understand how to work it out.

Converting a INF file.

Say you have a Team Os/2 Newsletter that you want to convert and place in your home directory for others to access.

  1. Make a empty directory and change into this directory
  2. type
    inf-file x:\path\file.inf toc /~myhome/inf-html/
    to create the toc.html file for file.inf (Table of Contents)
  3. type
    inf-file x:\path\file.inf idx /~myhome/inf-html/
    to create the idx.html file for file.inf (Index File)
  4. type
    inf-file x:\path\file.inf text /~myhome/inf-html/
    to create the article files text.*.html for file.inf (Articles)
  5. in your home directory make a directory called inf-html and place the files from /inf-html/ into it.
  6. that's pretty well it!

The entry point for the set of files is usually toc.html but up to you.

You may notice that the Table of Contents is fully expanded rather than expandable (as provided by Inf-HTML.EXE). This is the only sensible way to handle this.


Later, Peter Childs

INTERNET: pjchilds@apanix.apana.org.au

FIDONET: Peter Childs 3:800/3 (South Australian Country Club)