7 Customizing Output-Related Names

It is possible to control both output file names and target identifiers in detail.

User defined functions customizing file names and targets are registered with texinfo_register_file_id_setting_function:

Function: texinfo_register_file_id_setting_function ($customized, \&handler)

$customized is a string describing what the function should set. \&handler should be a reference on the user defined function. The different functions that can be registered have different arguments and return values.

The different possibilities for the customized information are explained in the next sections.

For example:

sub my_node_file_name($$$) {
  my ($converter, $element, $filename) = @_;
  # ....
  return $node_file_name
}

texinfo_register_file_id_setting_function('node_file_name',
                                          \&my_node_file_name);