Debian Codegraph @

texmf-dist/tex/generic/xypic/xyidioms.tex

raw
1 %% xyidioms.tex from $Id: xyidioms.doc,v 3.7 2011/03/14 20:14:00 krisrose Exp $
2 %%
3 %% Format-dependent idioms for Xy-pic.
4 %% Copyright (c) 1991-1997 Kristoffer H. Rose <[email protected]>
5 %%
6 %% This file is part of the Xy-pic package for graphs and diagrams in TeX.
7 %% See the companion README and INSTALL files for further information.
8 %% Copyright (c) 1991-2011 Kristoffer H. Rose <[email protected]>
9 %%
10 %% The Xy-pic package is free software; you can redistribute it and/or modify
11 %% it under the terms of the GNU General Public License as published by the
12 %% Free Software Foundation; either version 2 of the License, or (at your
13 %% option) any later version.
14 %%
15 %% The Xy-pic package is distributed in the hope that it will be useful, but
16 %% WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17 %% or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18 %% for more details.
19 %%
20 %% You should have received a copy of the GNU General Public License along
21 %% with this package; if not, see http://www.gnu.org/licenses/.
22 %%
23 \ifx\xyidiomsloaded\empty \message{not reloaded}\endinput \fi
24 \let\xyidiomsloaded=\empty
25 \xywarnifdefined\A@ \dimendef\A@=4
26 \xywarnifdefined\B@ \dimendef\B@=6
27 \xywarnifdefined\R@ \dimendef\R@=8
28 \ifx\undefined\AveryUNLIKELYc@ntr@lSEQUENCE@@\else
29 \errmessage{Xy-pic Error: \string\undefined\space defined.}\fi
30 \ifx\undefined\literal@ \def\literal@#1{#1}\fi
31 \ifx\undefined\eat@ \def\eat@#1{}\fi
32 \xydef@\xyFN@{\futurelet\next}
33 \ifx\undefined\DN@ \def\DN@{\def\next@}\fi
34 \ifx\undefined\DNii@ \def\DNii@{\def\nextii@}\fi
35 \ifx\undefined\setboxz@h\def\setboxz@h{\setbox\z@\hbox}\fi
36 \ifx\undefined\wdz@ \def\wdz@{\wd\z@}\fi
37 \ifx\undefined\boxz@ \def\boxz@{\box\z@}\fi
38 \ifx\undefined\W@ \def\W@{\immediate\write16 }\fi
39 \ifx\undefined\space@ \def\space@.{\futurelet\space@\relax}\space@. \fi
40 \ifx\undefined\notempty \def\notempty#1{T\if @#1@F\else T\fi}\fi
41 \xydef@\xysetup@dummy#1{\xyuncatcodes#1}
42 \xywarnifdefined\xysetup@@
43 \ifx\AtEndDocument\undefined
44 \expandafter\ifx\csname amsppt.sty\endcsname\relax
45 \let\xysetup@@=\xysetup@dummy
46 \else
47 \def\xysetup@@#1{%
48 \expandafter\def\expandafter\topmatter\expandafter{\topmatter
49 #1\xyuncatcodes}}\fi
50 \else
51 \def\xysetup@@#1{\AtBeginDocument{#1\xyuncatcodes}}
52 \fi
53 \ifx\xysetup@@\xysetup@dummy\else
54 \xysetup@@{\let\xysetup@@=\xysetup@dummy \xyuncatcodes}\fi
55 \xywarnifdefined\xyclosedown@@
56 \ifx\AtEndDocument\undefined \let\xyclosedown@@=\eat@
57 \else \def\xyclosedown@@#1{\AtEndDocument{#1}}\fi
58 \xylet@\xy@begindvi=\literal@
59 \ifx\undefined\AtBeginDvi\else
60 \AtBeginDocument{\let\xy@begindvi=\AtBeginDvi}
61 \AtBeginDvi{\global\let\xy@begindvi=\literal@}\fi
62 \ifx\amstexloaded@\relax
63 \xylet@\toks@ii=\toks@@ \endinput \fi
64 \ifx\@tempcnta\undefined
65 \xynew@{count}\count@@
66 \xynew@{count}\count@@@
67 \else
68 \xylet@\count@@=\@tempcnta
69 \xylet@\count@@@=\@tempcntb
70 \fi
71 \ifx\undefined\toks@ii \toksdef\toks@ii=2 \fi
72 \endinput