| 1 |
%% xyps-l.tex from $Id: xyps-l.doc,v 3.11 2011/03/14 20:14:00 krisrose Exp $ |
| 2 |
%% |
| 3 |
%% Xy-pic ``Line extension'' PostScript backend support. |
| 4 |
%% Copyright (c) 1993-1997 Ross Moore <[email protected]> |
| 5 |
%% |
| 6 |
%% This file is part of the Xy-pic package for graphs and diagrams in TeX. |
| 7 |
%% See the companion README and INSTALL files for further information. |
| 8 |
%% Copyright (c) 1991-2011 Kristoffer H. Rose <[email protected]> |
| 9 |
%% |
| 10 |
%% The Xy-pic package is free software; you can redistribute it and/or modify |
| 11 |
%% it under the terms of the GNU General Public License as published by the |
| 12 |
%% Free Software Foundation; either version 2 of the License, or (at your |
| 13 |
%% option) any later version. |
| 14 |
%% |
| 15 |
%% The Xy-pic package is distributed in the hope that it will be useful, but |
| 16 |
%% WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
| 17 |
%% or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 18 |
%% for more details. |
| 19 |
%% |
| 20 |
%% You should have received a copy of the GNU General Public License along |
| 21 |
%% with this package; if not, see http://www.gnu.org/licenses/. |
| 22 |
%% |
| 23 |
%% As a special exception, you may use this file and all files derived |
| 24 |
%% from it without restrictions. This special exception was added with |
| 25 |
%% version 3.7 of Xy-pic. |
| 26 |
%% |
| 27 |
\expandafter\ifx\csname xyps-lloaded\endcsname\empty |
| 28 |
\message{not reloaded}\endinput \fi |
| 29 |
\expandafter\let\csname xyps-lloaded\endcsname=\empty \xycatcodes |
| 30 |
\expandafter\ifx\csname xyps-sloaded\endcsname\empty\else |
| 31 |
\xyinputorelse@{xyps-s}{\xyerror@{Could not load xyps-s}{}}% |
| 32 |
\xycatcodes\fi |
| 33 |
\xydef@\installPSline@{\installPSstyle@ |
| 34 |
\installPSlinestyles@ \installPSpolylines@ } |
| 35 |
\xydef@\UsePSlines{\installPSline@} |
| 36 |
\xydef@\NoPSlines{\UnloadLine@\relax} |
| 37 |
\xydef@\xyPSlineSpecial@#1{\addtostyletoks@{ #1 lw}} |
| 38 |
\xydef@\xyPScapSpecial@#1{\addtostyletoks@{ #1 lc}} |
| 39 |
\xydef@\xyPSjoinSpecial@#1{\addtostyletoks@{ #1 lj}} |
| 40 |
\xydef@\xyPSmiterSpecial@#1{\addtostyletoks@{ #1 ml}} |
| 41 |
\xydef@\installPSlinestyles@{% |
| 42 |
\let\xylinewidth@@=\xylinewidth@ |
| 43 |
\let\transxyline@@=\transxyline@ |
| 44 |
\let\xylineSpecial@@=\xyPSlineSpecial@ |
| 45 |
\let\resetxyline@@=\resetxyline@i |
| 46 |
\let\xy@linecap@@=\xy@linecap@ |
| 47 |
\let\xycapSpecial@@=\xyPScapSpecial@ |
| 48 |
\let\resetxylinecap@@=\resetxylinecap@i |
| 49 |
\let\xy@linejoin@@=\xy@linejoin@ |
| 50 |
\let\xyjoinSpecial@@=\xyPSjoinSpecial@ |
| 51 |
\let\resetxylinejoin@@=\resetxylinejoin@i |
| 52 |
\let\xy@linemiter@@=\xy@linemiter@ |
| 53 |
\let\xymiterSpecial@@=\xyPSmiterSpecial@ |
| 54 |
\let\resetxylinemiter@@=\resetxylinemiter@i |
| 55 |
} |
| 56 |
\xydef@\xypolylinePS@Special#1{\PSmacro@{#1 pl}} |
| 57 |
\xydef@\xypolydotPS@Special#1{\PSmacro@{#1 pt}} |
| 58 |
\xydef@\xypolydashPS@Special#1{\PSmacro@{#1 pd}} |
| 59 |
\xydef@\xypolyfillPS@Special#1{\PSmacro@{#1 pf}} |
| 60 |
\xydef@\xypolyeofillPS@Special#1{\PSmacro@{#1 pe}} |
| 61 |
\xydef@\installPSpolylines@{% |
| 62 |
\let\xypolyline@Special=\xypolylinePS@Special |
| 63 |
\let\xypolydot@Special=\xypolydotPS@Special |
| 64 |
\let\xypolydash@Special=\xypolydashPS@Special |
| 65 |
\let\xypolyfill@Special=\xypolyfillPS@Special |
| 66 |
\let\xypolyeofill@Special=\xypolyeofillPS@Special |
| 67 |
\let\xy@polystyle@@=\xy@polystyle@ } |
| 68 |
\endinput |