%% xyps-l.tex from $Id: xyps-l.doc,v 3.3 1996/12/18 10:05:50 ross Exp $
%%
%% Xy-pic ``Line extension'' PostScript backend support.
%% Copyright (c) 1993-1996 Ross Moore <ross@mpce.mq.edu.au>
%%
%% This file is part of the Xy-pic package for graphs and diagrams in TeX.
%% See the companion README and INSTALL files for further information.
%% Copyright (c) 1991-1996 Kristoffer H. Rose <krisrose@brics.dk>
%%
%% The Xy-pic package is free software; you can redistribute it and/or modify
%% it under the terms of the GNU General Public License as published by the
%% Free Software Foundation; either version 2 of the License, or (at your
%% option) any later version.
%%
%% The Xy-pic package is distributed in the hope that it will be useful, but
%% WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
%% or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
%% for more details.
%%
%% You should have received a copy of the GNU General Public License along
%% with this package; if not, write to the Free Software Foundation, Inc.,
%% 675 Mass Ave, Cambridge, MA 02139, USA.
%%
\expandafter\ifx\csname xyps-lloaded\endcsname\empty
\message{not reloaded}\endinput \fi
\expandafter\let\csname xyps-lloaded\endcsname=\empty \xycatcodes
\expandafter\ifx\csname xyps-sloaded\endcsname\empty\else
\xyinputorelse@{xyps-s}{\xyerror@{Could not load xyps-s}{}}%
\xycatcodes\fi
\xydef@\installPSline@{\installPSstyle@
\installPSlinestyles@ \installPSpolylines@ }
\xydef@\UsePSlines{\installPSline@}
\xydef@\NoPSlines{\UnloadLine@\relax}
\xydef@\xyPSlineSpecial@#1{\addtostyletoks@{ #1 lw}}
\xydef@\xyPScapSpecial@#1{\addtostyletoks@{ #1 lc}}
\xydef@\xyPSjoinSpecial@#1{\addtostyletoks@{ #1 lj}}
\xydef@\xyPSmiterSpecial@#1{\addtostyletoks@{ #1 ml}}
\xydef@\installPSlinestyles@{%
\let\xylinewidth@@=\xylinewidth@
\let\transxyline@@=\transxyline@
\let\xylineSpecial@@=\xyPSlineSpecial@
\let\resetxyline@@=\resetxyline@i
\let\xy@linecap@@=\xy@linecap@
\let\xycapSpecial@@=\xyPScapSpecial@
\let\resetxylinecap@@=\resetxylinecap@i
\let\xy@linejoin@@=\xy@linejoin@
\let\xyjoinSpecial@@=\xyPSjoinSpecial@
\let\resetxylinejoin@@=\resetxylinejoin@i
\let\xy@linemiter@@=\xy@linemiter@
\let\xymiterSpecial@@=\xyPSmiterSpecial@
\let\resetxylinemiter@@=\resetxylinemiter@i
}
\xydef@\xypolylinePS@Special#1{\PSmacro@@{#1 pl}}
\xydef@\xypolydotPS@Special#1{\PSmacro@@{#1 pt}}
\xydef@\xypolydashPS@Special#1{\PSmacro@@{#1 pd}}
\xydef@\xypolyfillPS@Special#1{\PSmacro@@{#1 pf}}
\xydef@\xypolyeofillPS@Special#1{\PSmacro@@{#1 pe}}
\xydef@\installPSpolylines@{%
\let\xypolyline@Special=\xypolylinePS@Special
\let\xypolydot@Special=\xypolydotPS@Special
\let\xypolydash@Special=\xypolydashPS@Special
\let\xypolyfill@Special=\xypolyfillPS@Special
\let\xypolyeofill@Special=\xypolyeofillPS@Special
\let\xy@polystyle@@=\xy@polystyle@ }
\endinput
|