Changing the formatting of footnotesControlling HyperlatexSplitting into nodes and menusCustomizing the navigation panelsContentsIndex

Customizing the navigation panels

Normally, Hyperlatex adds a "navigation panel" at the beginning of every HTML node. This panel has links to the next and previous node on the same level, as well as to the parent node.

The easiest way to customize the navigation panel is to turn it off for selected nodes. This is done using the commands \htmlpanel{0} and \htmlpanel{1}. All nodes started while \htmlpanel is set to 0 are created without a navigation panel.

If you wish to add additional fields (such as an index or table of contents entry) to the navigation panel, you can use \htmlpanelfield in the preamble. It takes two arguments, the text to show in the field, and a label in the document where clicking the link should take you. For instance, the navigation panels for this manual were created by adding the following two lines in the preamble:

\htmlpanelfield{Contents}{hlxcontents}
\htmlpanelfield{Index}{hlxindex}

Furthermore, the navigation panels (and in fact the complete outline of the created HTML files) can be customized to your own taste by redefining some Hyperlatex macros. When it formats an HTML node, Hyperlatex inserts the macro \toppanel at the beginning, and the two macros \bottommatter and bottompanel at the end. When \htmlpanel{0} has been set, then only \bottommatter is inserted.

The macros \toppanel and \bottompanel are responsible for typesetting the navigation panels at the top and the bottom of every node. You can change the appearance of these panels by redefining those macros. See bluepanels.hlx for their default definition.

You can use \htmltopname to change the name of the top node.

If you have included language packages from the babel package, you can change the language of the navigation panel using, for instance, \htmlpanelgerman.

The following commands are useful for defining these macros:


July 13, 2005

Changing the formatting of footnotesControlling HyperlatexSplitting into nodes and menusCustomizing the navigation panelsContentsIndex