5.2.2 Changing Global Directions Output Units

The global direction associated output unit may be changed by specifying the Texinfo code name of a @node. The direction should then be linked to the output unit of that node in headers. Use texinfo_register_global_direction to change a direction link.

Function: texinfo_register_global_direction ($direction, $texinfo_node_name)

$direction is a global direction (see Directions), $texinfo_node_name is an optional node name Texinfo code. The $direction will point to the output unit associated to the $texinfo_node_name node name, if set and the node exists in the Texinfo document.

For example, to have the Index direction be associated to the output unit of the ‘Main @emph{Index}’ node, call

texinfo_register_global_direction ('Index', 'Main @emph{Index}');