This file is indexed.

/usr/share/perl5/LaTeXML/Package/textcomp.sty.ltxml is in latexml 0.8.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
# -*- CPERL -*-
# /=====================================================================\ #
# |  textcomp                                                           | #
# | Implementation for LaTeXML                                          | #
# |=====================================================================| #
# | Part of LaTeXML:                                                    | #
# |  Public domain software, produced as part of work done by the       | #
# |  United States Government & not subject to copyright in the US.     | #
# |---------------------------------------------------------------------| #
# | Bruce Miller <bruce.miller@nist.gov>                        #_#     | #
# | http://dlmf.nist.gov/LaTeXML/                              (o o)    | #
# \=========================================================ooo==U==ooo=/ #
package LaTeXML::Package::Pool;
use strict;
use warnings;
use LaTeXML::Package;

# Additional Text Symbols
#  Following the LaTeX Companion, 2nd ed, p 363-364
#======================================================================
# Accent Symbols

# Since we're using Unicode, we don't need these capital distinctions.
DefAccent('\capitalacute',        "\x{0301}", UTF(0xB4));                # \'
DefAccent('\capitalbreve',        "\x{0306}", "\x{02D8}");               # \u
DefAccent('\capitalcaron',        "\x{030C}", "\x{02C7}");               # \v
DefAccent('\capitalcedilla',      "\x{0327}", UTF(0xB8), below => 1);    # \c
DefAccent('\capitalcircumflex',   "\x{0302}", UTF(0x5E));                # \^
DefAccent('\capitaldieresis',     "\x{0308}", UTF(0xA8));                # \"
DefAccent('\capitaldotaccent',    "\x{0307}", "\x{02D9}");               # \.
DefAccent('\capitalgrave',        "\x{0300}", UTF(0x60));                # \`
DefAccent('\capitalhungarumlaut', "\x{030B}", "\x{02DD}");               # \H
DefAccent('\capitalmacron',       "\x{0304}", UTF(0xAF));                # \=
DefAccent('\capitalnewtie',       "\x{0361}", "-");                      # \t
DefAccent('\capitalogonek',       "\x{0328}", "\x{02DB}");               #
DefAccent('\capitalring',         "\x{030A}", "o");                      # \r
DefAccent('\capitaltie',          "\x{0361}", "-");                      # \t
DefAccent('\capitaltilde',        "\x{0303}", "~");                      # \~
DefAccent('\newtie',              "\x{0361}", "-");                      # \t

#======================================================================
# Numerals
our %textcomp_numerals = (
  textonesuperior   => UTF(0xB9),
  texttwosuperior   => UTF(0xB2),
  textthreesuperior => UTF(0xB3),
  textonequarter    => UTF(0xBC),
  textonehalf       => UTF(0xBD),
  textthreequarters => UTF(0xBE));
map { DefPrimitiveI('\\' . $_, undef, $textcomp_numerals{$_},
    bounded => 1, font => { encoding => 'TS1' }) } keys %textcomp_numerals;

# Hmm, perhaps should be a font variant?
# There's a CSS3 module that defines font-variant-numeric that could indicate old-style
# but appears not-yet supported anywhere.
# ORR, supposedly you can use:   font-feature-settings: 'onum'
our %textcomp_oldstyle = (
  textzerooldstyle  => 0,
  textoneoldstyle   => 1,
  texttwooldstyle   => 2,
  textthreeoldstyle => 3,
  textfouroldstyle  => 4,
  textfiveoldstyle  => 5,
  textsixoldstyle   => 6,
  textsevenoldstyle => 7,
  texteightoldstyle => 8,
  textnineoldstyle  => 9);
map { DefPrimitiveI('\\' . $_, undef, $textcomp_oldstyle{$_},
    font => { family => 'oldstyle' }) } keys %textcomp_oldstyle;

#======================================================================
# Pair symbols

our %textcomp_pairs = (
  textlangle     => "\x{27E8}",
  textrangle     => "\x{27E9}",
  textlbrackdbl  => "\x{27E6}",
  textrbrackdbl  => "\x{27E7}",
  textuparrow    => "\x{2191}",
  textdownarrow  => "\x{2193}",
  textleftarrow  => "\x{2190}",
  textrightarrow => "\x{2192}",
  textlquill     => "\x{2045}",
  textrquill     => "\x{2046}",
);
map { DefPrimitiveI('\\' . $_, undef, $textcomp_pairs{$_},
    bounded => 1, font => { encoding => 'TS1' }) } keys %textcomp_pairs;

#======================================================================
# Monetary and Commercial symbols

