%% $Id: xyrecat.doc,v 3.3 1996/12/19 03:31:56 krisrose Exp $ %% %% Xy-pic ``Reset Category Codes'' utility. %% Copyright (c) 1994-1996 Kristoffer H. Rose %% %% 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 %% %% 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. %% \DOCMODE3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \noindent However, it is possible to `repair' the problem in case any of the characters |#$&'+-.<=>`| change category code: % \begin{defs1} |\xyresetcatcodes| \end{defs1} \noindent\unskip % will load the file ??c![xyrecat.tex] (version \stripRCS$Revision: 3.3 $) to do it. \DOCMODE2%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \paragraph*{Header:} \DOCHEADER \noindent The command is defined in |xy.doc|: the purpose of this file is to be reloadable such that the characters can be reread by \TeX\ with fresh catcodes. The code redefines the special |\add|\dots|@| control sequences used for parsing of just those characters, assuming |\next| is defined correctly before loading it: \DOCMODE( %\xyreuncatcodes \xyuncatcodes \xyrecat @ 64 \catcode 64 11 \xymakeADD@\addHASH@ # 35 \xymakeADD@\addDOLL@ $ 36 \xymakeADD@\addAND@ & 38 \xymakeADD@\addRQ@ ' 39 \xymakeADD@\addPLUS@ + 43 \xymakeADD@\addDASH@ - 45 \xymakeADD@\addDOT@ . 46 \xymakeADD@\addLT@ < 60 \xymakeADD@\addEQ@ = 61 \xymakeADD@\addGT@ > 62 \xymakeADD@\addLQ@ ` 96 \endinput % $Log: xyrecat.doc,v $ % Revision 3.3 1996/12/19 03:31:56 krisrose % Maintenance release % % Revision 3.1 1995/09/05 20:31:32 kris % Releasing! % % Revision 3.0 1995/07/07 20:14:21 kris % Major release w/new User's Guide! % % Revision 2.13 1995/07/04 15:11:17 kris % Ready to release v3? % % NEW file to go in version 3! \DOCMODE) \DOCMODE3%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Tell Emacs that this is a LaTeX document and how it is formatted: % Local Variables: % mode:latex % fill-prefix:"\t" % fill-column:77 % paragraph-separate:"^[ \t\f]*$\\|^[^\t]\\|\\\\\\\\\\|\\$\\$\\|[^\n\\\\][%&]" % paragraph-start:"^[ \t\f]*$\\|^[^\t]\\|\\\\\\\\\\|\\$\\$\\|[^\n\\\\][%&]" % End: