Type of Feature
| Discussion
| Customization
|
---|
|
Character Display
| HTML_TXT uses a few tricks to identify where emphasis (italics, bold, etc.) are used in
an HTML document. These include:
- Capitalization of bold emphasis
- Underlining of underlined emphasis
- "quoting" of italic and <A>nchor emphasis
- "quoting" of the labels used to identify image elements.
Image elements consist of <IMG>s and <AREA>s
(the ALT attribute, or the source image filename, is used as the label).
|
|
|
Lists
| HTML_TXT supports nested lists -- with successively deeper indentations used to display
nested lists. Supported lists include <UL> and <MENU> unordered lists,
<OL> ordered lists, <DL> definition lists, and <BLOCKQUOTE> both-side indented blocks.
You can:
- Change the bullet styles used in <UL> and <MENU> lists -- with different bullets
used at different nesting levels.
- Change the numbering style used (by default) for <OL> lists. Note that HTML_TXT will use
TYPE and START attributes of <OL> lists, and will use the VALUE attribute (if specified) of
a <LI>.
|
|
|
Headings
| HTML_TXT supports two methods of displaying <Hn> headings (where n=1,2,..,7).
- Headings can be "quoted"
- Headings can be used to create a hierarchical outline.
A hierarchical outline refers to headers that identify a section. For example:
I)Main section
I.a)Subsection
I.a.1) Sub subsection
I.b)Sub section 2
In the above example: the I) and I.a) could be used by HTML_TXT to display an
<H2> and an <H3> heading (respectively)
|
|
|
TABLES
| HTML_TXT supports tabluar display of nested tables. Many (but not all)
<TABLE> attributes are supported, including:
- Display of CAPTION, either at the top or bottom of the
table (depending on the value of the CAPTION ALIGN attribute).
- WIDTH attributes of <TABLE> and <TD>. If WIDTH is not specified,
HTML_TXT will "auto-size" columns, assigning more width to columns with wider
content (that is, that would have longer lines of text if horizontal space was not
limited).
- COLSPAN and ROWSPAN attributes are recognized. ROWSPAN is only partially
supported, and may not work properly in complicated tables (tables with
lots of ROWSPANs and COLSPANs).
- ALIGN and VALIGN attributes of <TR> and <TD>
- BORDER attribute of <TABLE> (either a single or double line is drawn, depending on
the value of the BORDER= attribute).
- FRAME="VOID" and RULES="NONE" attributes of <TABLE> (suppress outer
and inner border, respectively)
- the ALIGN attribute of <TABLE> is partially supported:
- ALIGN=LEFT in a top level table (that is not nested in another table)
enablers other text (and other tables) to flow around this table. Note that a
<BR CLEAR=LEFT > will break in this flow (subsequent text is displayed
below the table)
- ALIGN=LEFT, RIGHT, or CENTER in a nested table will align the table (relative
to the table cell it is nested within). However, text flow will not be attempted --
when nested tables are encountered, a paragraph break (a new line) is
always added.
- Empty tables, and empty rows, can be suppressed.
Alternatively, HTML_TXT can display tables (or highly nested tables) as
nested lists.
| |
|
FORMS
| HTML_TXT displays FORM elements using several tricks, including:
- FILE and TEXT boxes are displayed as a bracketed dotted line.
- TEXTAREA boxes are displayed as a box surrounding default text.
- RADIO and CHECKBOX boxes are displayed using special characters (by default,
high-ascii boxes are used)
- SELECT (and it's OPTIONS) are displayed as a bulleted list (with length
controlled by the SIZE option of SELECT) -- with special lines bracketing the
top and bottom of the list.
- SUBMIT and RESET are displayed as "quoted" strings.
|
- RADIOBOX and RADIOBOXCHECK can be used to specify which characters to
use as radio buttons
- CHECKBOX and CHECKBOXCHECK can be used to specify which characters to
use as checkbox boxes
- SUBMITMARK1 and SUBMITMARK2 can be used to specify "quote" characters
for SUBMIT and RESET
- TEXTMARK1, TEXTMARK2, and TEXTMARK can be used to specify characters
used to construct bracketed dotted lines.
- SHOWALLOPTS can be used to suppress the SIZE attribute of SELECT lists
(so as to force display of all OPTIONs).
- FORM_BR is used to force a new line (a BR) after the end of a FORM
|
|
MISCELLANEOUS
|
- <CENTER>, <DIV>, and <P ALIGN=LEFT, CENTER, or RIGHT>
alignment instructions are recognized
- LINELEN can be used to specify the width of the text file
(in characters). CHARWIDTH is used to map "pixels to character size" --
it is used when interpreting WIDTH attributes.
- NO_WORDWRAP is used to suppress word wrapping in a paragraph.
This yields an infinitely long line, which is suitable for reading by
a word processor. NO_WORDWRAP is only applied to non-table lines, and
to lines that are not CENTERed or RIGHT justified. In addition,
indentations (at the beginning of these infinitely long lines) will be replaced
with tabs (which can be converted to
indent characters by your word processor).
- TOOLONGWORD controls whether to trim, or wrap, words that won't fit into a
line (or into a cell of a table).
- LINEART controls whether to use high ascii characters to
draw table borders, list bullets, and "quote characters".
LINK_DISPLAY controls whether to create a "reference list" of URLs
- SUPPRESS_BLANKLINES suppresses output of sequential blank lines.
- DISPLAY_ERRORS controls the amount of error reporting (of HTML syntax)
- HTML_TXT ignores embedded <SCRIPT>s and <APPLET>s
|