1. \HCode{...}

This command allows only for the expansion of macros, before sending its content to the output. The instruction \Hnewline may be introduced there for requesting line breaks, and the command \# may be used for the sharp symbol ‘#’.

Two lines of text \HCode{<br />}
separated by a horizontal line.
You probably don’t want a ‘<br>’.

2. \HPage{anchor}content\EndHPage{}

This command dedicates a hypertext page for the specified content, to be accessed through the given button.

The \ExitHPage{...} command may be employed within the content to create exit buttons.

...... ............
\HPage{in}
................
[\ExitHPage{out}]
................
\EndHPage{}
...................

3. \Link[target-file arguments]{target-loc}{cur-loc}anchor\EndLink

This command requests an anchor that links to ‘target-file#target-loc’, and marks the current location with the name ‘cur-loc’.

The component ‘[...]’ is optional when it is empty, and the target file need not be mentioned if it is created from the current source file.

\HPage{}
......................
\Link[http://www.tug.org/]{}{XX}\TeX{} Users Group
Home Page\EndLink
......................
\EndHPage{}
......................
\Link{XX}{}...\EndLink
The characters ‘~’, ‘_’, and ‘%’ can be indirectly included through the code ‘\string ~’, ‘\string _’, and ‘\%’, respectively.

4. \ifOption{...}{true-part}{false-part}

Generated August 24, 2020 - tex4ht home page