HTML2RNO understands several HTML tags and tries to convert them to their RUNOFF 'equivalents'. There is, however a fundamental difference:
Example:
aaa<RNO INLINE="|">bbb
Such a construct can be used to
suggest a possible line-break to RUNOFF.
I'm not aware that a browser does right-justify a paragraph or that HTML
contains directives to indicate possible line-break in words.
Example:
<PRE>
text-1
text-2<RNO INSERT_LITERAL=".test page 4">more-text-1
more-text-2
</PRE>
The resulting output in the '.RNO' file looks like:
Example: : .literal : : text-1 : text-2 : .end literal : .test page 4 : .literal : more-text-1 : more-text-2 : : .end literal(There are currently superflowous empty lines if one uses <PRE> and </PRE>.)
Example:
<RNO LINE=".test page 10">
This tells RUNOFF that there
must be at least 10 free lines on the current page. If not, RUNOFF starts a new
page. A browser has only one huge 'page' and the user scrolls through that page.
[.VMS.TEST]HTML2RNO-TEST.HTML should contain a test case for each HTML tag that
HTML2RNO.PY understands.
@@ to be enhanced