/usr/share/perl5/LaTeXML/Package/epsf.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 | # -*- CPERL -*-
# /=====================================================================\ #
# | epsf | #
# | 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=/ #
# (See LaTeXML::Post::Graphics for suggested postprocessing)
package LaTeXML::Package::Pool;
use strict;
use LaTeXML::Package;
#**********************************************************************
# Provides alternative argument syntax.
RawTeX(<<'EOTeX');
\newif\ifepsfatend
\newif\ifepsfdraft
\newif\ifepsfframe
\newif\ifepsfshow
\epsfshowtrue
\newif\ifepsfshowfilename
\newif\ifepsfverbose
\newdimen\epsfframemargin
\newdimen\epsfframethickness
\newdimen\epsfxsize
\newdimen\epsfysize
\newdimen\pspoints
\pspoints = 1bp
\epsfxsize = 0pt
\epsfysize = 0pt
\epsfframemargin = 0pt
\epsfframethickness = 0.4pt
EOTeX
DefPrimitive('\epsfclipon', sub { AssignValue(epsf_clip=>1); return; });
DefPrimitive('\epsfclipoff', sub { AssignValue(epsf_clip=>0); return; });
DefConstructor('\epsfbox[] Semiverbatim', sub {
my($document,$bb,$graphic)=@_;
my $clip = LookupValue('epsf_clip');
my $options=($clip ? ($bb ? "viewport=$bb, clip" : "clip") : '');
$document->insertElement('ltx:graphics',undef,graphic=>$graphic,options=>$options); });
Let('\epsfgetlitbb','\epsfbox');
Let('\epsfnormal','\epsfbox');
Let('\epsffile','\epsfbox');
DefPrimitive('\epsfgetbb Semiverbatim',undef);
DefPrimitive('\epsfframe', undef); # Ignore (?), and process the arg.
#**********************************************************************
1;
|