This file is indexed.

/usr/share/perl5/LaTeXML/Package/float.sty.ltxml is in latexml 0.8.1-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
# -*- mode: Perl -*-
# /=====================================================================\ #
# |  float                                                              | #
# | 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.     | #
# |---------------------------------------------------------------------| #
# | Thanks to the arXMLiv group for initial implementation              | #
# |    http://arxmliv.kwarc.info/                                       | #
# | Released to the Public Domain                                       | #
# |---------------------------------------------------------------------| #
# | 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;

#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

# Choose the current float style (plain, plaintop, boxed, ruled) Ignorable
DefMacro('\floatstyle{}', '');
# \restylefloat{style}  Ignorable
DefMacro('\restylefloat OptionalMatch:* {}', undef);
# \floatplacement{style}{placement}  Ignorable
DefMacro('\floatplacement{}{}', undef);

# \listof{type}{title}   Ignorable
DefMacro('\listof{}{}', undef);

# \floatname{type}{name}  Ignorable, but tempting
DefMacro('\floatname{}{}', '\@namedef{fname@#1}{#2}');

DefPrimitive('\newfloat{}{}{}[]', sub {
    my ($gullet, $type, $placement, $auxext, $within) = @_;
    $type   = ToString($type);
    $within = ToString($within);
    NewCounter($type, $within);
    DefMacro('\the' . $type, '\the' . $within . '.\arabic{' . $type . '}') if $within;
    if (!LookupDefinition(T_CS('\fname@' . ToString($type)))) {
      DefMacroI('\fname@' . $type, undef, $type); }
    DefEnvironment("{$type}[]",
"<ltx:float refnum='#refnum' frefnum='#frefnum' rrefnum='#rrefnum' xml:id='#id' ?#1(placement='#1') class='ltx_float_$type'>"
        . "#body"
        . "</ltx:float>",
      beforeDigest => sub { DefMacroI('\@captype', undef, $type); },
      afterDigest => sub { RescueCaptionCounters($type, $_[1]); });
    DefEnvironment("{$type*}[]",
"<ltx:float refnum='#refnum' frefnum='#frefnum' rrefnum='#rrefnum' xml:id='#id' ?#1(placement='#1') class='ltx_float_$type'>"
        . "#body"
        . "</ltx:float>",
      beforeDigest => sub { DefMacroI('\@captype', undef, $type); },
      afterDigest => sub { RescueCaptionCounters($type, $_[1]); });
});
## ??? DefMacro('\plain','');

#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1;