Debian Codegraph @

texmf-dist/doc/latex/mdwtools/gpl.tex

raw
1 % \iffalse <meta-comment>
2 %
3 % $Id: gpl.tex,v 1.1 1996/11/19 20:51:14 mdw Exp $
4 %
5 % The GNU General Public Licence as a LaTeX section
6 %
7 % (c) 1989, 1991 Free Software Foundation, Inc.
8 % LaTeX markup and minor formatting changes by Mark Wooding
9 %
10
11 %----- Revision history -----------------------------------------------------
12 %
13 % $Log: gpl.tex,v $
14 % Revision 1.1 1996/11/19 20:51:14 mdw
15 % Initial revision
16 %
17
18 % --- Chapter heading ---
19 %
20 % We don't know whether this ought to be a section or a chapter. Easy.
21 % We'll see if chapters are possible.
22 %
23 % \fi
24
25 \begingroup
26 \makeatletter
27
28 \edef\next#1#2#3{\relax
29 \ifx\chapter\@@undefined
30 \ifx\documentclass\@notprerr#2\else#3\fi
31 \else#1\fi
32 }
33
34 \expandafter\endgroup\next
35 {
36 \let\gpltoplevel\chapter
37 \let\gplsec\section
38 \let\gplend\endinput
39 }{
40 \let\gpltoplevel\section
41 \let\gplsec\subsection
42 \let\gplend\endinput
43 }{
44 \documentclass[a4paper]{article}
45 \def\gpltoplevel#1{%
46 \vspace*{1in}%
47 \hbox to\hsize{\hfil\LARGE\bfseries#1\hfil}%
48 \vspace{1in}%
49 }
50 \let\gplsec\section
51 \def\gplend{\end{document}}
52 \advance\textwidth1in
53 \advance\oddsidemargin-.5in
54 \sloppy
55 \begin{document}
56 }
57
58 %^^A-------------------------------------------------------------------------
59 \gpltoplevel{The GNU General Public Licence}
60
61
62 The following is the text of the GNU General Public Licence, under the terms
63 of which this software is distrubuted.
64
65 \vspace{12pt}
66
67 \begin{center}
68 \textbf{GNU GENERAL PUBLIC LICENSE} \\
69 Version 2, June 1991
70 \end{center}
71
72 \begin{center}
73 Copyright (C) 1989, 1991 Free Software Foundation, Inc. \\
74 675 Mass Ave, Cambridge, MA 02139, USA
75
76 Everyone is permitted to copy and distribute verbatim copies \\
77 of this license document, but changing it is not allowed.
78 \end{center}
79
80
81 \gplsec{Preamble}
82
83 The licenses for most software are designed to take away your freedom to
84 share and change it. By contrast, the GNU General Public License is intended
85 to guarantee your freedom to share and change free software---to make sure
86 the software is free for all its users. This General Public License applies
87 to most of the Free Software Foundation's software and to any other program
88 whose authors commit to using it. (Some other Free Software Foundation
89 software is covered by the GNU Library General Public License instead.) You
90 can apply it to your programs, too.
91
92 When we speak of free software, we are referring to freedom, not price. Our
93 General Public Licenses are designed to make sure that you have the freedom
94 to distribute copies of free software (and charge for this service if you
95 wish), that you receive source code or can get it if you want it, that you
96 can change the software or use pieces of it in new free programs; and that
97 you know you can do these things.
98
99 To protect your rights, we need to make restrictions that forbid anyone to
100 deny you these rights or to ask you to surrender the rights. These
101 restrictions translate to certain responsibilities for you if you distribute
102 copies of the software, or if you modify it.
103
104 For example, if you distribute copies of such a program, whether gratis or
105 for a fee, you must give the recipients all the rights that you have. You
106 must make sure that they, too, receive or can get the source code. And you
107 must show them these terms so they know their rights.
108
109 We protect your rights with two steps: (1) copyright the software, and (2)
110 offer you this license which gives you legal permission to copy, distribute
111 and/or modify the software.
112
113 Also, for each author's protection and ours, we want to make certain that
114 everyone understands that there is no warranty for this free software. If
115 the software is modified by someone else and passed on, we want its
116 recipients to know that what they have is not the original, so that any
117 problems introduced by others will not reflect on the original authors'
118 reputations.
119
120 Finally, any free program is threatened constantly by software patents. We
121 wish to avoid the danger that redistributors of a free program will
122 individually obtain patent licenses, in effect making the program
123 proprietary. To prevent this, we have made it clear that any patent must be
124 licensed for everyone's free use or not licensed at all.
125
126 The precise terms and conditions for copying, distribution and modification
127 follow.
128
129
130 \gplsec{Terms and conditions for copying, distribution and modification}
131
132 \begin{enumerate}
133
134 \makeatletter \setcounter{\@listctr}{-1} \makeatother
135
136 \item [0.] This License applies to any program or other work which contains a
137 notice placed by the copyright holder saying it may be distributed
138 under the terms of this General Public License. The ``Program'',
139 below, refers to any such program or work, and a ``work based on the
140 Program'' means either the Program or any derivative work under
141 copyright law: that is to say, a work containing the Program or a
142 portion of it, either verbatim or with modifications and/or translated
143 into another language. (Hereinafter, translation is included without
144 limitation in the term ``modification''.) Each licensee is addressed
145 as ``you''.
146
147 Activities other than copying, distribution and modification are not
148 covered by this License; they are outside its scope. The act of
149 running the Program is not restricted, and the output from the Program
150 is covered only if its contents constitute a work based on the Program
151 (independent of having been made by running the Program). Whether that
152 is true depends on what the Program does.
153
154 \item [1.] You may copy and distribute verbatim copies of the Program's
155 source code as you receive it, in any medium, provided that you
156 conspicuously and appropriately publish on each copy an appropriate
157 copyright notice and disclaimer of warranty; keep intact all the
158 notices that refer to this License and to the absence of any warranty;
159 and give any other recipients of the Program a copy of this License
160 along with the Program.
161
162 You may charge a fee for the physical act of transferring a copy, and
163 you may at your option offer warranty protection in exchange for a fee.
164
165 \item [2.] You may modify your copy or copies of the Program or any portion
166 of it, thus forming a work based on the Program, and copy and
167 distribute such modifications or work under the terms of Section 1
168 above, provided that you also meet all of these conditions:
169
170 \begin{enumerate}
171
172 \item [(a)] You must cause the modified files to carry prominent
173 notices stating that you changed the files and the date of any
174 change.
175
176 \item [(b)] You must cause any work that you distribute or publish,
177 that in whole or in part contains or is derived from the Program
178 or any part thereof, to be licensed as a whole at no charge to
179 all third parties under the terms of this License.
180
181 \item [(c)] If the modified program normally reads commands
182 interactively when run, you must cause it, when started running
183 for such interactive use in the most ordinary way, to print or
184 display an announcement including an appropriate copyright notice
185 and a notice that there is no warranty (or else, saying that you
186 provide a warranty) and that users may redistribute the program
187 under these conditions, and telling the user how to view a copy
188 of this License. (Exception: if the Program itself is
189 interactive but does not normally print such an announcement,
190 your work based on the Program is not required to print an
191 announcement.)
192
193 \end{enumerate}
194
195 These requirements apply to the modified work as a whole. If
196 identifiable sections of that work are not derived from the Program,
197 and can be reasonably considered independent and separate works in
198 themselves, then this License, and its terms, do not apply to those
199 sections when you distribute them as separate works. But when you
200 distribute the same sections as part of a whole which is a work based
201 on the Program, the distribution of the whole must be on the terms of
202 this License, whose permissions for other licensees extend to the
203 entire whole, and thus to each and every part regardless of who wrote
204 it.
205
206 Thus, it is not the intent of this section to claim rights or contest
207 your rights to work written entirely by you; rather, the intent is to
208 exercise the right to control the distribution of derivative or
209 collective works based on the Program.
210
211 In addition, mere aggregation of another work not based on the Program
212 with the Program (or with a work based on the Program) on a volume of a
213 storage or distribution medium does not bring the other work under the
214 scope of this License.
215
216 \item [3.] You may copy and distribute the Program (or a work based on it,
217 under Section 2) in object code or executable form under the terms of
218 Sections 1 and 2 above provided that you also do one of the following:
219
220 \begin{enumerate}
221
222 \item [(a)] Accompany it with the complete corresponding
223 machine-readable source code, which must be distributed under the
224 terms of Sections 1 and 2 above on a medium customarily used for
225 software interchange; or,
226
227 \item [(b)] Accompany it with a written offer, valid for at least three
228 years, to give any third party, for a charge no more than your
229 cost of physically performing source distribution, a complete
230 machine-readable copy of the corresponding source code, to be
231 distributed under the terms of Sections 1 and 2 above on a medium
232 customarily used for software interchange; or,
233
234 \item [(c)] Accompany it with the information you received as to the
235 offer to distribute corresponding source code. (This alternative
236 is allowed only for noncommercial distribution and only if you
237 received the program in object code or executable form with such
238 an offer, in accord with Subsection b above.)
239
240 \end{enumerate}
241
242 The source code for a work means the preferred form of the work for
243 making modifications to it. For an executable work, complete source
244 code means all the source code for all modules it contains, plus any
245 associated interface definition files, plus the scripts used to control
246 compilation and installation of the executable. However, as a special
247 exception, the source code distributed need not include anything that
248 is normally distributed (in either source or binary form) with the
249 major components (compiler, kernel, and so on) of the operating system
250 on which the executable runs, unless that component itself accompanies
251 the executable.
252
253 If distribution of executable or object code is made by offering access
254 to copy from a designated place, then offering equivalent access to
255 copy the source code from the same place counts as distribution of the
256 source code, even though third parties are not compelled to copy the
257 source along with the object code.
258
259 \item [4.] You may not copy, modify, sublicense, or distribute the Program
260 except as expressly provided under this License. Any attempt otherwise
261 to copy, modify, sublicense or distribute the Program is void, and will
262 automatically terminate your rights under this License. However,
263 parties who have received copies, or rights, from you under this
264 License will not have their licenses terminated so long as such parties
265 remain in full compliance.
266
267 \item [5.] You are not required to accept this License, since you have not
268 signed it. However, nothing else grants you permission to modify or
269 distribute the Program or its derivative works. These actions are
270 prohibited by law if you do not accept this License. Therefore, by
271 modifying or distributing the Program (or any work based on the
272 Program), you indicate your acceptance of this License to do so, and
273 all its terms and conditions for copying, distributing or modifying the
274 Program or works based on it.
275
276 \item [6.] Each time you redistribute the Program (or any work based on the
277 Program), the recipient automatically receives a license from the
278 original licensor to copy, distribute or modify the Program subject to
279 these terms and conditions. You may not impose any further
280 restrictions on the recipients' exercise of the rights granted herein.
281 You are not responsible for enforcing compliance by third parties to
282 this License.
283
284 \item [7.] If, as a consequence of a court judgment or allegation of patent
285 infringement or for any other reason (not limited to patent issues),
286 conditions are imposed on you (whether by court order, agreement or
287 otherwise) that contradict the conditions of this License, they do not
288 excuse you from the conditions of this License. If you cannot
289 distribute so as to satisfy simultaneously your obligations under this
290 License and any other pertinent obligations, then as a consequence you
291 may not distribute the Program at all. For example, if a patent
292 license would not permit royalty-free redistribution of the Program by
293 all those who receive copies directly or indirectly through you, then
294 the only way you could satisfy both it and this License would be to
295 refrain entirely from distribution of the Program.
296
297 If any portion of this section is held invalid or unenforceable under
298 any particular circumstance, the balance of the section is intended to
299 apply and the section as a whole is intended to apply in other
300 circumstances.
301
302 It is not the purpose of this section to induce you to infringe any
303 patents or other property right claims or to contest validity of any
304 such claims; this section has the sole purpose of protecting the
305 integrity of the free software distribution system, which is
306 implemented by public license practices. Many people have made
307 generous contributions to the wide range of software distributed
308 through that system in reliance on consistent application of that
309 system; it is up to the author/donor to decide if he or she is willing
310 to distribute software through any other system and a licensee cannot
311 impose that choice.
312
313 This section is intended to make thoroughly clear what is believed to
314 be a consequence of the rest of this License.
315
316 \item [8.] If the distribution and/or use of the Program is restricted in
317 certain countries either by patents or by copyrighted interfaces, the
318 original copyright holder who places the Program under this License may
319 add an explicit geographical distribution limitation excluding those
320 countries, so that distribution is permitted only in or among countries
321 not thus excluded. In such case, this License incorporates the
322 limitation as if written in the body of this License.
323
324 \item [9.] The Free Software Foundation may publish revised and/or new
325 versions of the General Public License from time to time. Such new
326 versions will be similar in spirit to the present version, but may
327 differ in detail to address new problems or concerns.
328
329 Each version is given a distinguishing version number. If the Program
330 specifies a version number of this License which applies to it and
331 ``any later version'', you have the option of following the terms and
332 conditions either of that version or of any later version published by
333 the Free Software Foundation. If the Program does not specify a
334 version number of this License, you may choose any version ever
335 published by the Free Software Foundation.
336
337 \item [10.] If you wish to incorporate parts of the Program into other free
338 programs whose distribution conditions are different, write to the
339 author to ask for permission. For software which is copyrighted by the
340 Free Software Foundation, write to the Free Software Foundation; we
341 sometimes make exceptions for this. Our decision will be guided by the
342 two goals of preserving the free status of all derivatives of our free
343 software and of promoting the sharing and reuse of software generally.
344
345 \begin{center}
346 NO WARRANTY
347 \end{center}
348
349 \bfseries
350
351 \item [11.] Because the Program is licensed free of charge, there is no
352 warranty for the Program, to the extent permitted by applicable law.
353 except when otherwise stated in writing the copyright holders and/or
354 other parties provide the program ``as is'' without warranty of any
355 kind, either expressed or implied, including, but not limited to, the
356 implied warranties of merchantability and fitness for a particular
357 purpose. The entire risk as to the quality and performance of the
358 Program is with you. Should the Program prove defective, you assume
359 the cost of all necessary servicing, repair or correction.
360
361 \item [12.] In no event unless required by applicable law or agreed to in
362 writing will any copyright holder, or any other party who may modify
363 and/or redistribute the program as permitted above, be liable to you
364 for damages, including any general, special, incidental or
365 consequential damages arising out of the use or inability to use the
366 program (including but not limited to loss of data or data being
367 rendered inaccurate or losses sustained by you or third parties or a
368 failure of the Program to operate with any other programs), even if
369 such holder or other party has been advised of the possibility of such
370 damages.
371
372 \end{enumerate}
373
374 \begin{center}
375 \textbf{END OF TERMS AND CONDITIONS}
376 \end{center}
377
378
379 \gplsec{Appendix: How to Apply These Terms to Your New Programs}
380
381 If you develop a new program, and you want it to be of the greatest possible
382 use to the public, the best way to achieve this is to make it free software
383 which everyone can redistribute and change under these terms.
384
385 To do so, attach the following notices to the program. It is safest to
386 attach them to the start of each source file to most effectively convey the
387 exclusion of warranty; and each file should have at least the ``copyright''
388 line and a pointer to where the full notice is found.
389
390 \begin{verbatim}
391 <one line to give the program's name and a brief idea of what it does.>
392 Copyright (C) 19yy <name of author>
393
394 This program is free software; you can redistribute it and/or modify
395 it under the terms of the GNU General Public License as published by
396 the Free Software Foundation; either version 2 of the License, or
397 (at your option) any later version.
398
399 This program is distributed in the hope that it will be useful,
400 but WITHOUT ANY WARRANTY; without even the implied warranty of
401 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
402 GNU General Public License for more details.
403
404 You should have received a copy of the GNU General Public License
405 along with this program; if not, write to the Free Software
406 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
407 \end{verbatim}
408
409 Also add information on how to contact you by electronic and paper mail.
410
411 If the program is interactive, make it output a short notice like this when
412 it starts in an interactive mode:
413
414 \begin{verbatim}
415 Gnomovision version 69, Copyright (C) 19yy name of author
416 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
417 This is free software, and you are welcome to redistribute it
418 under certain conditions; type `show c' for details.
419 \end{verbatim}
420
421 The hypothetical commands `show w' and `show c' should show the appropriate
422 parts of the General Public License. Of course, the commands you use may be
423 called something other than `show w' and `show c'; they could even be
424 mouse-clicks or menu items--whatever suits your program.
425
426 You should also get your employer (if you work as a programmer) or your
427 school, if any, to sign a ``copyright disclaimer'' for the program, if
428 necessary. Here is a sample; alter the names:
429
430 \begin{verbatim}
431 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
432 `Gnomovision' (which makes passes at compilers) written by James Hacker.
433
434 <signature of Ty Coon>, 1 April 1989
435 Ty Coon, President of Vice
436 \end{verbatim}
437
438 This General Public License does not permit incorporating your program into
439 proprietary programs. If your program is a subroutine library, you may
440 consider it more useful to permit linking proprietary applications with the
441 library. If this is what you want to do, use the GNU Library General Public
442 License instead of this License.
443
444 \gplend