# Copyright 2010-2026 Free Software Foundation, Inc.
# 
# This file is part of GNU Texinfo.
#
# GNU Texinfo is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License,
# or (at your option) any later version.                
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <https://www.gnu.org/licenses/>.

# this information is used to setup both C and Perl data on representations
# of diverse Texinfo commands as text or unicode characters as well as
# structuring commands levels.

-- nobrace_symbol_text
*     \n
# space is escaped as \x20 in this file
\x20  \x20
\t    \x20
\n    \x20
# hyphenation hint
-
# used in formatting commands @evenfooting and friends
|
/
:
!  !
?  ?
.  .
@  @
}  }
{  {
&  &
# should only appear in math
\\ \\

# used by Texinfo::Convert::Text, Texinfo::Convert::NodeNameNormalization
# and Texinfo::Convert::TextContent.
# 'today' is not set here.
-- text_brace_no_arg_commands
# characters
atchar               @
ampchar              &
backslashchar        \\
comma                ,
hashchar             #
lbracechar           {
rbracechar           }

# symbols (22)
arrow                ->
bullet               *
click                ->
copyright            (C)
dots                 ...
enddots              ...
equiv                ==
euro                 Euro
exclamdown           !
expansion            ==>
geq                  >=
LaTeX                LaTeX
leq                  <=
minus                -
ordf                 a
ordm                 o
point                -!-
pounds               #
print                -|
questiondown         ?
registeredsymbol     (R)
result               =>
TeX                  TeX
textdegree           o

# quotes
guillemetleft            <<
guillemetright           >>
guillemotleft            <<
guillemotright           >>
guilsinglleft            <
guilsinglright           >
quotedblbase             ,,
quotedblleft             "
quotedblright            "
quoteleft                `
quoteright               '
quotesinglbase           ,

# letters
AA           AA
aa           aa
AE           AE
ae           ae
DH           D
dh           d
L           /L
l           /l
OE           OE
oe           oe
O           /O
o           /o
ss           ss
# http://www.evertype.com/standards/wynnyogh/thorn.html
TH           TH
th           th

# other
error           error-->
tie            \x20

# Also discussed on the texinfo list. 
# taken from
#Latin extended additionnal
#http://www.alanwood.net/unicode/latin_extended_additional.html
#C1 Controls and Latin-1 Supplement
#http://www.alanwood.net/unicode/latin_1_supplement.html
#Latin Extended-A
#http://www.alanwood.net/unicode/latin_extended_a.html
#Latin Extended-B
#http://www.alanwood.net/unicode/latin_extended_b.html
#dotless i: 0131

#http://www.alanwood.net/unicode/arrows.html 21**
#http://www.alanwood.net/unicode/general_punctuation.html 20**
#http://www.alanwood.net/unicode/mathematical_operators.html 22**

-- base_unicode_map
# 'today' is not set here.
# characters
atchar             0040
ampchar            0026
backslashchar      005C
comma              002C
hashchar           0023
lbracechar         007B
rbracechar         007D

# symbols (9)
euro               20AC
exclamdown         00A1
geq                2265
leq                2264
ordf               00AA
ordm               00BA
pounds             00A3
questiondown       00BF
textdegree         00B0

# quotes
guillemetleft      00AB
guillemetright     00BB
guillemotleft      00AB
guillemotright     00BB
guilsinglleft      2039
guilsinglright     203A
quotedblbase       201E
quotesinglbase     201A

# letters
AA                 00C5
aa                 00E5
AE                 00C6
ae                 00E6
DH                 00D0
dh                 00F0
L                  0141
l                  0142
O                  00D8
o                  00F8
OE                 0152
oe                 0153
ss                 00DF
TH                 00DE
th                 00FE

# For commands where ASCII output is acceptable and may be wanted by the users
# as ASCII instead of encoded characters
-- extra_unicode_map
# symbols (11)
arrow              2192
bullet             2022
click              2192
copyright          00A9
dots               2026
# enddots
equiv              2261
expansion          21A6
# LaTeX
# in mathematical operators
minus              2212
# in latin1: 002D
# another candidate is 2605 corresponding to a bigger star (and to \bigstar
# in LaTeX) but less consistent with TeX \star
point              22C6
print              22A3
registeredsymbol   00AE
result             21D2
# TeX

# quotes (4)
quotedblleft       201C
quotedblright      201D
quoteleft          2018
quoteright         2019

# other
# error              
# tie                
# tie              0020

-- unicode_diacritics
H           030B
ringaccent  030A
'           0301
v           030C
,           0327
^           0302
dotaccent   0307
`           0300
=           0304
~           0303
"           0308
udotaccent  0323
ubaraccent  0332
u           0306
tieaccent   0361
ogonek      0328

-- sort_brace_no_arg_commands
copyright          C
registeredsymbol   R
today              t
o                  o
O                  O
l                  l
L                  L

# Section and heading commands hierarchical levels
-- command_structuring_level
top                0
# out of the main hierarchy
part               0
chapter            1
# same as chapheading
majorheading       1
unnumbered         1
# like unnumbered
centerchap         1
chapheading        1
appendix           1
section            2
unnumberedsec      2
heading            2
appendixsec        2
# same as appendixsec
appendixsection    2
subsection         3
unnumberedsubsec   3
subheading         3
appendixsubsec     3
subsubsection      4
unnumberedsubsubsec  4
subsubheading      4
appendixsubsubsec  4


# 'today' is not set here.
-- xml_text_entity_no_arg_commands
# nobrace_symbol_text
&              &amp;

# commands taken from text_brace_no_arg_commands
# are kept in comments to ease visual comparisons.
# characters
# atchar         @
ampchar        &amp;
# backslashchar  \\
# comma          ,
# hashchar       #
# lbracechar     {
# rbracechar     }

# symbols
arrow              &rarr;
bullet             &bull;
click              &rarr;
copyright          &copy;
dots               &hellip;
# enddots            ...
equiv              &equiv;
euro               &euro;
exclamdown         &iexcl;
expansion          &rarr;
geq                &ge;
# LaTeX              LaTeX
leq                &le;
minus              &minus;
ordf               &ordf;
ordm               &ordm;
point              &lowast;
pounds             &pound;
print              &#8867;
questiondown       &iquest;
registeredsymbol   &reg;
result             &rArr;
# TeX                TeX
textdegree         &deg;

# quotes
guillemetleft      &laquo;
guillemetright     &raquo;
guillemotleft      &laquo;
guillemotright     &raquo;
guilsinglleft      &lsaquo;
guilsinglright     &rsaquo;
quotedblbase       &bdquo;
quotedblleft       &ldquo;
quotedblright      &rdquo;
quoteleft          &lsquo;
quoteright         &rsquo;
quotesinglbase     &sbquo;

# letters
AA            &Aring;
aa            &aring;
AE            &AElig;
ae            &aelig;
DH            &ETH;
dh            &eth;
L             &#321;
l             &#322;
# &OElig; not in html 3.2
OE            &OElig;
# &oelig; not in html 3.2
oe            &oelig;
O             &Oslash;
o             &oslash;
ss            &szlig;
TH            &THORN;
th            &thorn;

# other
# in general the following is not used since error
# appears in 'translated_commands'
error         error--&gt;
tie           &nbsp;