our %textcomp_money = (
  textbaht           => "\x{0E3F}",
  textcent           => UTF(0xA2),
  textcentoldstyle   => UTF(0xA2),
  textcolonmonetary  => "\x{20A1}",
  textcurrency       => UTF(0xA4),
  textdollar         => '$',
  textdollaroldstyle => '$',
  textdong           => "\x{20AB}",
  texteuro           => "\x{20AC}",
  textflorin         => "f",                  # ???
  textguarani        => "\x{20B2}",
  textlira           => "\x{20A4}",
  textnaira          => "\x{20A6}",
  textpeso           => "\x{20B1}",
  textsterling       => UTF(0xA3),
  textwon            => "\x{20A9}",
  textyen            => UTF(0xA5),
  textcircledP       => "\x{2117}",
  textcopyleft       => "\x{2184}\x{20DD}",
  textcopyright      => UTF(0xA9),
  textdiscount       => "\x{2052}",
  textestimated      => "\x{212E}",
  textpertenthousand => "\x{2031}",
  textperthousand    => "\x{2030}",
  textreferencemark  => "\x{203B}",
  textregistered     => UTF(0xAE),
  textservicemark    => "\x{2120}",
  texttrademark      => "\x{2122}");
map { DefPrimitiveI('\\' . $_, undef, $textcomp_money{$_},
    bounded => 1, font => { encoding => 'TS1' }) } keys %textcomp_money;

#======================================================================
# Footnote symbols

our %textcomp_footnote = (
  textasteriskcentered => '*',
  textbardbl           => "\x{2016}",
  textbrokenbar        => UTF(0xA6),
  textbullet           => "\x{2022}",
  textdagger           => "\x{2020}",
  textdaggerdbl        => "\x{2021}",
  textopenbullet       => "\x{25E6}",
  textparagraph        => UTF(0xB6),
  textperiodcentered   => UTF(0xB7),
  textpilcrow          => UTF(0xB6),
  textsection          => UTF(0xA7));
map { DefPrimitiveI('\\' . $_, undef, $textcomp_footnote{$_},
    bounded => 1, font => { encoding => 'TS1' }) } keys %textcomp_footnote;

#======================================================================
# Scientific symbols

our %textcomp_scientific = (
  textcelsius      => "\x{2103}",
  textdegree       => UTF(0xB0),
  textdiv          => UTF(0xF7),
  textlnot         => UTF(0xAC),
  textmho          => "\x{2127}",
  textminus        => "\x{2212}",
  textmu           => UTF(0xB5),
  textohm          => "\x{2126}",
  textordfeminine  => UTF(0xAA),
  textordmasculine => UTF(0xBA),
  textpm           => UTF(0xB1),
  textsurd         => "\x{221A}",
  texttimes        => UTF(0xD7));
map { DefPrimitiveI('\\' . $_, undef, $textcomp_scientific{$_},
    bounded => 1, font => { encoding => 'TS1' }) } keys %textcomp_scientific;

#======================================================================
# Various

our %textcomp_various = (
  textacutedbl             => "\x{02DD}",
  textasciiacute           => UTF(0xB4),
  textasciibreve           => "\x{02D8}",
  textasciicaron           => "\x{02C7}",
  textasciidieresis        => UTF(0xA8),
  textasciigrave           => UTF(0x60),
  textasciimacron          => UTF(0xAF),
  textbigcircle            => "\x{25CB}",
  textblank                => "\x{2422}",
  textborn                 => "\x{2605}",
  textdblhyphen            => "=",            # ?
  textdblhyphenchar        => "=",            # ?
  textdied                 => "\x{271D}",
  textdivorced             => "\x{26AE}",
  textfractionsolidus      => UTF(0x2F),
  textgravedbl             => "\x{201F}",
  textinterrobang          => "\x{203D}",
  textinterrobangdown      => "\x{2E18}",
  textleaf                 => "\x{1F342}",    # FALLEN LEAF (close, but plane 1)
  textmarried              => "\x{26AD}",
  textmusicalnote          => "\x{266A}",
  textnumero               => "\x{2116}",
  textquotesingle          => "'",
  textquotestraightbase    => "\x{201A}",
  textquotestraightdblbase => "\x{201E}",
  textrecipe               => "\x{211E}",
  textthreequartersemdash  => "\x{2014}",     # whole em dash, actually
  texttildelow             => "~",            # ??
  texttwelveudash          => "\x{2014}");    # whole em dash, actually.
map { DefPrimitiveI('\\' . $_, undef, $textcomp_various{$_},
    bounded => 1, font => { encoding => 'TS1' }) } keys %textcomp_various;

#======================================================================
RawTeX('\DeclareFontEncoding{TS1}{}{}');
#======================================================================
1;