Appendix A Specific Functions for Specific Elements

Links on Texinfo perl modules functions or descriptions of functions that can be used for specific elements formatting:

@today

See Texinfo::Convert::Utils::expand_today.

@verbatiminclude

See Texinfo::Convert::Utils::expand_verbatiminclude.

@def* @-commands

See Texinfo::Convert::Utils::definition_arguments_content. See Texinfo::Convert::Utils::definition_category_tree.

@float

See Texinfo::Convert::Converter::float_name_caption. Can be called as $converter->float_name_caption.

accent @-commands

See Texinfo::Convert::Converter::xml_accent. Can be called as $converter->xml_accent.

See Texinfo::Convert::Converter::xml_numeric_entity_accent.

See Texinfo::Convert::Converter::convert_accents.

text element

See Texinfo::Convert::Converter::xml_format_text_with_numeric_entities. Can be called as $converter->xml_format_text_with_numeric_entities.

@item in @table and similar @-commands

See Texinfo::Convert::Converter::table_item_content_tree. Can be called as $converter->table_item_content_tree.

@*index @subentry

See Texinfo::Convert::Converter::comma_index_subentries_tree. Can be called as $converter->comma_index_subentries_tree.

global informative commands (@contents, @footnotestyle ...)

See Texinfo::Common::set_informative_command_value.

heading commands, such as @subheading

See Texinfo::Common::section_level. This function would work for sectioning commands too, but for sectioning commands, section->{'structure'}->{'section_level'} can also be used. See Texinfo Tree Elements in User Defined Functions.

sectioning commands

See Texinfo::Structuring::section_level_adjusted_command_name.

@itemize

@itemize normally have an @-command as argument. If, instead, the argument is some Texinfo code, html_convert_css_string_for_list_mark can be used to convert that argument to text usable in CSS style specifications.

Function: $text_for_css = $converter->html_convert_css_string_for_list_mark (\%element, $explanation)

\%element is the Texinfo element that is converted to CSS text. In general, it is $itemize->{'args'}->[0], with $itemize an @itemize Texinfo tree element. $explanation is an optional string describing what is being done that can be useful for debugging.

Returns \%element formatted as text suitable for CSS.

The Texinfo::Convert::NodeNameNormalization converter, used for normalization of labels, exports functions that can be used on Texinfo elements trees to obtain strings that are unique and can be used in attributes. See (texi2any_internals)Texinfo::Convert::NodeNameNormalization.