19.4.3 HTML Customization Variables

This table gives the customization variables which apply to HTML output only. A few other customization variables apply to both HTML and other output formats; see Other Customization Variables.


If set, and the menu entry and menu description are the same, then do not print the menu description; default false.


If set, the corresponding text will appear at the beginning of each HTML file; default unset.


If set, the corresponding text is output after the short table of contents for AFTER_SHORT_TOC_LINES and after the table of contents for AFTER_TOC_LINES; otherwise, a default string is used. At the time of writing, a </div> element is closed.

In general, you should set BEFORE_SHORT_TOC_LINES if AFTER_SHORT_TOC_LINES is set, and you should set BEFORE_TOC_LINES if AFTER_TOC_LINES is set.


The maximum length of a base file name; default 245. Changing this would make cross-manual references to such long node names invalid (see HTML Cross-reference Link Basics).


If set, the corresponding text is output before the short table of contents for BEFORE_SHORT_TOC_LINES and before the table of contents for BEFORE_TOC_LINES, otherwise a default string is used. At the time of writing, a <div ...> element is opened.

In general you should set AFTER_SHORT_TOC_LINES if BEFORE_SHORT_TOC_LINES is set, and you should set AFTER_TOC_LINES if BEFORE_TOC_LINES is set.


Rule used after and before the top element and before special elements, but not for footers and headers; default <hr>.


The text appearing in <body>. By default, sets the HTML lang attribute to the document language (see @documentlanguage ll[_cc]: Set the Document Language).


Construct output file names as if the filesystem were case insensitive (see HTML Splitting); default false.


Header formatting level used for chapter level sectioning commands; default ‘2’.


Check that manuals which are the target of external cross-references (see @xref with Four and Five Arguments) are present in htmlxref.cnf (see HTML Cross-reference Configuration: htmlxref.cnf); default false.


If set, use tables for indentation of complex formats; default false.


If set to ‘after_top’, output the contents at the end of the @top section. If set to ‘inline’, output the contents where the @contents and similar @-commands are located. If set to ‘separate_element’ output the contents in separate elements, either at the end of the document if not split, or in a separate file. If set to ‘after_title’ the tables of contents are output after the title; default ‘after_top’.


If set, try to convert any Texinfo @-commands inside @math and @displaymath to LaTeX, before converting the @math or @displaymath to HTML. Default undef. If undefined, set if HTML_MATH is set.


If set, output copiable links for the definition commands (see Definition Commands) and table commands (see Making a Two-column Table) where an index entry is defined. A link appears as a ‘¶’ sign that appears when you hover the mouse pointer over the heading text.


Put the document generation date in the header; off by default.


If set, a <table> construction for @deffn and similar @-commands is used (looking more like the TeX output), instead of definition lists; default false.


Rule used between element, except before and after the top element, and before special elements, and for footers and headers; default <hr>.


If set to 0 never do an About special element; if set to 1 always do an About special element; default 0.


For cross-references to other manuals, this determines if the other manual is considered to be split or monolithic. By default, it is set based on the value of SPLIT. See HTML Cross-references, and see HTML Cross-reference Configuration: htmlxref.cnf.


Base directory for external manuals; default none. It is better to use the general external cross-reference mechanism (see HTML Cross-reference Configuration: htmlxref.cnf) than this variable.


File extension for cross-references to other manuals. If unset, based on EXTENSION.


Additional text appearing within <head>; default unset.


Header formatting level used for the footnotes header with the ‘end’ footnotestyle; default ‘4’. See Footnote Styles.


Header formatting level used for the footnotes header with the ‘separate’ footnotestyle; default ‘4’. See Footnote Styles.


If set, a file describing the frame layout is generated, together with a file with the short table of contents; default false.


Same as DOCTYPE, but for the file containing the frame description.


Use tables for header formatting rather than a simple <div> element; default false.


Method to use to render @math. This can be unset, set to ‘mathjax’ (see MathJax Customization Variables), set to ‘l2h’, which uses latex2html (see latex2html Customization Variables), or set to ‘t4h’, which uses tex4ht (see tex4ht Customization Variables). In the default case, setting HTML_MATH also sets CONVERT_TO_LATEX_IN_MATH.


Use that string for the <html> HTML document root element. Default undefined.


Set the file name used for cross-references to other manuals. If not defined, htmlxref.cnf is used (see HTML Cross-reference Configuration: htmlxref.cnf). Not defined in the default case. If TEST is set, HTMLXREF_MODE is set to the default and HTMLXREF_FILE is not defined, information on cross-references to other manuals is not used.

If HTMLXREF_MODE is set to ‘file’ the file name is directly used as the source of information, otherwise the file name is searched for in directories, and all the files found are used (see HTML Cross-reference Configuration: htmlxref.cnf).


How cross-references to other manuals information is determined. If set to ‘none’, no information is used. If set to ‘file’, the information is determined from a file path, htmlxref.cnf in the default case, or the value of HTMLXREF_FILE. If not defined (the default) or set to any other value, search in directories and use all the files (see HTML Cross-reference Configuration: htmlxref.cnf).


Use icons for the navigation panel; default false.


If set, the associated value is prepended to the image file links; default unset.


