Variable: org-texinfo-classes

org-texinfo-classes is a customizable variable defined in ox-texinfo.el.gz.

Value

(("info" "@documentencoding AUTO\n@documentlanguage AUTO"
  ("@chapter %s" "@unnumbered %s" "@chapheading %s" "@appendix %s")
  ("@section %s" "@unnumberedsec %s" "@heading %s" "@appendixsec %s")
  ("@subsection %s" "@unnumberedsubsec %s" "@subheading %s"
   "@appendixsubsec %s")
  ("@subsubsection %s" "@unnumberedsubsubsec %s" "@subsubheading %s"
   "@appendixsubsubsec %s")))

Documentation

Alist of Texinfo classes and associated header and structure.

If #+TEXINFO_CLASS is set in the buffer, use its value and the associated information. Here is the structure of a class definition:

  (class-name
    header-string
    (numbered-1 unnumbered-1 unnumbered-no-toc-1 appendix-1)
    (numbered-2 unnumbered-2 unnumbered-no-toc-2 appendix-2)
    ...)


The header string
-----------------

The header string is inserted in the header of the generated document, right after "@setfilename" and "@settitle" commands.

If it contains the special string

  "@documentencoding AUTO"

"AUTO" will be replaced with an appropriate coding system. See
org-texinfo-coding-system for more information. Likewise, if the string contains the special string

  "@documentlanguage AUTO"

"AUTO" will be replaced with the language defined in the
buffer, through #+LANGUAGE keyword, or globally, with org-export-default-language, which see.

The sectioning structure
------------------------

The sectioning structure of the class is given by the elements following the header string. For each sectioning level, a number of strings is specified. A %s formatter is mandatory in each section string and will be replaced by the title of the section.

This variable was added, or its default value changed, in Org version
9.2.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ox-texinfo.el.gz
(defcustom org-texinfo-classes
  '(("info"
     "@documentencoding AUTO\n@documentlanguage AUTO"
     ("@chapter %s" "@unnumbered %s" "@chapheading %s" "@appendix %s")
     ("@section %s" "@unnumberedsec %s" "@heading %s" "@appendixsec %s")
     ("@subsection %s" "@unnumberedsubsec %s" "@subheading %s"
      "@appendixsubsec %s")
     ("@subsubsection %s" "@unnumberedsubsubsec %s" "@subsubheading %s"
      "@appendixsubsubsec %s")))
  "Alist of Texinfo classes and associated header and structure.
If #+TEXINFO_CLASS is set in the buffer, use its value and the
associated information.  Here is the structure of a class
definition:

  (class-name
    header-string
    (numbered-1 unnumbered-1 unnumbered-no-toc-1 appendix-1)
    (numbered-2 unnumbered-2 unnumbered-no-toc-2 appendix-2)
    ...)


The header string
-----------------

The header string is inserted in the header of the generated
document, right after \"@setfilename\" and \"@settitle\"
commands.

If it contains the special string

  \"@documentencoding AUTO\"

\"AUTO\" will be replaced with an appropriate coding system.  See
`org-texinfo-coding-system' for more information.  Likewise, if
the string contains the special string

  \"@documentlanguage AUTO\"

\"AUTO\" will be replaced with the language defined in the
buffer, through #+LANGUAGE keyword, or globally, with
`org-export-default-language', which see.


The sectioning structure
------------------------

The sectioning structure of the class is given by the elements
following the header string.  For each sectioning level, a number
of strings is specified.  A %s formatter is mandatory in each
section string and will be replaced by the title of the section."
  :version "27.1"
  :package-version '(Org . "9.2")
  :type '(repeat
	  (list (string :tag "Texinfo class")
		(string :tag "Texinfo header")
		(repeat :tag "Levels" :inline t
			(choice
			 (list :tag "Heading"
			       (string :tag "         numbered")
			       (string :tag "       unnumbered")
			       (string :tag "unnumbered-no-toc")
			       (string :tag "         appendix")))))))