Remove the redundant file headers.
[mdwtools] / colour.dtx
1 % \begin{meta-comment} <general public licence>
2 %%
3 %% colour package -- color, only spelt correctly
4 %% Copyright (c) 2003 Mark Wooding
5 %%
6 %% This program is free software; you can redistribute it and/or modify
7 %% it under the terms of the GNU General Public License as published by
8 %% the Free Software Foundation; either version 2 of the License, or
9 %% (at your option) any later version.
10 %%
11 %% This program is distributed in the hope that it will be useful,
12 %% but WITHOUT ANY WARRANTY; without even the implied warranty of
13 %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 %% GNU General Public License for more details.
15 %%
16 %% You should have received a copy of the GNU General Public License
17 %% along with this program; if not, write to the Free Software
18 %% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 %%
20 % \end{meta-comment}
21 %
22 % \begin{meta-comment} <Package preambles>
23 %<+package>\NeedsTeXFormat{LaTeX2e}
24 %<+package>\ProvidesPackage{colour}
25 %<+package> [2003/08/24 1.0 color, only spelt correctly]
26 % \end{meta-comment}
27 %
28 % \CheckSum{26}
29 %% \CharacterTable
30 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
31 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
32 %% Digits \0\1\2\3\4\5\6\7\8\9
33 %% Exclamation \! Double quote \" Hash (number) \#
34 %% Dollar \$ Percent \% Ampersand \&
35 %% Acute accent \' Left paren \( Right paren \)
36 %% Asterisk \* Plus \+ Comma \,
37 %% Minus \- Point \. Solidus \/
38 %% Colon \: Semicolon \; Less than \<
39 %% Equals \= Greater than \> Question mark \?
40 %% Commercial at \@ Left bracket \[ Backslash \\
41 %% Right bracket \] Circumflex \^ Underscore \_
42 %% Grave accent \` Left brace \{ Vertical bar \|
43 %% Right brace \} Tilde \~}
44 %%
45 %
46 % \begin{meta-comment}
47 %
48 %<*driver>
49 \input{mdwtools}
50 \describespackage{colour}
51 \mdwdoc
52 %</driver>
53 %
54 % \end{meta-comment}
55 %
56 %^^A-------------------------------------------------------------------------
57 % \section{User guide}
58 %
59 % This is the |\package{color}| package, with the addition of English
60 % spellings to the American misspellings. In particular, it provides
61 % commands |\colour|, |\definecolour|, |\textcolour|, |\pagecolour|,
62 % |\colourbox| and |\fcolourbox| commands. It also provides a \textsf{grey}
63 % colour model, which works the same as \textsf{gray}.
64 %
65 %^^A-------------------------------------------------------------------------
66 % \implementation
67 % \section{Implementation}
68 %
69 % \begin{macrocode}
70 %<*package>
71 % \end{macrocode}
72 %
73 % Import the \package{color} package.
74 %
75 % \begin{macrocode}
76 \DeclareOption*{\PassOptionsToPackage{\CurrentOption}{color}}
77 \ProcessOptions
78 \RequirePackage{color}
79 % \end{macrocode}
80 %
81 % And add new definitions.
82 %
83 % \begin{macrocode}
84 \let\colour\color
85 \let\definecolour\definecolor
86 \let\textcolour\textcolor
87 \let\pagecolour\pagecolor
88 \let\colourbox\colorbox
89 \let\fcolourbox\fcolorbox
90 \let\color@grey\color@gray
91 % \end{macrocode}
92 %
93 % That's all there is. Byebye.
94 %
95 % \begin{macrocode}
96 %</package>
97 % \end{macrocode}
98 % \nopagebreak
99 %
100 % \hfill Mark Wooding, \today
101 %
102 % \Finale
103 %
104 \endinput