[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Add tp/Texinfo/Commands.pm tp/Texinfo/Options.pm
From: |
Patrice Dumas |
Subject: |
branch master updated: Add tp/Texinfo/Commands.pm tp/Texinfo/Options.pm generated files |
Date: |
Fri, 04 Oct 2024 04:55:14 -0400 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new ae94a3e31c Add tp/Texinfo/Commands.pm tp/Texinfo/Options.pm generated
files
ae94a3e31c is described below
commit ae94a3e31c1fc14f787c1086bd2298802ec91626
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Oct 4 10:55:25 2024 +0200
Add tp/Texinfo/Commands.pm tp/Texinfo/Options.pm generated files
---
.gitignore | 2 -
ChangeLog | 4 +
tp/Texinfo/Commands.pm | 1591 ++++++++++++++++++++++++++++++++++++++++++++++++
tp/Texinfo/Options.pm | 369 +++++++++++
4 files changed, 1964 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index 3b0e132f04..25fea049be 100644
--- a/.gitignore
+++ b/.gitignore
@@ -299,9 +299,7 @@ tp/*.trs
tp/t/*.log
tp/tests/*.log
-tp/Texinfo/Commands.pm
tp/Texinfo/ModulePath.pm
-tp/Texinfo/Options.pm
tp/Texinfo/XS/*.lo
tp/Texinfo/XS/*.la
diff --git a/ChangeLog b/ChangeLog
index eb67e6d6bd..d808bda9b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2024-10-04 Patrice Dumas <pertusus@free.fr>
+
+ Add tp/Texinfo/Commands.pm tp/Texinfo/Options.pm generated files
+
2024-10-04 Patrice Dumas <pertusus@free.fr>
Add generated code files to version control
diff --git a/tp/Texinfo/Commands.pm b/tp/Texinfo/Commands.pm
new file mode 100644
index 0000000000..b30725f7d8
--- /dev/null
+++ b/tp/Texinfo/Commands.pm
@@ -0,0 +1,1591 @@
+# Automatically generated from regenerate_commands_perl_info.pl
+
+package Texinfo::Commands;
+
+our %block_commands = (
+ "ifclear" => 'conditional',
+ "ifcommanddefined" => 'conditional',
+ "ifcommandnotdefined" => 'conditional',
+ "ifdocbook" => 'conditional',
+ "ifhtml" => 'conditional',
+ "ifinfo" => 'conditional',
+ "iflatex" => 'conditional',
+ "ifnotdocbook" => 'conditional',
+ "ifnothtml" => 'conditional',
+ "ifnotinfo" => 'conditional',
+ "ifnotlatex" => 'conditional',
+ "ifnotplaintext" => 'conditional',
+ "ifnottex" => 'conditional',
+ "ifnotxml" => 'conditional',
+ "ifplaintext" => 'conditional',
+ "ifset" => 'conditional',
+ "iftex" => 'conditional',
+ "ifxml" => 'conditional',
+ "defblock" => 'def',
+ "defcv" => 'def',
+ "deffn" => 'def',
+ "defivar" => 'def',
+ "defmac" => 'def',
+ "defmethod" => 'def',
+ "defop" => 'def',
+ "defopt" => 'def',
+ "defspec" => 'def',
+ "deftp" => 'def',
+ "deftypecv" => 'def',
+ "deftypefn" => 'def',
+ "deftypefun" => 'def',
+ "deftypeivar" => 'def',
+ "deftypemethod" => 'def',
+ "deftypeop" => 'def',
+ "deftypevar" => 'def',
+ "deftypevr" => 'def',
+ "defun" => 'def',
+ "defvar" => 'def',
+ "defvr" => 'def',
+ "float" => 'float',
+ "docbook" => 'format_raw',
+ "html" => 'format_raw',
+ "latex" => 'format_raw',
+ "tex" => 'format_raw',
+ "xml" => 'format_raw',
+ "enumerate" => 'item_container',
+ "itemize" => 'item_container',
+ "ftable" => 'item_line',
+ "table" => 'item_line',
+ "vtable" => 'item_line',
+ "displaymath" => 'math',
+ "detailmenu" => 'menu',
+ "direntry" => 'menu',
+ "menu" => 'menu',
+ "multitable" => 'multitable',
+ "cartouche" => 'other',
+ "flushleft" => 'other',
+ "flushright" => 'other',
+ "group" => 'other',
+ "indentedblock" => 'other',
+ "nodedescriptionblock" => 'other',
+ "raggedright" => 'other',
+ "smallindentedblock" => 'other',
+ "display" => 'preformatted',
+ "example" => 'preformatted',
+ "format" => 'preformatted',
+ "lisp" => 'preformatted',
+ "smalldisplay" => 'preformatted',
+ "smallexample" => 'preformatted',
+ "smallformat" => 'preformatted',
+ "smalllisp" => 'preformatted',
+ "quotation" => 'quotation',
+ "smallquotation" => 'quotation',
+ "ignore" => 'raw',
+ "linemacro" => 'raw',
+ "macro" => 'raw',
+ "rmacro" => 'raw',
+ "verbatim" => 'raw',
+ "copying" => 'region',
+ "documentdescription" => 'region',
+ "titlepage" => 'region',
+);
+
+our %brace_commands = (
+ "'" => 'accent',
+ "," => 'accent',
+ "=" => 'accent',
+ "H" => 'accent',
+ "\"" => 'accent',
+ "^" => 'accent',
+ "`" => 'accent',
+ "dotaccent" => 'accent',
+ "dotless" => 'accent',
+ "ogonek" => 'accent',
+ "ringaccent" => 'accent',
+ "tieaccent" => 'accent',
+ "u" => 'accent',
+ "ubaraccent" => 'accent',
+ "udotaccent" => 'accent',
+ "v" => 'accent',
+ "~" => 'accent',
+ "U" => 'arguments',
+ "abbr" => 'arguments',
+ "acronym" => 'arguments',
+ "anchor" => 'arguments',
+ "email" => 'arguments',
+ "errormsg" => 'arguments',
+ "hyphenation" => 'arguments',
+ "image" => 'arguments',
+ "inforef" => 'arguments',
+ "link" => 'arguments',
+ "pxref" => 'arguments',
+ "ref" => 'arguments',
+ "seealso" => 'arguments',
+ "seeentry" => 'arguments',
+ "sortas" => 'arguments',
+ "uref" => 'arguments',
+ "url" => 'arguments',
+ "xref" => 'arguments',
+ "caption" => 'context',
+ "footnote" => 'context',
+ "math" => 'context',
+ "shortcaption" => 'context',
+ "inlinefmt" => 'inline',
+ "inlinefmtifelse" => 'inline',
+ "inlineifclear" => 'inline',
+ "inlineifset" => 'inline',
+ "inlineraw" => 'inline',
+ "AA" => 'noarg',
+ "AE" => 'noarg',
+ "DH" => 'noarg',
+ "L" => 'noarg',
+ "LaTeX" => 'noarg',
+ "O" => 'noarg',
+ "OE" => 'noarg',
+ "TH" => 'noarg',
+ "TeX" => 'noarg',
+ "aa" => 'noarg',
+ "ae" => 'noarg',
+ "ampchar" => 'noarg',
+ "arrow" => 'noarg',
+ "atchar" => 'noarg',
+ "backslashchar" => 'noarg',
+ "bullet" => 'noarg',
+ "click" => 'noarg',
+ "comma" => 'noarg',
+ "copyright" => 'noarg',
+ "dh" => 'noarg',
+ "dots" => 'noarg',
+ "enddots" => 'noarg',
+ "equiv" => 'noarg',
+ "error" => 'noarg',
+ "euro" => 'noarg',
+ "exclamdown" => 'noarg',
+ "expansion" => 'noarg',
+ "geq" => 'noarg',
+ "guillemetleft" => 'noarg',
+ "guillemetright" => 'noarg',
+ "guillemotleft" => 'noarg',
+ "guillemotright" => 'noarg',
+ "guilsinglleft" => 'noarg',
+ "guilsinglright" => 'noarg',
+ "hashchar" => 'noarg',
+ "l" => 'noarg',
+ "lbracechar" => 'noarg',
+ "leq" => 'noarg',
+ "minus" => 'noarg',
+ "o" => 'noarg',
+ "oe" => 'noarg',
+ "ordf" => 'noarg',
+ "ordm" => 'noarg',
+ "point" => 'noarg',
+ "pounds" => 'noarg',
+ "print" => 'noarg',
+ "questiondown" => 'noarg',
+ "quotedblbase" => 'noarg',
+ "quotedblleft" => 'noarg',
+ "quotedblright" => 'noarg',
+ "quoteleft" => 'noarg',
+ "quoteright" => 'noarg',
+ "quotesinglbase" => 'noarg',
+ "rbracechar" => 'noarg',
+ "registeredsymbol" => 'noarg',
+ "result" => 'noarg',
+ "ss" => 'noarg',
+ "textdegree" => 'noarg',
+ "th" => 'noarg',
+ "tie" => 'noarg',
+ "today" => 'noarg',
+ "dmn" => 'other',
+ "titlefont" => 'other',
+ "txiinternalvalue" => 'special',
+ "value" => 'special',
+ "verb" => 'special',
+ "w" => 'special',
+ "code" => 'style_code',
+ "command" => 'style_code',
+ "env" => 'style_code',
+ "file" => 'style_code',
+ "indicateurl" => 'style_code',
+ "kbd" => 'style_code',
+ "key" => 'style_code',
+ "option" => 'style_code',
+ "samp" => 'style_code',
+ "t" => 'style_code',
+ "r" => 'style_no_code',
+ "asis" => 'style_other',
+ "b" => 'style_other',
+ "cite" => 'style_other',
+ "clicksequence" => 'style_other',
+ "definfoenclose_command" => 'style_other',
+ "dfn" => 'style_other',
+ "emph" => 'style_other',
+ "headitemfont" => 'style_other',
+ "i" => 'style_other',
+ "sansserif" => 'style_other',
+ "sc" => 'style_other',
+ "slanted" => 'style_other',
+ "strong" => 'style_other',
+ "sub" => 'style_other',
+ "sup" => 'style_other',
+ "var" => 'style_other',
+);
+
+our %line_commands = (
+ "appendix" => 'line',
+ "appendixsec" => 'line',
+ "appendixsection" => 'line',
+ "appendixsubsec" => 'line',
+ "appendixsubsubsec" => 'line',
+ "author" => 'line',
+ "center" => 'line',
+ "centerchap" => 'line',
+ "chapheading" => 'line',
+ "chapter" => 'line',
+ "cindex" => 'line',
+ "cpindex" => 'line',
+ "defcvx" => 'line',
+ "deffnx" => 'line',
+ "defivarx" => 'line',
+ "defline" => 'line',
+ "defmacx" => 'line',
+ "defmethodx" => 'line',
+ "defoptx" => 'line',
+ "defopx" => 'line',
+ "defspecx" => 'line',
+ "deftpx" => 'line',
+ "deftypecvx" => 'line',
+ "deftypefnx" => 'line',
+ "deftypefunx" => 'line',
+ "deftypeivarx" => 'line',
+ "deftypeline" => 'line',
+ "deftypemethodx" => 'line',
+ "deftypeopx" => 'line',
+ "deftypevarx" => 'line',
+ "deftypevrx" => 'line',
+ "defunx" => 'line',
+ "defvarx" => 'line',
+ "defvrx" => 'line',
+ "dircategory" => 'line',
+ "evenfooting" => 'line',
+ "evenheading" => 'line',
+ "everyfooting" => 'line',
+ "everyheading" => 'line',
+ "exdent" => 'line',
+ "findex" => 'line',
+ "fnindex" => 'line',
+ "heading" => 'line',
+ "index_entry_command" => 'line',
+ "item_LINE" => 'line',
+ "itemx" => 'line',
+ "kindex" => 'line',
+ "kyindex" => 'line',
+ "listoffloats" => 'line',
+ "majorheading" => 'line',
+ "node" => 'line',
+ "nodedescription" => 'line',
+ "oddfooting" => 'line',
+ "oddheading" => 'line',
+ "pagesizes" => 'line',
+ "part" => 'line',
+ "pgindex" => 'line',
+ "pindex" => 'line',
+ "section" => 'line',
+ "settitle" => 'line',
+ "shorttitlepage" => 'line',
+ "subentry" => 'line',
+ "subheading" => 'line',
+ "subsection" => 'line',
+ "subsubheading" => 'line',
+ "subsubsection" => 'line',
+ "subtitle" => 'line',
+ "tindex" => 'line',
+ "title" => 'line',
+ "top" => 'line',
+ "tpindex" => 'line',
+ "unnumbered" => 'line',
+ "unnumberedsec" => 'line',
+ "unnumberedsubsec" => 'line',
+ "unnumberedsubsubsec" => 'line',
+ "vindex" => 'line',
+ "vrindex" => 'line',
+ "afivepaper" => 'lineraw',
+ "afourlatex" => 'lineraw',
+ "afourpaper" => 'lineraw',
+ "afourwide" => 'lineraw',
+ "bsixpaper" => 'lineraw',
+ "bye" => 'lineraw',
+ "c" => 'lineraw',
+ "clear" => 'lineraw',
+ "clickstyle" => 'lineraw',
+ "comment" => 'lineraw',
+ "contents" => 'lineraw',
+ "finalout" => 'lineraw',
+ "insertcopying" => 'lineraw',
+ "lowersections" => 'lineraw',
+ "novalidate" => 'lineraw',
+ "page" => 'lineraw',
+ "raisesections" => 'lineraw',
+ "set" => 'lineraw',
+ "shortcontents" => 'lineraw',
+ "smallbook" => 'lineraw',
+ "summarycontents" => 'lineraw',
+ "unmacro" => 'lineraw',
+ "vskip" => 'lineraw',
+ "alias" => 'specific',
+ "allowcodebreaks" => 'specific',
+ "codequotebacktick" => 'specific',
+ "codequoteundirected" => 'specific',
+ "columnfractions" => 'specific',
+ "defcodeindex" => 'specific',
+ "defindex" => 'specific',
+ "definfoenclose" => 'specific',
+ "deftypefnnewline" => 'specific',
+ "evenfootingmarks" => 'specific',
+ "evenheadingmarks" => 'specific',
+ "everyfootingmarks" => 'specific',
+ "everyheadingmarks" => 'specific',
+ "exampleindent" => 'specific',
+ "firstparagraphindent" => 'specific',
+ "fonttextsize" => 'specific',
+ "footnotestyle" => 'specific',
+ "frenchspacing" => 'specific',
+ "headings" => 'specific',
+ "kbdinputstyle" => 'specific',
+ "microtype" => 'specific',
+ "need" => 'specific',
+ "oddfootingmarks" => 'specific',
+ "oddheadingmarks" => 'specific',
+ "paragraphindent" => 'specific',
+ "printindex" => 'specific',
+ "setchapternewpage" => 'specific',
+ "sp" => 'specific',
+ "syncodeindex" => 'specific',
+ "synindex" => 'specific',
+ "urefbreakstyle" => 'specific',
+ "xrefautomaticsectiontitle" => 'specific',
+ "documentencoding" => 'text',
+ "documentlanguage" => 'text',
+ "end" => 'text',
+ "include" => 'text',
+ "setfilename" => 'text',
+ "verbatiminclude" => 'text',
+);
+
+our %nobrace_commands = (
+ "refill" => 'other',
+ "thischapter" => 'other',
+ "thischaptername" => 'other',
+ "thischapternum" => 'other',
+ "thisfile" => 'other',
+ "thispage" => 'other',
+ "thissection" => 'other',
+ "thissectionname" => 'other',
+ "thissectionnum" => 'other',
+ "thistitle" => 'other',
+ "headitem" => 'skipspace',
+ "indent" => 'skipspace',
+ "item" => 'skipspace',
+ "noindent" => 'skipspace',
+ "tab" => 'skipspace',
+ "!" => 'symbol',
+ "&" => 'symbol',
+ "*" => 'symbol',
+ "-" => 'symbol',
+ "." => 'symbol',
+ "/" => 'symbol',
+ ":" => 'symbol',
+ "?" => 'symbol',
+ "@" => 'symbol',
+ "\\" => 'symbol',
+ "\n" => 'symbol',
+ "\t" => 'symbol',
+ "\x20" => 'symbol',
+ "{" => 'symbol',
+ "|" => 'symbol',
+ "}" => 'symbol',
+);
+
+
+# flag hashes
+our %accent_commands = (
+ "'" => 1,
+ "," => 1,
+ "=" => 1,
+ "H" => 1,
+ "\"" => 1,
+ "^" => 1,
+ "`" => 1,
+ "dotaccent" => 1,
+ "dotless" => 1,
+ "ogonek" => 1,
+ "ringaccent" => 1,
+ "tieaccent" => 1,
+ "u" => 1,
+ "ubaraccent" => 1,
+ "udotaccent" => 1,
+ "v" => 1,
+ "~" => 1,
+);
+
+our %appendix_commands = (
+ "appendix" => 1,
+ "appendixsec" => 1,
+ "appendixsection" => 1,
+ "appendixsubsec" => 1,
+ "appendixsubsubsec" => 1,
+);
+
+our %blockitem_commands = (
+ "enumerate" => 1,
+ "ftable" => 1,
+ "itemize" => 1,
+ "multitable" => 1,
+ "table" => 1,
+ "vtable" => 1,
+);
+
+our %brace_code_commands = (
+ "code" => 1,
+ "command" => 1,
+ "env" => 1,
+ "file" => 1,
+ "indicateurl" => 1,
+ "kbd" => 1,
+ "key" => 1,
+ "option" => 1,
+ "samp" => 1,
+ "t" => 1,
+ "verb" => 1,
+);
+
+our %close_paragraph_commands = (
+ "caption" => 1,
+ "cartouche" => 1,
+ "center" => 1,
+ "chapheading" => 1,
+ "contents" => 1,
+ "copying" => 1,
+ "defblock" => 1,
+ "defcv" => 1,
+ "defcvx" => 1,
+ "deffn" => 1,
+ "deffnx" => 1,
+ "defivar" => 1,
+ "defivarx" => 1,
+ "defline" => 1,
+ "defmac" => 1,
+ "defmacx" => 1,
+ "defmethod" => 1,
+ "defmethodx" => 1,
+ "defop" => 1,
+ "defopt" => 1,
+ "defoptx" => 1,
+ "defopx" => 1,
+ "defspec" => 1,
+ "defspecx" => 1,
+ "deftp" => 1,
+ "deftpx" => 1,
+ "deftypecv" => 1,
+ "deftypecvx" => 1,
+ "deftypefn" => 1,
+ "deftypefnx" => 1,
+ "deftypefun" => 1,
+ "deftypefunx" => 1,
+ "deftypeivar" => 1,
+ "deftypeivarx" => 1,
+ "deftypeline" => 1,
+ "deftypemethod" => 1,
+ "deftypemethodx" => 1,
+ "deftypeop" => 1,
+ "deftypeopx" => 1,
+ "deftypevar" => 1,
+ "deftypevarx" => 1,
+ "deftypevr" => 1,
+ "deftypevrx" => 1,
+ "defun" => 1,
+ "defunx" => 1,
+ "defvar" => 1,
+ "defvarx" => 1,
+ "defvr" => 1,
+ "defvrx" => 1,
+ "detailmenu" => 1,
+ "dircategory" => 1,
+ "direntry" => 1,
+ "display" => 1,
+ "displaymath" => 1,
+ "documentdescription" => 1,
+ "enumerate" => 1,
+ "example" => 1,
+ "exdent" => 1,
+ "float" => 1,
+ "flushleft" => 1,
+ "flushright" => 1,
+ "format" => 1,
+ "ftable" => 1,
+ "group" => 1,
+ "heading" => 1,
+ "headitem" => 1,
+ "indentedblock" => 1,
+ "insertcopying" => 1,
+ "item" => 1,
+ "item_LINE" => 1,
+ "itemize" => 1,
+ "itemx" => 1,
+ "lisp" => 1,
+ "listoffloats" => 1,
+ "majorheading" => 1,
+ "menu" => 1,
+ "multitable" => 1,
+ "need" => 1,
+ "nodedescription" => 1,
+ "nodedescriptionblock" => 1,
+ "page" => 1,
+ "printindex" => 1,
+ "quotation" => 1,
+ "raggedright" => 1,
+ "setfilename" => 1,
+ "shortcaption" => 1,
+ "shortcontents" => 1,
+ "smalldisplay" => 1,
+ "smallexample" => 1,
+ "smallformat" => 1,
+ "smallindentedblock" => 1,
+ "smalllisp" => 1,
+ "smallquotation" => 1,
+ "sp" => 1,
+ "subheading" => 1,
+ "subsubheading" => 1,
+ "summarycontents" => 1,
+ "tab" => 1,
+ "table" => 1,
+ "titlefont" => 1,
+ "titlepage" => 1,
+ "verbatim" => 1,
+ "verbatiminclude" => 1,
+ "vtable" => 1,
+);
+
+our %contain_basic_inline_commands = (
+ "abbr" => 1,
+ "acronym" => 1,
+ "anchor" => 1,
+ "appendix" => 1,
+ "appendixsec" => 1,
+ "appendixsection" => 1,
+ "appendixsubsec" => 1,
+ "appendixsubsubsec" => 1,
+ "author" => 1,
+ "centerchap" => 1,
+ "chapheading" => 1,
+ "chapter" => 1,
+ "cindex" => 1,
+ "cpindex" => 1,
+ "defcv" => 1,
+ "defcvx" => 1,
+ "deffn" => 1,
+ "deffnx" => 1,
+ "defivar" => 1,
+ "defivarx" => 1,
+ "defmac" => 1,
+ "defmacx" => 1,
+ "defmethod" => 1,
+ "defmethodx" => 1,
+ "defop" => 1,
+ "defopt" => 1,
+ "defoptx" => 1,
+ "defopx" => 1,
+ "defspec" => 1,
+ "defspecx" => 1,
+ "deftp" => 1,
+ "deftpx" => 1,
+ "deftypecv" => 1,
+ "deftypecvx" => 1,
+ "deftypefn" => 1,
+ "deftypefnx" => 1,
+ "deftypefun" => 1,
+ "deftypefunx" => 1,
+ "deftypeivar" => 1,
+ "deftypeivarx" => 1,
+ "deftypemethod" => 1,
+ "deftypemethodx" => 1,
+ "deftypeop" => 1,
+ "deftypeopx" => 1,
+ "deftypevar" => 1,
+ "deftypevarx" => 1,
+ "deftypevr" => 1,
+ "deftypevrx" => 1,
+ "defun" => 1,
+ "defunx" => 1,
+ "defvar" => 1,
+ "defvarx" => 1,
+ "defvr" => 1,
+ "defvrx" => 1,
+ "dircategory" => 1,
+ "email" => 1,
+ "enumerate" => 1,
+ "errormsg" => 1,
+ "evenfooting" => 1,
+ "evenheading" => 1,
+ "everyfooting" => 1,
+ "everyheading" => 1,
+ "example" => 1,
+ "findex" => 1,
+ "float" => 1,
+ "fnindex" => 1,
+ "ftable" => 1,
+ "heading" => 1,
+ "image" => 1,
+ "index_entry_command" => 1,
+ "inforef" => 1,
+ "itemize" => 1,
+ "kindex" => 1,
+ "kyindex" => 1,
+ "link" => 1,
+ "listoffloats" => 1,
+ "majorheading" => 1,
+ "math" => 1,
+ "multitable" => 1,
+ "node" => 1,
+ "nodedescription" => 1,
+ "oddfooting" => 1,
+ "oddheading" => 1,
+ "part" => 1,
+ "pgindex" => 1,
+ "pindex" => 1,
+ "pxref" => 1,
+ "quotation" => 1,
+ "ref" => 1,
+ "section" => 1,
+ "seealso" => 1,
+ "seeentry" => 1,
+ "settitle" => 1,
+ "shortcaption" => 1,
+ "shorttitlepage" => 1,
+ "smallquotation" => 1,
+ "subentry" => 1,
+ "subheading" => 1,
+ "subsection" => 1,
+ "subsubheading" => 1,
+ "subsubsection" => 1,
+ "subtitle" => 1,
+ "table" => 1,
+ "tindex" => 1,
+ "title" => 1,
+ "titlefont" => 1,
+ "top" => 1,
+ "tpindex" => 1,
+ "unnumbered" => 1,
+ "unnumberedsec" => 1,
+ "unnumberedsubsec" => 1,
+ "unnumberedsubsubsec" => 1,
+ "uref" => 1,
+ "url" => 1,
+ "vindex" => 1,
+ "vrindex" => 1,
+ "vtable" => 1,
+ "w" => 1,
+ "xref" => 1,
+);
+
+our %contain_plain_text_commands = (
+ "'" => 1,
+ "," => 1,
+ "=" => 1,
+ "H" => 1,
+ "\"" => 1,
+ "^" => 1,
+ "`" => 1,
+ "alias" => 1,
+ "allowcodebreaks" => 1,
+ "codequotebacktick" => 1,
+ "codequoteundirected" => 1,
+ "columnfractions" => 1,
+ "defcodeindex" => 1,
+ "defindex" => 1,
+ "definfoenclose" => 1,
+ "deftypefnnewline" => 1,
+ "dmn" => 1,
+ "documentencoding" => 1,
+ "documentlanguage" => 1,
+ "dotaccent" => 1,
+ "dotless" => 1,
+ "end" => 1,
+ "evenfootingmarks" => 1,
+ "evenheadingmarks" => 1,
+ "everyfootingmarks" => 1,
+ "everyheadingmarks" => 1,
+ "exampleindent" => 1,
+ "firstparagraphindent" => 1,
+ "fonttextsize" => 1,
+ "footnotestyle" => 1,
+ "frenchspacing" => 1,
+ "headings" => 1,
+ "hyphenation" => 1,
+ "include" => 1,
+ "kbdinputstyle" => 1,
+ "key" => 1,
+ "microtype" => 1,
+ "need" => 1,
+ "oddfootingmarks" => 1,
+ "oddheadingmarks" => 1,
+ "ogonek" => 1,
+ "pagesizes" => 1,
+ "paragraphindent" => 1,
+ "printindex" => 1,
+ "ringaccent" => 1,
+ "setchapternewpage" => 1,
+ "setfilename" => 1,
+ "sortas" => 1,
+ "sp" => 1,
+ "syncodeindex" => 1,
+ "synindex" => 1,
+ "tieaccent" => 1,
+ "u" => 1,
+ "ubaraccent" => 1,
+ "udotaccent" => 1,
+ "urefbreakstyle" => 1,
+ "v" => 1,
+ "verbatiminclude" => 1,
+ "xrefautomaticsectiontitle" => 1,
+ "~" => 1,
+);
+
+our %def_commands = (
+ "defcv" => 1,
+ "defcvx" => 1,
+ "deffn" => 1,
+ "deffnx" => 1,
+ "defivar" => 1,
+ "defivarx" => 1,
+ "defline" => 1,
+ "defmac" => 1,
+ "defmacx" => 1,
+ "defmethod" => 1,
+ "defmethodx" => 1,
+ "defop" => 1,
+ "defopt" => 1,
+ "defoptx" => 1,
+ "defopx" => 1,
+ "defspec" => 1,
+ "defspecx" => 1,
+ "deftp" => 1,
+ "deftpx" => 1,
+ "deftypecv" => 1,
+ "deftypecvx" => 1,
+ "deftypefn" => 1,
+ "deftypefnx" => 1,
+ "deftypefun" => 1,
+ "deftypefunx" => 1,
+ "deftypeivar" => 1,
+ "deftypeivarx" => 1,
+ "deftypeline" => 1,
+ "deftypemethod" => 1,
+ "deftypemethodx" => 1,
+ "deftypeop" => 1,
+ "deftypeopx" => 1,
+ "deftypevar" => 1,
+ "deftypevarx" => 1,
+ "deftypevr" => 1,
+ "deftypevrx" => 1,
+ "defun" => 1,
+ "defunx" => 1,
+ "defvar" => 1,
+ "defvarx" => 1,
+ "defvr" => 1,
+ "defvrx" => 1,
+);
+
+our %def_alias_commands = (
+ "defivar" => 1,
+ "defivarx" => 1,
+ "defmac" => 1,
+ "defmacx" => 1,
+ "defmethod" => 1,
+ "defmethodx" => 1,
+ "defopt" => 1,
+ "defoptx" => 1,
+ "defspec" => 1,
+ "defspecx" => 1,
+ "deftypefun" => 1,
+ "deftypefunx" => 1,
+ "deftypeivar" => 1,
+ "deftypeivarx" => 1,
+ "deftypemethod" => 1,
+ "deftypemethodx" => 1,
+ "deftypevar" => 1,
+ "deftypevarx" => 1,
+ "defun" => 1,
+ "defunx" => 1,
+ "defvar" => 1,
+ "defvarx" => 1,
+);
+
+our %deprecated_commands = (
+ "centerchap" => 1,
+ "definfoenclose" => 1,
+ "inforef" => 1,
+ "refill" => 1,
+);
+
+our %explained_commands = (
+ "abbr" => 1,
+ "acronym" => 1,
+);
+
+our %formattable_line_commands = (
+ "insertcopying" => 1,
+ "listoffloats" => 1,
+ "need" => 1,
+ "printindex" => 1,
+ "sp" => 1,
+ "verbatiminclude" => 1,
+ "vskip" => 1,
+);
+
+our %formatted_line_commands = (
+ "appendix" => 1,
+ "appendixsec" => 1,
+ "appendixsection" => 1,
+ "appendixsubsec" => 1,
+ "appendixsubsubsec" => 1,
+ "author" => 1,
+ "center" => 1,
+ "centerchap" => 1,
+ "chapheading" => 1,
+ "chapter" => 1,
+ "exdent" => 1,
+ "heading" => 1,
+ "item_LINE" => 1,
+ "item" => 1,
+ "itemx" => 1,
+ "majorheading" => 1,
+ "node" => 1,
+ "page" => 1,
+ "part" => 1,
+ "section" => 1,
+ "subheading" => 1,
+ "subsection" => 1,
+ "subsubheading" => 1,
+ "subsubsection" => 1,
+ "subtitle" => 1,
+ "title" => 1,
+ "top" => 1,
+ "unnumbered" => 1,
+ "unnumberedsec" => 1,
+ "unnumberedsubsec" => 1,
+ "unnumberedsubsubsec" => 1,
+);
+
+our %formatted_nobrace_commands = (
+ "!" => 1,
+ "&" => 1,
+ "*" => 1,
+ "-" => 1,
+ "." => 1,
+ "/" => 1,
+ ":" => 1,
+ "?" => 1,
+ "@" => 1,
+ "\\" => 1,
+ "\n" => 1,
+ "\t" => 1,
+ "\x20" => 1,
+ "headitem" => 1,
+ "item" => 1,
+ "tab" => 1,
+ "{" => 1,
+ "}" => 1,
+);
+
+our %global_commands = (
+ "allowcodebreaks" => 1,
+ "author" => 1,
+ "chapheading" => 1,
+ "clickstyle" => 1,
+ "codequotebacktick" => 1,
+ "codequoteundirected" => 1,
+ "contents" => 1,
+ "deftypefnnewline" => 1,
+ "detailmenu" => 1,
+ "documentencoding" => 1,
+ "documentlanguage" => 1,
+ "exampleindent" => 1,
+ "firstparagraphindent" => 1,
+ "float" => 1,
+ "footnote" => 1,
+ "frenchspacing" => 1,
+ "heading" => 1,
+ "headings" => 1,
+ "hyphenation" => 1,
+ "insertcopying" => 1,
+ "kbdinputstyle" => 1,
+ "listoffloats" => 1,
+ "majorheading" => 1,
+ "microtype" => 1,
+ "paragraphindent" => 1,
+ "part" => 1,
+ "printindex" => 1,
+ "shortcontents" => 1,
+ "subheading" => 1,
+ "subsubheading" => 1,
+ "subtitle" => 1,
+ "summarycontents" => 1,
+ "titlefont" => 1,
+ "urefbreakstyle" => 1,
+ "xrefautomaticsectiontitle" => 1,
+);
+
+our %global_unique_commands = (
+ "afivepaper" => 1,
+ "afourlatex" => 1,
+ "afourpaper" => 1,
+ "afourwide" => 1,
+ "bsixpaper" => 1,
+ "copying" => 1,
+ "documentdescription" => 1,
+ "evenfooting" => 1,
+ "evenfootingmarks" => 1,
+ "evenheading" => 1,
+ "evenheadingmarks" => 1,
+ "everyfooting" => 1,
+ "everyfootingmarks" => 1,
+ "everyheading" => 1,
+ "everyheadingmarks" => 1,
+ "fonttextsize" => 1,
+ "footnotestyle" => 1,
+ "novalidate" => 1,
+ "oddfooting" => 1,
+ "oddfootingmarks" => 1,
+ "oddheading" => 1,
+ "oddheadingmarks" => 1,
+ "pagesizes" => 1,
+ "setchapternewpage" => 1,
+ "setfilename" => 1,
+ "settitle" => 1,
+ "shorttitlepage" => 1,
+ "smallbook" => 1,
+ "title" => 1,
+ "titlepage" => 1,
+ "top" => 1,
+);
+
+our %heading_spec_commands = (
+ "evenfooting" => 1,
+ "evenheading" => 1,
+ "everyfooting" => 1,
+ "everyheading" => 1,
+ "oddfooting" => 1,
+ "oddheading" => 1,
+);
+
+our %in_heading_spec_commands = (
+ "thischapter" => 1,
+ "thischaptername" => 1,
+ "thischapternum" => 1,
+ "thisfile" => 1,
+ "thispage" => 1,
+ "thissection" => 1,
+ "thissectionname" => 1,
+ "thissectionnum" => 1,
+ "thistitle" => 1,
+ "|" => 1,
+);
+
+our %in_index_commands = (
+ "seealso" => 1,
+ "seeentry" => 1,
+ "sortas" => 1,
+ "subentry" => 1,
+);
+
+our %index_entry_command_commands = (
+ "cindex" => 1,
+ "cpindex" => 1,
+ "findex" => 1,
+ "fnindex" => 1,
+ "index_entry_command" => 1,
+ "kindex" => 1,
+ "kyindex" => 1,
+ "pgindex" => 1,
+ "pindex" => 1,
+ "tindex" => 1,
+ "tpindex" => 1,
+ "vindex" => 1,
+ "vrindex" => 1,
+);
+
+our %inline_conditional_commands = (
+ "inlineifclear" => 1,
+ "inlineifset" => 1,
+);
+
+our %inline_format_commands = (
+ "inlinefmt" => 1,
+ "inlinefmtifelse" => 1,
+ "inlineraw" => 1,
+);
+
+our %internal_commands = (
+ "definfoenclose_command" => 1,
+ "index_entry_command" => 1,
+ "txiinternalvalue" => 1,
+);
+
+our %letter_no_arg_commands = (
+ "AA" => 1,
+ "AE" => 1,
+ "DH" => 1,
+ "L" => 1,
+ "O" => 1,
+ "OE" => 1,
+ "TH" => 1,
+ "aa" => 1,
+ "ae" => 1,
+ "dh" => 1,
+ "l" => 1,
+ "o" => 1,
+ "oe" => 1,
+ "ss" => 1,
+ "th" => 1,
+);
+
+our %math_commands = (
+ "displaymath" => 1,
+ "math" => 1,
+);
+
+our %no_paragraph_commands = (
+ "*" => 1,
+ "afivepaper" => 1,
+ "afourlatex" => 1,
+ "afourpaper" => 1,
+ "afourwide" => 1,
+ "alias" => 1,
+ "allowcodebreaks" => 1,
+ "anchor" => 1,
+ "appendix" => 1,
+ "appendixsec" => 1,
+ "appendixsection" => 1,
+ "appendixsubsec" => 1,
+ "appendixsubsubsec" => 1,
+ "author" => 1,
+ "bsixpaper" => 1,
+ "bye" => 1,
+ "c" => 1,
+ "caption" => 1,
+ "cartouche" => 1,
+ "center" => 1,
+ "centerchap" => 1,
+ "chapheading" => 1,
+ "chapter" => 1,
+ "cindex" => 1,
+ "clear" => 1,
+ "clickstyle" => 1,
+ "codequotebacktick" => 1,
+ "codequoteundirected" => 1,
+ "columnfractions" => 1,
+ "comment" => 1,
+ "contents" => 1,
+ "copying" => 1,
+ "cpindex" => 1,
+ "defblock" => 1,
+ "defcodeindex" => 1,
+ "defcv" => 1,
+ "defcvx" => 1,
+ "deffn" => 1,
+ "deffnx" => 1,
+ "defindex" => 1,
+ "definfoenclose" => 1,
+ "defivar" => 1,
+ "defivarx" => 1,
+ "defline" => 1,
+ "defmac" => 1,
+ "defmacx" => 1,
+ "defmethod" => 1,
+ "defmethodx" => 1,
+ "defop" => 1,
+ "defopt" => 1,
+ "defoptx" => 1,
+ "defopx" => 1,
+ "defspec" => 1,
+ "defspecx" => 1,
+ "deftp" => 1,
+ "deftpx" => 1,
+ "deftypecv" => 1,
+ "deftypecvx" => 1,
+ "deftypefn" => 1,
+ "deftypefnnewline" => 1,
+ "deftypefnx" => 1,
+ "deftypefun" => 1,
+ "deftypefunx" => 1,
+ "deftypeivar" => 1,
+ "deftypeivarx" => 1,
+ "deftypeline" => 1,
+ "deftypemethod" => 1,
+ "deftypemethodx" => 1,
+ "deftypeop" => 1,
+ "deftypeopx" => 1,
+ "deftypevar" => 1,
+ "deftypevarx" => 1,
+ "deftypevr" => 1,
+ "deftypevrx" => 1,
+ "defun" => 1,
+ "defunx" => 1,
+ "defvar" => 1,
+ "defvarx" => 1,
+ "defvr" => 1,
+ "defvrx" => 1,
+ "detailmenu" => 1,
+ "dircategory" => 1,
+ "direntry" => 1,
+ "display" => 1,
+ "displaymath" => 1,
+ "docbook" => 1,
+ "documentdescription" => 1,
+ "documentencoding" => 1,
+ "documentlanguage" => 1,
+ "end" => 1,
+ "enumerate" => 1,
+ "errormsg" => 1,
+ "evenfooting" => 1,
+ "evenfootingmarks" => 1,
+ "evenheading" => 1,
+ "evenheadingmarks" => 1,
+ "everyfooting" => 1,
+ "everyfootingmarks" => 1,
+ "everyheading" => 1,
+ "everyheadingmarks" => 1,
+ "example" => 1,
+ "exampleindent" => 1,
+ "exdent" => 1,
+ "finalout" => 1,
+ "findex" => 1,
+ "firstparagraphindent" => 1,
+ "float" => 1,
+ "flushleft" => 1,
+ "flushright" => 1,
+ "fnindex" => 1,
+ "fonttextsize" => 1,
+ "footnotestyle" => 1,
+ "format" => 1,
+ "frenchspacing" => 1,
+ "ftable" => 1,
+ "group" => 1,
+ "heading" => 1,
+ "headings" => 1,
+ "headitem" => 1,
+ "html" => 1,
+ "hyphenation" => 1,
+ "ifclear" => 1,
+ "ifcommanddefined" => 1,
+ "ifcommandnotdefined" => 1,
+ "ifdocbook" => 1,
+ "ifhtml" => 1,
+ "ifinfo" => 1,
+ "iflatex" => 1,
+ "ifnotdocbook" => 1,
+ "ifnothtml" => 1,
+ "ifnotinfo" => 1,
+ "ifnotlatex" => 1,
+ "ifnotplaintext" => 1,
+ "ifnottex" => 1,
+ "ifnotxml" => 1,
+ "ifplaintext" => 1,
+ "ifset" => 1,
+ "iftex" => 1,
+ "ifxml" => 1,
+ "ignore" => 1,
+ "image" => 1,
+ "include" => 1,
+ "indent" => 1,
+ "indentedblock" => 1,
+ "index_entry_command" => 1,
+ "index_entry_command" => 1,
+ "insertcopying" => 1,
+ "item" => 1,
+ "item_LINE" => 1,
+ "itemize" => 1,
+ "itemx" => 1,
+ "kbdinputstyle" => 1,
+ "kindex" => 1,
+ "kyindex" => 1,
+ "latex" => 1,
+ "linemacro" => 1,
+ "lisp" => 1,
+ "listoffloats" => 1,
+ "lowersections" => 1,
+ "macro" => 1,
+ "majorheading" => 1,
+ "menu" => 1,
+ "microtype" => 1,
+ "multitable" => 1,
+ "need" => 1,
+ "node" => 1,
+ "nodedescription" => 1,
+ "nodedescriptionblock" => 1,
+ "noindent" => 1,
+ "novalidate" => 1,
+ "oddfooting" => 1,
+ "oddfootingmarks" => 1,
+ "oddheading" => 1,
+ "oddheadingmarks" => 1,
+ "page" => 1,
+ "pagesizes" => 1,
+ "paragraphindent" => 1,
+ "part" => 1,
+ "pgindex" => 1,
+ "pindex" => 1,
+ "printindex" => 1,
+ "quotation" => 1,
+ "raggedright" => 1,
+ "raisesections" => 1,
+ "refill" => 1,
+ "rmacro" => 1,
+ "section" => 1,
+ "set" => 1,
+ "setchapternewpage" => 1,
+ "setfilename" => 1,
+ "settitle" => 1,
+ "shortcaption" => 1,
+ "shortcontents" => 1,
+ "shorttitlepage" => 1,
+ "smallbook" => 1,
+ "smalldisplay" => 1,
+ "smallexample" => 1,
+ "smallformat" => 1,
+ "smallindentedblock" => 1,
+ "smalllisp" => 1,
+ "smallquotation" => 1,
+ "sp" => 1,
+ "subentry" => 1,
+ "subheading" => 1,
+ "subsection" => 1,
+ "subsubheading" => 1,
+ "subsubsection" => 1,
+ "subtitle" => 1,
+ "summarycontents" => 1,
+ "syncodeindex" => 1,
+ "synindex" => 1,
+ "tab" => 1,
+ "table" => 1,
+ "tex" => 1,
+ "tindex" => 1,
+ "title" => 1,
+ "titlefont" => 1,
+ "titlepage" => 1,
+ "top" => 1,
+ "tpindex" => 1,
+ "unmacro" => 1,
+ "unnumbered" => 1,
+ "unnumberedsec" => 1,
+ "unnumberedsubsec" => 1,
+ "unnumberedsubsubsec" => 1,
+ "urefbreakstyle" => 1,
+ "verbatim" => 1,
+ "verbatiminclude" => 1,
+ "vindex" => 1,
+ "vrindex" => 1,
+ "vskip" => 1,
+ "vtable" => 1,
+ "xml" => 1,
+ "xrefautomaticsectiontitle" => 1,
+);
+
+our %non_formatted_block_commands = (
+ "ignore" => 1,
+ "linemacro" => 1,
+ "macro" => 1,
+ "nodedescriptionblock" => 1,
+ "rmacro" => 1,
+);
+
+our %non_formatted_brace_commands = (
+ "anchor" => 1,
+ "caption" => 1,
+ "errormsg" => 1,
+ "hyphenation" => 1,
+ "shortcaption" => 1,
+ "sortas" => 1,
+);
+
+our %preamble_commands = (
+ "*" => 1,
+ "afivepaper" => 1,
+ "afourlatex" => 1,
+ "afourpaper" => 1,
+ "afourwide" => 1,
+ "alias" => 1,
+ "allowcodebreaks" => 1,
+ "bsixpaper" => 1,
+ "bye" => 1,
+ "c" => 1,
+ "clear" => 1,
+ "clickstyle" => 1,
+ "codequotebacktick" => 1,
+ "codequoteundirected" => 1,
+ "columnfractions" => 1,
+ "comment" => 1,
+ "contents" => 1,
+ "copying" => 1,
+ "defcodeindex" => 1,
+ "defindex" => 1,
+ "definfoenclose" => 1,
+ "deftypefnnewline" => 1,
+ "dircategory" => 1,
+ "direntry" => 1,
+ "docbook" => 1,
+ "documentdescription" => 1,
+ "documentencoding" => 1,
+ "documentlanguage" => 1,
+ "end" => 1,
+ "errormsg" => 1,
+ "evenfooting" => 1,
+ "evenfootingmarks" => 1,
+ "evenheading" => 1,
+ "evenheadingmarks" => 1,
+ "everyfooting" => 1,
+ "everyfootingmarks" => 1,
+ "everyheading" => 1,
+ "everyheadingmarks" => 1,
+ "exampleindent" => 1,
+ "finalout" => 1,
+ "firstparagraphindent" => 1,
+ "fonttextsize" => 1,
+ "footnotestyle" => 1,
+ "frenchspacing" => 1,
+ "headings" => 1,
+ "html" => 1,
+ "hyphenation" => 1,
+ "ignore" => 1,
+ "include" => 1,
+ "indent" => 1,
+ "inlinefmt" => 1,
+ "inlinefmtifelse" => 1,
+ "inlineifclear" => 1,
+ "inlineifset" => 1,
+ "inlineraw" => 1,
+ "kbdinputstyle" => 1,
+ "latex" => 1,
+ "linemacro" => 1,
+ "lowersections" => 1,
+ "macro" => 1,
+ "microtype" => 1,
+ "noindent" => 1,
+ "novalidate" => 1,
+ "oddfooting" => 1,
+ "oddfootingmarks" => 1,
+ "oddheading" => 1,
+ "oddheadingmarks" => 1,
+ "pagesizes" => 1,
+ "paragraphindent" => 1,
+ "raisesections" => 1,
+ "refill" => 1,
+ "rmacro" => 1,
+ "set" => 1,
+ "setchapternewpage" => 1,
+ "setfilename" => 1,
+ "settitle" => 1,
+ "shortcontents" => 1,
+ "shorttitlepage" => 1,
+ "smallbook" => 1,
+ "summarycontents" => 1,
+ "syncodeindex" => 1,
+ "synindex" => 1,
+ "tex" => 1,
+ "titlepage" => 1,
+ "unmacro" => 1,
+ "urefbreakstyle" => 1,
+ "xml" => 1,
+ "xrefautomaticsectiontitle" => 1,
+);
+
+our %preformatted_commands = (
+ "display" => 1,
+ "example" => 1,
+ "format" => 1,
+ "lisp" => 1,
+ "smalldisplay" => 1,
+ "smallexample" => 1,
+ "smallformat" => 1,
+ "smalllisp" => 1,
+);
+
+our %preformatted_code_commands = (
+ "example" => 1,
+ "lisp" => 1,
+ "smallexample" => 1,
+ "smalllisp" => 1,
+);
+
+our %ref_commands = (
+ "inforef" => 1,
+ "link" => 1,
+ "pxref" => 1,
+ "ref" => 1,
+ "xref" => 1,
+);
+
+our %root_commands = (
+ "appendix" => 1,
+ "appendixsec" => 1,
+ "appendixsection" => 1,
+ "appendixsubsec" => 1,
+ "appendixsubsubsec" => 1,
+ "centerchap" => 1,
+ "chapter" => 1,
+ "node" => 1,
+ "part" => 1,
+ "section" => 1,
+ "subsection" => 1,
+ "subsubsection" => 1,
+ "top" => 1,
+ "unnumbered" => 1,
+ "unnumberedsec" => 1,
+ "unnumberedsubsec" => 1,
+ "unnumberedsubsubsec" => 1,
+);
+
+our %sectioning_heading_commands = (
+ "appendix" => 1,
+ "appendixsec" => 1,
+ "appendixsection" => 1,
+ "appendixsubsec" => 1,
+ "appendixsubsubsec" => 1,
+ "centerchap" => 1,
+ "chapheading" => 1,
+ "chapter" => 1,
+ "heading" => 1,
+ "majorheading" => 1,
+ "part" => 1,
+ "section" => 1,
+ "subheading" => 1,
+ "subsection" => 1,
+ "subsubheading" => 1,
+ "subsubsection" => 1,
+ "top" => 1,
+ "unnumbered" => 1,
+ "unnumberedsec" => 1,
+ "unnumberedsubsec" => 1,
+ "unnumberedsubsubsec" => 1,
+);
+
+our %unnumbered_commands = (
+ "centerchap" => 1,
+ "part" => 1,
+ "top" => 1,
+ "unnumbered" => 1,
+ "unnumberedsec" => 1,
+ "unnumberedsubsec" => 1,
+ "unnumberedsubsubsec" => 1,
+);
+
+our %variadic_commands = (
+ "example" => 1,
+);
+
+
+# @-commands max number of arguments. Not set for all commands,
+# in general it only matters if > 1, as commands with 0 args
+# are in specific categories, and default handling of commands
+# ignore commas as argument delimiter, which corresponds to commands
+# with 1 argument. Mostly used in Parser.
+our %commands_args_number = (
+ "U" => 1,
+ "abbr" => 2,
+ "acronym" => 2,
+ "alias" => 2,
+ "allowcodebreaks" => 1,
+ "anchor" => 1,
+ "c" => 1,
+ "cartouche" => 1,
+ "clear" => 1,
+ "clickstyle" => 1,
+ "codequotebacktick" => 1,
+ "codequoteundirected" => 1,
+ "comment" => 1,
+ "defcodeindex" => 1,
+ "defindex" => 1,
+ "definfoenclose" => 3,
+ "deftypefnnewline" => 1,
+ "dmn" => 1,
+ "email" => 2,
+ "enumerate" => 1,
+ "errormsg" => 1,
+ "evenfootingmarks" => 1,
+ "evenheadingmarks" => 1,
+ "everyfootingmarks" => 1,
+ "everyheadingmarks" => 1,
+ "exampleindent" => 1,
+ "firstparagraphindent" => 1,
+ "float" => 2,
+ "fonttextsize" => 1,
+ "footnotestyle" => 1,
+ "frenchspacing" => 1,
+ "ftable" => 1,
+ "headings" => 1,
+ "hyphenation" => 1,
+ "ifclear" => 1,
+ "ifcommanddefined" => 1,
+ "ifcommandnotdefined" => 1,
+ "ifset" => 1,
+ "image" => 5,
+ "inforef" => 3,
+ "inlinefmt" => 2,
+ "inlinefmtifelse" => 3,
+ "inlineifclear" => 2,
+ "inlineifset" => 2,
+ "inlineraw" => 2,
+ "itemize" => 1,
+ "kbdinputstyle" => 1,
+ "link" => 3,
+ "microtype" => 1,
+ "need" => 1,
+ "node" => 4,
+ "oddfootingmarks" => 1,
+ "oddheadingmarks" => 1,
+ "paragraphindent" => 1,
+ "printindex" => 1,
+ "pxref" => 5,
+ "quotation" => 1,
+ "ref" => 5,
+ "seealso" => 1,
+ "seeentry" => 1,
+ "set" => 2,
+ "setchapternewpage" => 1,
+ "smallquotation" => 1,
+ "sortas" => 1,
+ "sp" => 1,
+ "syncodeindex" => 2,
+ "synindex" => 2,
+ "table" => 1,
+ "titlefont" => 1,
+ "unmacro" => 1,
+ "uref" => 3,
+ "urefbreakstyle" => 1,
+ "url" => 3,
+ "vskip" => 1,
+ "vtable" => 1,
+ "xref" => 5,
+ "xrefautomaticsectiontitle" => 1,
+);
+
+
+# indices
+our %index_names = (
+'cp' => {'in_code' => 0},
+'fn' => {'in_code' => 1},
+'ky' => {'in_code' => 1},
+'pg' => {'in_code' => 1},
+'tp' => {'in_code' => 1},
+'vr' => {'in_code' => 1},
+);
+
+foreach my $index (keys(%index_names)) {
+ $index_names{$index}->{"name"} = $index;
+}
+
+our %default_index_commands;
+foreach my $index_name (keys (%index_names)) {
+ my $one_letter_prefix = substr($index_name, 0, 1);
+ foreach my $prefix ($index_name, $one_letter_prefix) {
+ $default_index_commands{$prefix."index"} = $index_name;
+ }
+}
+1;
diff --git a/tp/Texinfo/Options.pm b/tp/Texinfo/Options.pm
new file mode 100644
index 0000000000..a6ad29b541
--- /dev/null
+++ b/tp/Texinfo/Options.pm
@@ -0,0 +1,369 @@
+# Automatically generated from regenerate_perl_options_info.pl
+
+package Texinfo::Options;
+
+our %array_cmdline_options = (
+ 'CSS_FILES' => undef,
+ 'CSS_REFS' => undef,
+ 'EXPANDED_FORMATS' => undef,
+ 'INCLUDE_DIRECTORIES' => undef,
+ 'TEXINFO_LANGUAGE_DIRECTORIES' => undef,
+);
+
+our %converter_cmdline_options = (
+ 'SPLIT_SIZE' => 300000,
+ 'FILLCOLUMN' => 72,
+ 'NUMBER_SECTIONS' => 1,
+ 'NUMBER_FOOTNOTES' => 1,
+ 'TRANSLITERATE_FILE_NAMES' => 1,
+ 'SPLIT' => undef,
+ 'HEADERS' => 1,
+ 'NODE_FILES' => undef,
+ 'VERBOSE' => undef,
+ 'OUTFILE' => undef,
+ 'SUBDIR' => undef,
+ 'ENABLE_ENCODING' => 1,
+);
+
+our %converter_customization_options = (
+ 'TOP_NODE_UP' => '(dir)',
+ 'BASEFILENAME_LENGTH' => 255-10,
+ 'DOC_ENCODING_FOR_INPUT_FILE_NAME' => 1,
+ 'DOC_ENCODING_FOR_OUTPUT_FILE_NAME' => 0,
+ 'IMAGE_LINK_PREFIX' => undef,
+ 'CASE_INSENSITIVE_FILENAMES' => 0,
+ 'DEBUG' => 0,
+ 'HANDLER_FATAL_ERROR_LEVEL' => 100,
+ 'TEST' => 0,
+ 'TEXTCONTENT_COMMENT' => undef,
+ 'TEXINFO_DTD_VERSION' => '7.1',
+ 'USE_UNICODE_COLLATION' => 1,
+ 'AFTER_BODY_OPEN' => undef,
+ 'AFTER_SHORT_TOC_LINES' => undef,
+ 'AFTER_TOC_LINES' => undef,
+ 'ASCII_DASHES_AND_QUOTES' => undef,
+ 'ASCII_GLYPH' => undef,
+ 'ASCII_PUNCTUATION' => undef,
+ 'AUTO_MENU_DESCRIPTION_ALIGN_COLUMN' => undef,
+ 'AUTO_MENU_MAX_WIDTH' => undef,
+ 'BEFORE_SHORT_TOC_LINES' => undef,
+ 'BEFORE_TOC_LINES' => undef,
+ 'BIG_RULE' => undef,
+ 'BODY_ELEMENT_ATTRIBUTES' => undef,
+ 'CLASS_BEGIN_USEPACKAGE' => undef,
+ 'COPIABLE_LINKS' => undef,
+ 'CHAPTER_HEADER_LEVEL' => undef,
+ 'CHECK_HTMLXREF' => undef,
+ 'CLOSE_DOUBLE_QUOTE_SYMBOL' => undef,
+ 'CLOSE_QUOTE_SYMBOL' => undef,
+ 'COLLATION_LANGUAGE' => undef,
+ 'COMMAND_LINE_ENCODING' => undef,
+ 'INDENTED_BLOCK_COMMANDS_IN_TABLE' => undef,
+ 'CONTENTS_OUTPUT_LOCATION' => undef,
+ 'CONVERT_TO_LATEX_IN_MATH' => undef,
+ 'DATE_IN_HEADER' => undef,
+ 'DEFAULT_RULE' => undef,
+ 'DEF_TABLE' => undef,
+ 'DO_ABOUT' => undef,
+ 'DOCTYPE' => undef,
+ 'DOCUMENTLANGUAGE_COLLATION' => undef,
+ 'END_USEPACKAGE' => undef,
+ 'EPUB_CREATE_CONTAINER_FILE' => undef,
+ 'EPUB_KEEP_CONTAINER_FOLDER' => undef,
+ 'EXTENSION' => undef,
+ 'EXTERNAL_CROSSREF_EXTENSION' => undef,
+ 'EXTERNAL_CROSSREF_SPLIT' => undef,
+ 'EXTERNAL_DIR' => undef,
+ 'EXTRA_HEAD' => undef,
+ 'FOOTNOTE_END_HEADER_LEVEL' => undef,
+ 'FOOTNOTE_SEPARATE_HEADER_LEVEL' => undef,
+ 'HEADER_IN_TABLE' => undef,
+ 'HIGHLIGHT_SYNTAX' => undef,
+ 'HIGHLIGHT_SYNTAX_DEFAULT_LANGUAGE' => undef,
+ 'HTML_MATH' => undef,
+ 'HTML_ROOT_ELEMENT_ATTRIBUTES' => undef,
+ 'HTMLXREF_FILE' => undef,
+ 'HTMLXREF_MODE' => undef,
+ 'ICONS' => undef,
+ 'INDEX_ENTRY_COLON' => undef,
+ 'INDEX_SPECIAL_CHARS_WARNING' => undef,
+ 'INFO_JS_DIR' => undef,
+ 'INFO_SPECIAL_CHARS_QUOTE' => undef,
+ 'INFO_SPECIAL_CHARS_WARNING' => undef,
+ 'IGNORE_REF_TO_TOP_NODE_UP' => undef,
+ 'INLINE_CSS_STYLE' => undef,
+ 'INPUT_FILE_NAME_ENCODING' => undef,
+ 'JS_WEBLABELS' => undef,
+ 'JS_WEBLABELS_FILE' => undef,
+ 'LATEX_FLOATS_FILE_EXTENSION' => 'tfl',
+ 'LOCALE_ENCODING' => undef,
+ 'L2H_CLEAN' => undef,
+ 'L2H_FILE' => undef,
+ 'L2H_HTML_VERSION' => undef,
+ 'L2H_L2H' => undef,
+ 'L2H_SKIP' => undef,
+ 'L2H_TMP' => undef,
+ 'MATHJAX_CONFIGURATION' => undef,
+ 'MATHJAX_SCRIPT' => undef,
+ 'MATHJAX_SOURCE' => undef,
+ 'MAX_HEADER_LEVEL' => undef,
+ 'MENU_ENTRY_COLON' => undef,
+ 'MENU_SYMBOL' => undef,
+ 'MESSAGE_ENCODING' => undef,
+ 'MONOLITHIC' => undef,
+ 'NO_CSS' => undef,
+ 'NO_NUMBER_FOOTNOTE_SYMBOL' => undef,
+ 'NO_CUSTOM_HTML_ATTRIBUTE' => undef,
+ 'NODE_NAME_IN_INDEX' => undef,
+ 'NODE_NAME_IN_MENU' => undef,
+ 'NO_TOP_NODE_OUTPUT' => undef,
+ 'OPEN_DOUBLE_QUOTE_SYMBOL' => undef,
+ 'OPEN_QUOTE_SYMBOL' => undef,
+ 'OUTPUT_CHARACTERS' => undef,
+ 'OUTPUT_ENCODING_NAME' => undef,
+ 'OUTPUT_FILE_NAME_ENCODING' => undef,
+ 'OUTPUT_PERL_ENCODING' => undef,
+ 'PACKAGE' => undef,
+ 'PACKAGE_AND_VERSION' => undef,
+ 'PACKAGE_NAME' => undef,
+ 'PACKAGE_URL' => undef,
+ 'PACKAGE_VERSION' => undef,
+ 'PRE_BODY_CLOSE' => undef,
+ 'PREFIX' => undef,
+ 'PROGRAM' => undef,
+ 'PROGRAM_NAME_IN_ABOUT' => undef,
+ 'PROGRAM_NAME_IN_FOOTER' => undef,
+ 'SECTION_NAME_IN_TITLE' => undef,
+ 'SHORT_TOC_LINK_TO_TOC' => undef,
+ 'SHOW_TITLE' => undef,
+ 'T4H_LATEX_CONVERSION' => undef,
+ 'T4H_MATH_CONVERSION' => undef,
+ 'T4H_TEX_CONVERSION' => undef,
+ 'TEXI2HTML' => undef,
+ 'TEXINFO_OUTPUT_FORMAT' => undef,
+ 'TXI_MARKUP_NO_SECTION_EXTENT' => undef,
+ 'TOC_LINKS' => undef,
+ 'TOP_FILE' => undef,
+ 'TOP_NODE_FILE_TARGET' => undef,
+ 'TOP_NODE_UP_URL' => undef,
+ 'USE_ACCESSKEY' => undef,
+ 'USE_ISO' => undef,
+ 'USE_LINKS' => undef,
+ 'USE_NEXT_HEADING_FOR_LONE_NODE' => undef,
+ 'USE_NODES' => undef,
+ 'USE_NODE_DIRECTIONS' => undef,
+ 'USE_NUMERIC_ENTITY' => undef,
+ 'USE_REL_REV' => undef,
+ 'USE_SETFILENAME_EXTENSION' => undef,
+ 'USE_TITLEPAGE_FOR_TITLE' => undef,
+ 'USE_UNIDECODE' => undef,
+ 'USE_XML_SYNTAX' => undef,
+ 'VERTICAL_HEAD_NAVIGATION' => undef,
+ 'WORDS_IN_PAGE' => undef,
+ 'XREF_USE_FLOAT_LABEL' => undef,
+ 'XREF_USE_NODE_NAME_ARG' => undef,
+ 'XS_EXTERNAL_CONVERSION' => undef,
+ 'XS_EXTERNAL_FORMATTING' => undef,
+ 'XS_STRXFRM_COLLATION_LOCALE' => undef,
+ '_INLINE_STYLE_WIDTH' => undef,
+);
+
+our %converter_other_options = (
+ 'LINKS_BUTTONS' => undef,
+ 'TOP_BUTTONS' => undef,
+ 'TOP_FOOTER_BUTTONS' => undef,
+ 'SECTION_BUTTONS' => undef,
+ 'CHAPTER_FOOTER_BUTTONS' => undef,
+ 'SECTION_FOOTER_BUTTONS' => undef,
+ 'NODE_FOOTER_BUTTONS' => undef,
+ 'MISC_BUTTONS' => undef,
+ 'CHAPTER_BUTTONS' => undef,
+ 'ACTIVE_ICONS' => undef,
+ 'PASSIVE_ICONS' => undef,
+);
+
+our %multiple_at_command_options = (
+ 'allowcodebreaks' => 'true',
+ 'clickstyle' => '@arrow',
+ 'codequotebacktick' => 'off',
+ 'codequoteundirected' => 'off',
+ 'contents' => 0,
+ 'deftypefnnewline' => 'off',
+ 'documentencoding' => 'utf-8',
+ 'documentlanguage' => undef,
+ 'evenfooting' => undef,
+ 'evenheading' => undef,
+ 'everyfooting' => undef,
+ 'everyheading' => undef,
+ 'exampleindent' => '5',
+ 'firstparagraphindent' => 'none',
+ 'frenchspacing' => 'off',
+ 'headings' => 'on',
+ 'kbdinputstyle' => 'distinct',
+ 'microtype' => undef,
+ 'oddheading' => undef,
+ 'oddfooting' => undef,
+ 'paragraphindent' => '3',
+ 'shortcontents' => 0,
+ 'summarycontents' => 0,
+ 'urefbreakstyle' => 'after',
+ 'xrefautomaticsectiontitle' => 'off',
+);
+
+our %program_cmdline_options = (
+ 'MACRO_EXPAND' => undef,
+ 'INTERNAL_LINKS' => undef,
+ 'ERROR_LIMIT' => 100,
+ 'FORCE' => undef,
+ 'NO_WARN' => undef,
+ 'SILENT' => undef,
+ 'TRACE_INCLUDES' => 0,
+ 'FORMAT_MENU' => 'menu',
+);
+
+our %program_customization_options = (
+ 'CHECK_NORMAL_MENU_STRUCTURE' => 1,
+ 'CHECK_MISSING_MENU_ENTRY' => 1,
+ 'DUMP_TREE' => undef,
+ 'DUMP_TEXI' => undef,
+ 'SHOW_BUILTIN_CSS_RULES' => 0,
+ 'SORT_ELEMENT_COUNT' => undef,
+ 'SORT_ELEMENT_COUNT_WORDS' => undef,
+ 'TEXI2DVI' => 'texi2dvi',
+ 'TREE_TRANSFORMATIONS' => undef,
+);
+
+our %unique_at_command_options = (
+ 'afivepaper' => undef,
+ 'afourpaper' => undef,
+ 'afourlatex' => undef,
+ 'afourwide' => undef,
+ 'bsixpaper' => undef,
+ 'documentdescription' => undef,
+ 'evenfootingmarks' => undef,
+ 'evenheadingmarks' => undef,
+ 'everyfootingmarks' => 'bottom',
+ 'everyheadingmarks' => 'bottom',
+ 'fonttextsize' => 11,
+ 'footnotestyle' => 'end',
+ 'novalidate' => 0,
+ 'oddfootingmarks' => undef,
+ 'oddheadingmarks' => undef,
+ 'pagesizes' => undef,
+ 'setchapternewpage' => 'on',
+ 'setfilename' => undef,
+ 'smallbook' => undef,
+);
+
+
+
+#################################################
+
+my %regular_options_types;
+
+my %converter_common_regular_options_defaults = (
+ 'PACKAGE_AND_VERSION' => 'texinfo',
+ 'PACKAGE_VERSION' => '',
+ 'PACKAGE_URL' => 'http://www.gnu.org/software/texinfo/',
+ 'PROGRAM' => '',
+);
+
+$regular_options_types{'common'} = \%converter_common_regular_options_defaults;
+
+my %converter_converter_regular_options_defaults = (
+ 'documentlanguage' => undef,
+);
+
+$regular_options_types{'converter'} =
\%converter_converter_regular_options_defaults;
+
+my %converter_html_regular_options_defaults = (
+ 'BIG_RULE' => '<hr>',
+ 'BODY_ELEMENT_ATTRIBUTES' => undef,
+ 'CHAPTER_HEADER_LEVEL' => 2,
+ 'CLOSE_QUOTE_SYMBOL' => undef,
+ 'CONTENTS_OUTPUT_LOCATION' => 'after_top',
+ 'CONVERT_TO_LATEX_IN_MATH' => undef,
+ 'INDENTED_BLOCK_COMMANDS_IN_TABLE' => 0,
+ 'COPIABLE_LINKS' => 1,
+ 'DATE_IN_HEADER' => 0,
+ 'DEFAULT_RULE' => '<hr>',
+ 'documentlanguage' => 'en',
+ 'DOCTYPE' => '<!DOCTYPE html>',
+ 'DO_ABOUT' => 0,
+ 'OUTPUT_CHARACTERS' => 0,
+ 'EXTENSION' => 'html',
+ 'EXTERNAL_CROSSREF_EXTENSION' => undef,
+ 'FOOTNOTE_END_HEADER_LEVEL' => 4,
+ 'FOOTNOTE_SEPARATE_HEADER_LEVEL' => 4,
+ 'FORMAT_MENU' => 'sectiontoc',
+ 'HEADERS' => 1,
+ 'INDEX_ENTRY_COLON' => '',
+ 'INLINE_CSS_STYLE' => 0,
+ 'JS_WEBLABELS' => 'generate',
+ 'JS_WEBLABELS_FILE' => 'js_licenses.html',
+ 'MAX_HEADER_LEVEL' => 4,
+ 'MENU_ENTRY_COLON' => ':',
+ 'MENU_SYMBOL' => undef,
+ 'MONOLITHIC' => 1,
+ 'NO_CUSTOM_HTML_ATTRIBUTE' => 0,
+ 'NO_CSS' => 0,
+ 'NO_NUMBER_FOOTNOTE_SYMBOL' => '*',
+ 'NODE_NAME_IN_MENU' => 1,
+ 'OPEN_QUOTE_SYMBOL' => undef,
+ 'OUTPUT_ENCODING_NAME' => 'utf-8',
+ 'SECTION_NAME_IN_TITLE' => 0,
+ 'SHORT_TOC_LINK_TO_TOC' => 1,
+ 'SHOW_TITLE' => undef,
+ 'SPLIT' => 'node',
+ 'TOP_FILE' => 'index.html',
+ 'TOP_NODE_FILE_TARGET' => 'index.html',
+ 'USE_ACCESSKEY' => 1,
+ 'USE_NEXT_HEADING_FOR_LONE_NODE' => 1,
+ 'USE_ISO' => 1,
+ 'USE_LINKS' => 1,
+ 'USE_NODES' => 1,
+ 'USE_NODE_DIRECTIONS' => undef,
+ 'USE_REL_REV' => 1,
+ 'USE_TITLEPAGE_FOR_TITLE' => 1,
+ 'WORDS_IN_PAGE' => 300,
+ 'XREF_USE_NODE_NAME_ARG' => undef,
+ 'XREF_USE_FLOAT_LABEL' => 0,
+ 'xrefautomaticsectiontitle' => 'on',
+);
+
+$regular_options_types{'html'} = \%converter_html_regular_options_defaults;
+
+my %converter_texi2html_regular_options_defaults = (
+ 'FORMAT_MENU' => 'menu',
+ 'USE_SETFILENAME_EXTENSION' => 0,
+ 'footnotestyle' => 'separate',
+ 'CONTENTS_OUTPUT_LOCATION' => 'separate_element',
+ 'FORCE' => 1,
+ 'USE_ACCESSKEY' => 0,
+ 'NODE_NAME_IN_MENU' => 0,
+ 'SHORT_TOC_LINK_TO_TOC' => 0,
+ 'SHOW_TITLE' => 1,
+ 'USE_REL_REV' => 0,
+ 'USE_LINKS' => 0,
+ 'USE_NODES' => 0,
+ 'SPLIT' => '',
+ 'PROGRAM_NAME_IN_FOOTER' => 1,
+ 'PROGRAM_NAME_IN_ABOUT' => 1,
+ 'HEADER_IN_TABLE' => 1,
+ 'MENU_ENTRY_COLON' => '',
+ 'INDEX_ENTRY_COLON' => '',
+ 'DO_ABOUT' => undef,
+ 'CHAPTER_HEADER_LEVEL' => 1,
+ 'BIG_RULE' => '<hr style="height: 6px;">',
+ 'FOOTNOTE_END_HEADER_LEVEL' => 3,
+ 'FOOTNOTE_SEPARATE_HEADER_LEVEL' => 1,
+);
+
+$regular_options_types{'texi2html'} =
\%converter_texi2html_regular_options_defaults;
+
+sub get_converter_regular_options {
+ my $input = shift;
+ return $regular_options_types{$input}
+}
+
+1;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Add tp/Texinfo/Commands.pm tp/Texinfo/Options.pm generated files,
Patrice Dumas <=