This document describes the "policies" used by AscToHTM and related programs when converting unformatted text files into HTML or RTF output files.
The policies take the form of rules or instructions that the program
must follow. They fall broadly into two types.
- Analysis Policies. These describe rules for how the input text file is to be understood. In many cases these rules will be determined by a process of analysis. In other cases (or when the analysis goes wrong), these policies may need to be set by hand.
- Output Policies. These describe rules and extra information to be used when generating the output HTML or RTF files. In almost all cases these have to be set manually by the user.
When regularly converting the same, or similar, files it is possible to load a set of policies from file. These are called "policy files", and take the form of ordinary text files, with one policy per line. This allows users to easily edit such files and their policies.
Converted from a single text file by AscToHTM © 1997-99 John A. Fotheringham | ![]() |