%% xyps-oz.tex from $Id: xyps-oz.doc,v 2.10 1994/06/15 12:46:03 ross Exp $ %% %% XY-pic ``OzTeX 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\xypsozloaded\relax \message{not reloaded}\endinput \fi \let\xypsozloaded=\relax \xycatcodes \xydef@\OzTeXSpecials@#1{\special{empty.ps mark{#1}xy}} \xydef@\OzTeXDict@#1{\special{empty.ps prespecialVM restore grestore {#1}stopped pop gsave /prespecialVM save def}} \xydef@\OzTeXinclude@#1{\special{#1}} \xydef@\OzTeXraw@#1{\special{empty.ps prespecialVM restore grestore {#1}stopped pop gsave /prespecialVM save def}}% \xydef@\OzTeX@@{\gdef\dvitype@{OzTeX }\dvimessage@ \global\let\PSspecial@=\OzTeXSpecials@ \global\let\PSmacro@=\OzTeXSpecials@ \global\let\PSdict@=\OzTeXDict@ \global\let\PSraw@=\OzTeXraw@ \global\let\PSinclude@=\OzTeXinclude@ \global\let\xyPSobeylines@=\obeyOzTeXlines@ \gdef\xyPSendline@@{\space}% \gdef\firstPS@@{\firstPS@ \xyOzTeXheader}% \gdef\endXYdict@{\firstPS@}% \xyPSshapes@false \firstPS@@ }% \xydef@\xyOzTeXheader{\UsePSheader@{global.ps }% \let\xyPSdictknown@=\relax \writePSdict@@ \includeXYPSdict@} \xywarnifdefined\obeyOzTeXlines@ {\catcode`\^^M=\active \gdef\obeyOzTeXlines@{\catcode`\^^M=\active \let^^M=\space }} \OzTeX@@ \xywithoption{line}{% \xyinputorelse@{xyps-l.tex}{\xyerror@{Could not load xyps-l.tex}{}}} \xycatcodes \xywithoption{rotate}{% \xyinputorelse@{xyps-r.tex}{\xyerror@{Could not load xyps-r.tex}{}}} \xycatcodes \xywithoption{color}{% \xyinputorelse@{xyps-col.tex}{\xyerror@{Could not load xyps-col.tex}{}}} \xycatcodes \xyinputorelse@{xyps-c.tex}{\xyerror@{Could not load xyps-c.tex}{}} \xycatcodes \xyinputorelse@{xyps-col.tex}{\xyerror@{Could not load xyps-col.tex}{}} \xycatcodes \xyendinput