line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# /=====================================================================\ # |
2
|
|
|
|
|
|
|
# | LaTeXML::Global | # |
3
|
|
|
|
|
|
|
# | Global constants, accessors and constructors | # |
4
|
|
|
|
|
|
|
# |=====================================================================| # |
5
|
|
|
|
|
|
|
# | Part of LaTeXML: | # |
6
|
|
|
|
|
|
|
# | Public domain software, produced as part of work done by the | # |
7
|
|
|
|
|
|
|
# | United States Government & not subject to copyright in the US. | # |
8
|
|
|
|
|
|
|
# |---------------------------------------------------------------------| # |
9
|
|
|
|
|
|
|
# | Bruce Miller #_# | # |
10
|
|
|
|
|
|
|
# | http://dlmf.nist.gov/LaTeXML/ (o o) | # |
11
|
|
|
|
|
|
|
# \=========================================================ooo==U==ooo=/ # |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
#====================================================================== |
14
|
|
|
|
|
|
|
# This module collects all the commonly useful constants and constructors |
15
|
|
|
|
|
|
|
# that other modules and package implementations are likely to need. |
16
|
|
|
|
|
|
|
# This should be used in a context where presumably all the required |
17
|
|
|
|
|
|
|
# LaTeXML modules that implement the various classes have already been loaded. |
18
|
|
|
|
|
|
|
# |
19
|
|
|
|
|
|
|
# Yes, a lot of stuff is exported, polluting your namespace. |
20
|
|
|
|
|
|
|
# Thus, you use this module only if you _need_ the functionality! |
21
|
|
|
|
|
|
|
#====================================================================== |
22
|
|
|
|
|
|
|
package LaTeXML::Global; |
23
|
22
|
|
|
22
|
|
74
|
use strict; |
|
22
|
|
|
|
|
24
|
|
|
22
|
|
|
|
|
461
|
|
24
|
22
|
|
|
22
|
|
64
|
use warnings; |
|
22
|
|
|
|
|
23
|
|
|
22
|
|
|
|
|
440
|
|
25
|
22
|
|
|
22
|
|
65
|
use base qw(Exporter); |
|
22
|
|
|
|
|
23
|
|
|
22
|
|
|
|
|
1859
|
|
26
|
|
|
|
|
|
|
our @EXPORT = ( # Global STATE; This gets bound by LaTeXML.pm |
27
|
|
|
|
|
|
|
qw( *STATE), |
28
|
|
|
|
|
|
|
); |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
#local $LaTeXML::STATE; |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
#********************************************************************** |
33
|
|
|
|
|
|
|
1; |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
__END__ |