%% xyps-one.tex from $Id: xyps-one.doc,v 2.10 1994/06/15 12:46:03 ross Exp $ %% %% XY-pic ``dvipsone driver'' PostScript backend support. %% Copyright (c) 1993-1994 Ross Moore %% %% 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-1994 Kristoffer H. Rose %% %% 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. %% \ifx\xypsoneloaded\relax \message{not reloaded}\endinput \fi \let\xypsoneloaded=\relax \xycatcodes \xywarnifdefined\dvipsoneSpecial@ \xywarnifdefined\dvipsoneMacro@ \xywarnifdefined\dvipsoneRaw@ \xywarnifdefined\dvipsoneInclude@ {\catcode`:=11 \gdef\dvipsoneSpecial@#1{\firstPS@@\special{ps: #1}} \gdef\dvipsoneMacro@#1{\firstPS@@\special{ps: mark{#1}xy}} \gdef\dvipsoneRaw@#1{\firstPS@@\special{ps: #1}}% \gdef\dvipsoneInclude@#1{\firstPS@@\special{ps: plotfile #1}} } \xydef@\dvipsone@{\gdef\dvitype@{dvipsone }\dvimessage@ \global\let\PSspecial@=\dvipsoneSpecial@ \global\let\PSmacro@=\dvipsoneMacro@ \global\let\PSdict@=\dvipsoneMacro@ \global\let\PSraw@=\dvipsoneRaw@ \global\let\PSinclude@=\dvipsoneInclude@ \global\let\xyPSobeylines@=\obeyDVIPSONElines@ \ifUsePSdict@@ \gdef\firstPS@@{\firstPS@ \includeXYPSdict@}% \gdef\endXYdict@{\firstPS@}% \else \gdef\firstPS@@{\firstPS@ \@PSshipout}\gdef\endXYdict@{\firstPS@}\fi }% \xywarnifdefined\obeyDVIPSONElines@ {\catcode`\^^M=\active \gdef\obeyDVIPSONElines@{\catcode`\^^M=\active \let^^M=\par \obeyspaces}} \xyendinput