%% $Id: xypsdict.doc,v 2.10 1994/06/15 12:55:07 kris Exp $
%%
%% XY-pic ``PostScript Dictionary creation'' template file.
%% Copyright (c) 1993-1994	Kristoffer H. Rose	<kris@diku.dk>
%%
%% 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	<kris@diku.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.
%%
\documentstyle{article}
\input{xy}
\xyoption{ps}

% Hack to reject run of this file without SHORTVERSION properly inserted:
{\makeatletter
 \DN@{%%SHORTVERSION%%%
}\ifx\next@\empty
 \xyerror@{You can\string't run LaTeX directly on xypsdict.doc}%
  {You must have xypsdict.tex generated from it with the version number.}\fi}

\begin{document}
\dumpPSdict{xy%%SHORTVERSION%%dict.ps}
\end{document}