Symbol used between the index entry and the associated node or section; default ‘:’.


(Experimental.) Add a JavaScript browsing interface to the manual. The value of the variable is the directory to place the code for this interface, so you would run the program as e.g. ‘texi2any --html -c INFO_JS_DIR=js manual.texi’ to place files in a ‘js’ directory under the output. This provides some of the functionality of the Info browsers in a web browser, such as keyboard navigation and index lookup. This only works with non-split HTML output.

The interface should provide an acceptable fallback in functionality if JavaScript or web browser features are not available. However, please be cautious when using this option, in case you do make your documentation harder to access for some of your users.


Ignore references to TOP_NODE_UP, the up node for the Top node.


Put CSS directly in HTML elements rather than at the beginning of the output; default false.


Specify how to use a JavaScript license web labels page to give licensing information and source code for any JavaScript used in the HTML files for the manual. (See https://www.gnu.org/licenses/javascript-labels.html).

With the value ‘generate’ (the default), generate a labels page at JS_WEBLABELS_FILE, and link to it in the HTML output files. Only do this if actually referencing JavaScript files (either with HTML_MATH set to ‘mathjax’, or when using the experimental JS browsing interface when INFO_JS_DIR is set). With this setting, JS_WEBLABELS_FILE must be a relative file name.

With the value ‘reference’, link to the labels file given by JS_WEBLABELS_FILE in the output, and do not generate a labels file. This setting is useful if you separately maintain a single labels file for a larger website that includes your manual.

With ‘omit’, neither generate nor link to a labels file.


Maximum header formatting level used (higher header formatting level numbers correspond to lower sectioning levels); default ‘4’.


Symbol used between the menu entry and the description; default ‘:’.


Symbol used in front of menu entries when node names are used for menu entries formatting; default is undefined and set to &bull; if USE_NUMERIC_ENTITY is not set, and to &#8217; if set.


Output only one file including the table of contents. Set by default, but only relevant when the output is not split.


Do not use CSS; default false. See HTML CSS.


Do not output HTML with custom attributes in elements; default false.


Symbol used for footnotes if NUMBER_FOOTNOTES is false. Default is *.


If true, use node names in index entries, otherwise prefer section names. If undefined, use USE_NODES value in HTML. Default is undefined.


If set, the given text will appear at the footer of each HTML file; default unset.


Used when an About element is output. If set, output the program name and miscellaneous related information in About special element; default false.


If set, output the program name and miscellaneous related information in the page footers; default false.


If set, when output is split, use the argument of the chapter structuring command (e.g., @chapter or @section) in the <title> instead of the argument to @node.


If set, the cross-references in the Short table of contents links to the corresponding Table of Contents entries, if a Table of Contents is output; default true.


Output the built-in default CSS rules on the standard output and exit.


If set, output the title at the beginning of the document; default ‘undef’. If set to ‘undef’, setting NO_TOP_NODE_OUTPUT also sets SHOW_TITLE for HTML.


If set, use a simple preformatted style for the menu, instead of breaking down the different parts of the menu; default false. See The Parts of a Menu.


If set, links from headings to toc entries are created; default false.


This file name may be used for the top-level file. The extension is set appropriately, if necessary. This is used to override the default, and is, in general, only taken into account when output is split, and for HTML.


File name used for the Top node in cross-references; default is index.html.


A URL used for Top node up references; the default is undef, in that case no Top node Up reference is generated. For more about the Top node pointers, see The First Node. For overriding the Up pointer name in case TOP_NODE_UP_URL is set and for other formats, see TOP_NODE_UP in Other Customization Variables.


Use accesskey in cross-references; default true.


Use entities for doubled single-quote characters (see Inserting Quotation Marks), and ‘---’ and ‘--’ (see General Syntactic Conventions); default true.


Generate <link> elements in the HTML <head> output; default true.


If set, a node not associated to a sectioning command but followed by a heading command not usually associated to node such as @heading before other formatted contents do not have its name output as a heading, under the assumption that the command found provides the heading. Default true.


If true, use nodes to determine where next, up and prev link to in node headers. If false, use sections. If undefined, use USE_NODES value. Default is undefined. Note that this setting does not determine the link string only where the links points to, see xrefautomaticsectiontitle for the link string customization. If nodes and sections are systematically associated, this customization has no practical effect.


Use rel in cross-references; default true.


Use the full @titlepage as the title, not a simple title string; default true. Only relevant if SHOW_TITLE is set.


Use XML/XHTML compatible syntax.


If set, a vertical navigation panel is used; default false.


When output is split by nodes, specifies the approximate minimum page length at which a navigation panel is placed at the bottom of a page. To avoid ever having the navigation buttons at the bottom of a page, set this to a sufficiently large number. The default is 300.


If set, for the float name in cross-references, use the float label instead of the type followed by the float number (see @float [type][,label]: Floating Material). The default is off.


Only relevant for cross-reference commands with no cross reference name (second argument). If set to 1, use the node name (first) argument in cross-reference @-commands for the text displayed as the hyperlink. If set to 0, use the node name if USE_NODES is set, otherwise the section name. If set to ‘undef’, use the first argument in preformatted environments, otherwise use the node name or section name depending on USE_NODES. The default is ‘undef’.