html2ipf.cmd
script by Andrew Pavel Zabolotny which has served me quite well over the years.
However, this has now been replaced with my own
h2i.exe
utility, which is both faster and more flexible.
h2i
is contained in the xwphelpers
repository
at netlabs (see "Requirements").
Start h2i
to
have its syntax explained. It works quite similar to html2ipf.cmd
,
so you can also check HTML2IPF.INF
for the general principle.
In addition, h2i
supports the following:
<HTML>
tag has new attributes:
XPOS=
and
YPOS=
work just like
IPF's "x" and "y" tags;
WIDTH=
and
HEIGHT=
are the same as in IPF.
<A>
tag accepts a new
AUTO=
attribute, which works just like
HREF=
, but automatically opens and closes the window (this is, for
example, used on the "Introduction" page of the
XWorkplace Online Reference).
<CITE>
and
</CITE>
formatting tags are now set to use a
non-proportional font, which is used extensively.
<UL>
, <BR>
,
<B>
etc.).
html2ipf
, h2i
supports the resid
attribute to the <HTML>
tag to allow setting the resid explicitly,
which is very
helpful for composing help panels that can actually get called by ID from XWorkplace.
h2i
supports string replacements via entities.
An entity always has the form &entity;
and whatever is between
the "&" and and ";" characters can be dynamically replaced. Since h2i
can also parse C include files for C preprocessor #define
's, this
allows for including the same headers in XWorkplace and h2i
to share
definitions and resids.
h2i
supports the new <IFDEF>
and
<IFNDEF>
tags for conditional compiles.