Contents Up Previous Next

Authoring HTML documents

When an HTML document is generated, the suffix '_contents' is appended to the input file root. This will be the contents page for the document. A number of further HTML files will be generated, possibly a large number for a document with a large number of sections. If you are running a 16-bit Windows version of Tex2RTF, you may wish to use the truncateFilenames option to generate DOS filenames with appropriately truncated references inside the HTML files.


Tip: to reduce the number of sections generated and make the document more linear, you could define new chapter and section commands. Alias them to the normal commands in real LaTeX (edit texhelp.sty), and to appropriate bold/large headings (but not section commands) in the Tex2RTF initialisation file.

Each HTML section file (except for the contents page) is given browse buttons, similar to a Windows Help file: Contents, Up, Down, Back, Forward. You can set htmlBrowseButtons to specify whether bitmaps or text should be used for these buttons. On a text-only browser, the buttons will show as text even if images have been specified.

As well as the usual jumps within a document, you can use the \urlref command to jump to other documents. 'Advanced features' which are implemented for HTML include:

See HTML options for relevant initialisation file switches.