/usr/share/tralics/mapleplots.plt is in tralics 2.14.4-2.
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 | %% <PRE>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Copyright (c) 1994--1998 by Waterloo Maple Inc., all rights reserved.
%
% Permission is granted to use this package without charge. It may
% be redistributed providing that it is distributed as is
% and without charge. You may modify these macros for your own use,
% and redistribute them, subject to the following conditions.
%
% 1. The package name used for any modified version of this file is
% different from mapleplots and a file name other than mapleplots.sty
% is used.
%
% 2. You acknowledge this copyright notice and this file as the source.
%
% 3. The new file is redistributed under the same terms and conditions
% as indicated here, including a version of this notice modified to
% refer to the new file and/or package name.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Various Plot Configurations
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ProvidesPackage{mapleplots}[1998/09/19 -- Maple Plotting Macros]
\typeout{Defining Maple Plot Environemnts}
%
% -- noplots -- No Driver Available ?
%
\def\mapleplotname#1{
\typeout{ ...using Plot file #1}%
\vskip.5\MaplePlotHeight
\centerline{\Large \bfseries Plot: #1}
\vskip.5\MaplePlotHeight
}
%
% -- epsfig.sty (used by dvips, etc)
%
\def\epsfigmapleplot#1{
\parindent=0ex%
\MaplePlotWidth = 0.900\textwidth%
\MaplePlotHeight = 0.651\textwidth%
\MaplePlotHeight@Fudge=0.90\MaplePlotHeight%
\MaplePlotWidth@Fudge =0.90\MaplePlotWidth%
\ifvmode \removelastskip \else \par \parindent=0ex\removelastskip\fi
%% \par
\vskip \AboveMaplePlot
%
% Plot sizes must be fudged because Maple .eps plots
% generated using Maple's built-in PostScript plot driver
% are 6.5 x 9 inches landscape, but included in portrait
% mode to a much smaller scale.
%
\IfFileExists{#1}{%
\typeout{ ...including Plot #1 at size
\the\MaplePlotWidth\space by \the\MaplePlotHeight}%
\hbox{%
\relax
{}\hskip \LeftMapleSkip
\epsfig{figure=#1,%
height=\MaplePlotHeight@Fudge,% scale before rotation
width=\MaplePlotWidth@Fudge,%
angle=\MaplePlotAngle}%
}% end of hbox
}%
{%
\typeout{ ...Missing Plot File #1}
\noindent % So \mapleplot can be used inside of
% the LaTeX center environment.
\vbox{\mapleplotname{#1} }%
}%
\par\removelastskip
\vskip\BelowMaplePlot
% \vskip-2\BelowMaplePlot{\relax}
%%% \vspace*{-.3\MaplePlotHeight}
% \relax\noindent\ignorespaces
}% end of epsfigmapleplot def
%
% -- Oztex postscript driver
%
% Rotation is not supported. so use Maple's commands to rotate.
% This can be done using the Maple command
%
% interface(plotoptions=`portrait,height=200,width=300`);
%
% This is the same as mapleespfig, but with no rotation expected.
%
\def\oztexmapleplot#1{
\ifvmode \removelastskip \else \par \fi
\vskip \AboveMaplePlot
%
% Plot sizes must be fudged because Maple .eps plots
% generated using Maple's built-in PostScript plot driver
% are 7.5 x 10 inches, but include an additional 0.5 inch
% white border within the PostScript BoundingBox.
%
\MaplePlotHeight@Fudge=1.133333\MaplePlotHeight
\MaplePlotWidth@Fudge =1.100000\MaplePlotWidth
\vskip -0.066667\MaplePlotHeight %Fudge
\noindent % So \mapleplot can be used inside of
% the LaTeX center environment.
\IfFileExists{#1}{%
\typeout{ ...including Plot #1 at size
\the\MaplePlotWidth\space by \the\MaplePlotHeight}%
\hbox{%
\hskip -0.05\MaplePlotWidth %Fudge
\epsfig{figure=#1,%
height=\MaplePlotWidth@Fudge,% scale before rotation
width=\MaplePlotHeight@Fudge}%
%%oztex%% angle=\MaplePlotAngle}%
\hskip -0.05\MaplePlotWidth %Fudge
}%
}% end of first case
{% second case
%\typeout{ ...Missing Plot File #1}
{ %
\vskip.5\MaplePlotHeight%
\centerline{\Large \bfseries Plot File = #1}
\vskip.5\MaplePlotHeight %
}% end of vbox
}% end of second case
\par
\vskip -0.066667\MaplePlotHeight %Fudge
\vskip\BelowMaplePlot
\vskip -\parskip\noindent\ignorespaces
} % end of oztexmapleplot
%%%%%%%%%%%%%%%%%%%%%%%%%
% Install the Driver.
%%%%%%%%%%%%%%%%%%%%%%%%%
\@ifundefined{Driver}{%
\ifnoplots
\let\mapleplot\mapleplotname
\let\imapleplot\mapleplot
\else
\IfFileExists{epsfig.sty}{% Default to dvips
\typeout{ ...Defaults to "dvips" Driver }
\usepackage[dvips]{epsfig}
\let\mapleplot\epsfigmapleplot
\let\imapleplot\mapleplot
\edef\Driver{dvips}}{% no driver
% generate vertical space containing file name
\let\mapleplot\mapleplotname
\let\imapleplot\mapleplot
}
\fi
}{\usepackage[\Driver]{epsfig}}
%
\def\maplesmartplot#1#2{\mapleplotname{#1}}
%
\endinput % End of File
%%% </PRE>
|