This file is indexed.

/usr/share/perl5/LaTeXML/Package/acronym.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
62
63
64
65
66
67
68
69
# -*- mode: Perl -*-
# /=====================================================================\ #
# |  acronym                                                            | #
# | 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;

# Note that this binding is really insufficient
#**********************************************************************
DefMacro('\acsfont{}',  '#1');
DefMacro('\acffont{}',  '#1');
DefMacro('\acfsfont{}', '#1');

DefMacro('\ac{}', '\@AC@if{#1}{\acs{#1}}{\acf{#1}}');
DefConstructor('\acs{}',
  "<ltx:glossaryref role='acronym' key='#1' show='short'/>",
  afterDigest => sub { AssignValue('ACROUSED@' . ToString($_[1]) => 1, 'global'); });
DefConstructor('\acl{}',
  "<ltx:glossaryref role='acronym' key='#1' show='long'/>",
  afterDigest => sub { AssignValue('ACROUSED@' . ToString($_[1]) => 1, 'global'); });
DefConstructor('\acf{}',
  "<ltx:glossaryref role='acronym' key='#1' show='long (short)'/>",
  afterDigest => sub { AssignValue('ACROUSED@' . ToString($_[1]) => 1, 'global'); });

DefEnvironment('{acronym}',
  "<ltx:glossary role='acronym' class='ltx_acronym'>"
    . "<ltx:glossarylist>"
    . "#body"
    . "</ltx:glossarylist>"
    . "</ltx:glossary>",
  beforeDigest => sub { Let('\acro', '\@acro@item');
    Let('\acrodef', '\@acro@item'); });

DefConstructor('\@acro@item{}[]{}',
  "<ltx:glossaryentry role='acronym'>"
    . "<ltx:glossaryphrase key='#1'>?#2(#2)(#1)</ltx:glossaryphrase>"
    . "<ltx:glossaryexpansion>#3</ltx:glossaryexpansion>"
    . "<ltx:glossarydefinition>");

Tag('ltx:glossarydefinition', autoClose => 1);
Tag('ltx:glossaryentry',      autoClose => 1);

DefConstructor('\acrodef{}[]{}',
  "<ltx:glossarymark role='acronym'>"
    . "<ltx:glossaryphrase key='#1'>?#2(#2)(#1)</ltx:glossaryphrase>"
    . "<ltx:glossaryexpansion>#3</ltx:glossaryexpansion>"
    . "</ltx:glossarymark>");

DefMacro('\@AC@if{}{}{}', sub {
    my ($gullet, $id, $short, $long) = @_;
    my $key = 'ACROUSED@' . ToString($_[1]);
    if (LookupValue($key)) {
      $short->unlist; }
    else {
      AssignValue($key => 1, 'global');
      $long->unlist; } });

#**********************************************************************
1;