|
All htp options can be specified on the command-line;
many can be set in the actual source files. Options set inside
source files override command-line options.
These options can be used on the command-line by preceding their name
with a ‘-’ character. Inside source files, the OPT
tag is used.
Options include:
- IMGXY: Width & height will be added to all image tags.
This is the default setting.
- NOIMGXY: Width & height will not be added to image
tags (but not removed if already found).
- QUIET: Pre-processor only displays warnings and error messages.
- VERBOSE: Pre-processor displays all informational,
warnings, and error messages. This is the default setting.
- DEPEND: Check target file's dependencies before processing.
If the input file, or any of the file it may INCLUDE
have changed, it will continue and build the output file. Otherwise, a simple
informational message will be printed and no action will occur. This is the
default setting.
- NODEPEND: Dependency checking will not occur during
processing.
- PRECIOUS: Normally, if htp cannot finish processing
a file, it will delete the incomplete output file to prevent using it
accidentally. However, if this is not desirable, the PRECIOUS option will
turn off this behavior.
- CONDENSE: All HTML will be condensed, which is merely
stripping it of all linefeeds. HTML does not require any carriage returns
or linefeeds, so the format of the output will not be changed. However,
file sizes will be somewhat smaller, and should load a little faster,
especially over a slow link.
- SEMICONDENSE: This option will strip empty lines from
the produced HTML file. Normally this makes the output more readable than
when using CONDENSE or NOCONDENSE. This is the default.
- NOCONDENSE: This disables condensing the output. This is
the default setting.
- DELIM: This can be set to either HTML, CURLY or
SQUARE. Each setting determines how htp markups should be surrounded
in the text. HTML indicates using arrow brackets (‘<’ and ‘>’) just like
standard HTML tags. CURLY means tags should be surrounded by curly braces
(‘{’ and ‘}’). SQUARE uses square brackets (‘[’ and ‘]’) to surround htp tags.
Note that this only applies to the special htp tags and not to
the standard HTML tags, including IMG (which htp can
process.) The default setting is HTML.
- XML: This options tells htp to produce a XML-style
generator tag. Since HTML forbids the generator tag to end with
/> but XHTML and XML require it, this flag indicates
what to use.
|