This file is indexed.

/usr/share/perl5/LaTeXML/Package/textcomp.sty.ltxml is in latexml 0.7.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
# -*- 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 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.
our %textcomp_accents 
    =(capitalacute     =>'\'',
      capitalbreve     =>'\u',
      capitalcaron     =>'\v',
      capitalcedilla   =>'\c',
      capitalcircumflex=>'\^',
      capitaldieresis  =>'\"',
      capitaldotaccent =>'\.',
      capitalgrave     =>'\`',
      capitalhungarumlaut=>'\H',
      capitalmacron    =>'\=',
      caitalnewtie     =>'\t',
      capitalogonek    =>'\lfhook',
      capitalring      =>'\@ringaccent',
      capitaltie       =>'\t',
      caitaltilde      =>'\~',
      newtie           =>'\t');
map(Let(T_CS('\\'.$_)=>T_CS($textcomp_accents{$_})),keys %textcomp_accents);

#DefConstructor('\textcircled{}', "<ltx:text framed='circle'>#1</ltx:text>"); # ?

## \t

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

# Hmm, perhaps should be a font variant?
our %textcomp_oldstyle
  =(textzerooldstyle   =>0,
    textoneoldstyle    =>1,
    texttwooldstyle    =>2,
    textthreeoldstyle  =>3,
    textfouroldstyle   =>4,
    textfiveoldstyle   =>5,
    textsixoldstyle    =>6,
    textsevenoldstyle  =>7,
    texteightoldstyle  =>8,
    textnineoldstyle   =>9);
map(Let(T_CS('\\'.$_)=>T_CS($textcomp_oldstyle{$_})),keys %textcomp_oldstyle);

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

our %textcomp_pairs
  =(textlangle         =>"\x{2329}",
    textrangle         =>"\x{232A}",
    textlbrackdbl      =>"\x{27E6}",
    textrbrakdbl       =>"\x{27E7}",
    textuparrow        =>"\x{2191}",
    textdownarrow      =>"\x{2193}",
    textleftarrow      =>"\x{2190}",
    textrightarrow     =>"\x{2192}",
    textlquill         =>"\x{2045}",
    textrquill         =>"\x{2046}",
);
map(DefConstructor('\\'.$_,$textcomp_pairs{$_}),keys %textcomp_pairs);

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

our %textcomp_money
  =(textbaht           =>"\x{0E3F}",
    textcent           =>UTF(0x42),
    textcentoldstyle   =>UTF(0x42),
    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       =>"copyleft", # You gotta be kidding
    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(DefConstructor('\\'.$_,$textcomp_money{$_}),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(DefConstructor('\\'.$_,$textcomp_footnote{$_}),keys %textcomp_footnote);

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

our %textcomp_scientific
  =(textcelsius        =>"\x{210C}",
    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{212A}",
    texttimes          =>UTF(0xD7));
map(DefConstructor('\\'.$_,$textcomp_scientific{$_}),keys %textcomp_scientific);

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

our %textcomp_various
  =(textacutedbl            =>"\x{02DD}",
    textasciiacute          =>UTF(0xB4),
    textasciibreve          =>"\x{02DB}",
    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{201C}", # ?? quotes
    textinterrobang         =>"\x{203D}",
#    textinterrobangdown     =>"\x{}",
    textleaf                =>"\x{2EDA}", # ?? chinese?
    textmarried             =>"\x{26AD}",
    textmusicalnote         =>"\x{266A}",
    textnumero              =>"\x{2116}",
    textquotesingle         =>"'",
    textquotestraightbase   =>"'", # ??? Not base?
    textquotestraightdblbase=>"\"", # Not base?
    textrecipe              =>"\x{211E}",
    textthreequartersemdash =>"\x{2014}", # whole em dash, actually
    texttildelow            =>"~", # ??
    texttwelveudash         =>"\x{2014}"); # whole em dash, actually.
map(DefConstructor('\\'.$_,$textcomp_various{$_}),keys %textcomp_various);


#======================================================================
1;