summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/xypic/xyrecat.doc
blob: 89b3c828f847920b5df2950ac2af88d3ab750650 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
%% $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      <krisrose@brics.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-1996      Kristoffer H. Rose      <krisrose@brics.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.
%%
\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: