Back out r1438/r1439
[latex2e.git] / trunk / base / lppl.tex
blob5b897b2583fb7932675c55f3599dacae8683f8e7
2 % Copyright 1999 2002-2011 LaTeX3 Project
3 % Everyone is allowed to distribute verbatim copies of this
4 % license document, but modification of it is not allowed.
7 % If you wish to load it as part of a ``doc'' source, you have to
8 % ensure that a) % is a comment character and b) that short verb
9 % characters are being turned off, i.e.,
11 % \DeleteShortVerb{\'} % or whatever was made a shorthand
12 % \MakePercentComment
13 % \input{lppl}
14 % \MakePercentIgnore
15 % \MakeShortVerb{\'} % turn it on again if necessary
18 % By default the license is produced with \section* as the highest
19 % heading level. If this is not appropriate for the document in which
20 % it is included define the commands listed below before loading this
21 % document, e.g., for inclusion as a separate chapter define:
23 % \providecommand{\LPPLsection}{\chapter*}
24 % \providecommand{\LPPLsubsection}{\section*}
25 % \providecommand{\LPPLsubsubsection}{\subsection*}
26 % \providecommand{\LPPLparagraph}{\subsubsection*}
29 % To allow cross-referencing the headings \label's have been attached
30 % to them, all starting with ``LPPL:''. As by default headings without
31 % numbers are produced, this will only allow page references.
32 % However, you can use the titleref package to produce textual
33 % references or you change the definitions of \LPPLsection, and
34 % friends to generated numbered headings.
37 % We want it to be possible that this file can be processed by
38 % (pdf)LaTeX on its own, or that this file can be included in another
39 % LaTeX document without any modification whatsoever.
40 % Hence the little test below.
43 \makeatletter
44 \ifx\@preamblecmds\@notprerr
45 % In this case the preamble has already been processed so this file
46 % is loaded as part of another document; just enclose everything in
47 % a group
48 \let\LPPLicense\bgroup
49 \let\endLPPLicense\egroup
50 \else
51 % In this case the preamble has not been processed yet so this file
52 % is processed by itself.
53 \documentclass{article}
54 \let\LPPLicense\document
55 \let\endLPPLicense\enddocument
56 \fi
57 \makeatother
60 \begin{LPPLicense}
61 \providecommand{\LPPLsection}{\section*}
62 \providecommand{\LPPLsubsection}{\subsection*}
63 \providecommand{\LPPLsubsubsection}{\subsubsection*}
64 \providecommand{\LPPLparagraph}{\paragraph*}
65 \providecommand*{\LPPLfile}[1]{\texttt{#1}}
66 \providecommand*{\LPPLdocfile}[1]{`\LPPLfile{#1.tex}'}
67 \providecommand*{\LPPL}{\textsc{lppl}}
69 \LPPLsection{The \LaTeX\ Project Public License}
70 \label{LPPL:LPPL}
72 \emph{LPPL Version 1.3c 2008-05-04}
74 \textbf{Copyright 1999, 2002--2008 \LaTeX3 Project}
75 \begin{quotation}
76 Everyone is allowed to distribute verbatim copies of this
77 license document, but modification of it is not allowed.
78 \end{quotation}
80 \LPPLsubsection{Preamble}
81 \label{LPPL:Preamble}
83 The \LaTeX\ Project Public License (\LPPL) is the primary license
84 under which the \LaTeX\ kernel and the base \LaTeX\ packages are
85 distributed.
87 You may use this license for any work of which you hold the
88 copyright and which you wish to distribute. This license may be
89 particularly suitable if your work is \TeX-related (such as a
90 \LaTeX\ package), but it is written in such a way that you can use
91 it even if your work is unrelated to \TeX.
93 The section `WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS
94 LICENSE', below, gives instructions, examples, and recommendations
95 for authors who are considering distributing their works under this
96 license.
98 This license gives conditions under which a work may be distributed
99 and modified, as well as conditions under which modified versions of
100 that work may be distributed.
102 We, the \LaTeX3 Project, believe that the conditions below give you
103 the freedom to make and distribute modified versions of your work
104 that conform with whatever technical specifications you wish while
105 maintaining the availability, integrity, and reliability of that
106 work. If you do not see how to achieve your goal while meeting
107 these conditions, then read the document \LPPLdocfile{cfgguide} and
108 \LPPLdocfile{modguide} in the base \LaTeX\ distribution for suggestions.
111 \LPPLsubsection{Definitions}
112 \label{LPPL:Definitions}
114 In this license document the following terms are used:
116 \begin{description}
117 \item[Work] Any work being distributed under this License.
119 \item[Derived Work] Any work that under any applicable law is
120 derived from the Work.
122 \item[Modification] Any procedure that produces a Derived Work under
123 any applicable law -- for example, the production of a file
124 containing an original file associated with the Work or a
125 significant portion of such a file, either verbatim or with
126 modifications and/or translated into another language.
128 \item[Modify] To apply any procedure that produces a Derived Work
129 under any applicable law.
131 \item[Distribution] Making copies of the Work available from one
132 person to another, in whole or in part. Distribution includes
133 (but is not limited to) making any electronic components of the
134 Work accessible by file transfer protocols such as \textsc{ftp} or
135 \textsc{http} or by shared file systems such as Sun's Network File
136 System (\textsc{nfs}).
138 \item[Compiled Work] A version of the Work that has been processed
139 into a form where it is directly usable on a computer system.
140 This processing may include using installation facilities provided
141 by the Work, transformations of the Work, copying of components of
142 the Work, or other activities. Note that modification of any
143 installation facilities provided by the Work constitutes
144 modification of the Work.
146 \item[Current Maintainer] A person or persons nominated as such
147 within the Work. If there is no such explicit nomination then it
148 is the `Copyright Holder' under any applicable law.
150 \item[Base Interpreter] A program or process that is normally needed
151 for running or interpreting a part or the whole of the Work.
153 A Base Interpreter may depend on external components but these are
154 not considered part of the Base Interpreter provided that each
155 external component clearly identifies itself whenever it is used
156 interactively. Unless explicitly specified when applying the
157 license to the Work, the only applicable Base Interpreter is a
158 `\LaTeX-Format' or in the case of files belonging to the
159 `\LaTeX-format' a program implementing the `\TeX{} language'.
160 \end{description}
162 \LPPLsubsection{Conditions on Distribution and Modification}
163 \label{LPPL:Conditions}
165 \begin{enumerate}
166 \item Activities other than distribution and/or modification of the
167 Work are not covered by this license; they are outside its scope.
168 In particular, the act of running the Work is not restricted and
169 no requirements are made concerning any offers of support for the
170 Work.
172 \item\label{LPPL:item:distribute} You may distribute a complete, unmodified
173 copy of the Work as you received it. Distribution of only part of
174 the Work is considered modification of the Work, and no right to
175 distribute such a Derived Work may be assumed under the terms of
176 this clause.
178 \item You may distribute a Compiled Work that has been generated
179 from a complete, unmodified copy of the Work as distributed under
180 Clause~\ref{LPPL:item:distribute} above, as long as that Compiled Work is
181 distributed in such a way that the recipients may install the
182 Compiled Work on their system exactly as it would have been
183 installed if they generated a Compiled Work directly from the
184 Work.
186 \item\label{LPPL:item:currmaint} If you are the Current Maintainer of the
187 Work, you may, without restriction, modify the Work, thus creating
188 a Derived Work. You may also distribute the Derived Work without
189 restriction, including Compiled Works generated from the Derived
190 Work. Derived Works distributed in this manner by the Current
191 Maintainer are considered to be updated versions of the Work.
193 \item If you are not the Current Maintainer of the Work, you may
194 modify your copy of the Work, thus creating a Derived Work based
195 on the Work, and compile this Derived Work, thus creating a
196 Compiled Work based on the Derived Work.
198 \item\label{LPPL:item:conditions} If you are not the Current Maintainer
199 of the
200 Work, you may distribute a Derived Work provided the following
201 conditions are met for every component of the Work unless that
202 component clearly states in the copyright notice that it is exempt
203 from that condition. Only the Current Maintainer is allowed to
204 add such statements of exemption to a component of the Work.
205 \begin{enumerate}
206 \item If a component of this Derived Work can be a direct
207 replacement for a component of the Work when that component is
208 used with the Base Interpreter, then, wherever this component of
209 the Work identifies itself to the user when used interactively
210 with that Base Interpreter, the replacement component of this
211 Derived Work clearly and unambiguously identifies itself as a
212 modified version of this component to the user when used
213 interactively with that Base Interpreter.
215 \item\label{LPPL:item:changelog} Every component of the Derived Work
216 contains prominent
217 notices detailing the nature of the changes to that component,
218 or a prominent reference to another file that is distributed as
219 part of the Derived Work and that contains a complete and
220 accurate log of the changes.
222 \item No information in the Derived Work implies that any persons,
223 including (but not limited to) the authors of the original
224 version of the Work, provide any support, including (but not
225 limited to) the reporting and handling of errors, to recipients
226 of the Derived Work unless those persons have stated explicitly
227 that they do provide such support for the Derived Work.
229 \item\label{LPPL:item:unmodifiedcopy} You distribute at least one of
230 the following with the Derived Work:
231 \begin{enumerate}
232 \item A complete, unmodified copy of the Work; if your
233 distribution of a modified component is made by offering
234 access to copy the modified component from a designated place,
235 then offering equivalent access to copy the Work from the same
236 or some similar place meets this condition, even though third
237 parties are not compelled to copy the Work along with the
238 modified component;
240 \item Information that is sufficient to obtain a complete,
241 unmodified copy of the Work.
242 \end{enumerate}
243 \end{enumerate}
244 \item If you are not the Current Maintainer of the Work, you may
245 distribute a Compiled Work generated from a Derived Work, as long
246 as the Derived Work is distributed to all recipients of the
247 Compiled Work, and as long as the conditions of
248 Clause~\ref{LPPL:item:conditions}, above, are met with regard to the
249 Derived Work.
251 \item The conditions above are not intended to prohibit, and hence
252 do not apply to, the modification, by any method, of any component
253 so that it becomes identical to an updated version of that
254 component of the Work as it is distributed by the Current
255 Maintainer under Clause~\ref{LPPL:item:currmaint}, above.
257 \item Distribution of the Work or any Derived Work in an alternative
258 format, where the Work or that Derived Work (in whole or in part)
259 is then produced by applying some process to that format, does not
260 relax or nullify any sections of this license as they pertain to
261 the results of applying that process.
263 \item
264 \begin{enumerate}
265 \item A Derived Work may be distributed under a different license
266 provided that license itself honors the conditions listed in
267 Clause~\ref{LPPL:item:conditions} above, in regard to the Work, though it
268 does not have to honor the rest of the conditions in this
269 license.
271 \item If a Derived Work is distributed under a different license,
272 that Derived Work must provide sufficient documentation as part
273 of itself to allow each recipient of that Derived Work to honor
274 the restrictions in Clause~\ref{LPPL:item:conditions} above, concerning
275 changes from the Work.
276 \end{enumerate}
277 \item This license places no restrictions on works that are
278 unrelated to the Work, nor does this license place any
279 restrictions on aggregating such works with the Work by any means.
281 \item Nothing in this license is intended to, or may be used to,
282 prevent complete compliance by all parties with all applicable
283 laws.
284 \end{enumerate}
286 \LPPLsubsection{No Warranty}
287 \label{LPPL:Warranty}
289 There is no warranty for the Work. Except when otherwise stated in
290 writing, the Copyright Holder provides the Work `as is', without
291 warranty of any kind, either expressed or implied, including, but
292 not limited to, the implied warranties of merchantability and
293 fitness for a particular purpose. The entire risk as to the quality
294 and performance of the Work is with you. Should the Work prove
295 defective, you assume the cost of all necessary servicing, repair,
296 or correction.
298 In no event unless required by applicable law or agreed to in
299 writing will The Copyright Holder, or any author named in the
300 components of the Work, or any other party who may distribute and/or
301 modify the Work as permitted above, be liable to you for damages,
302 including any general, special, incidental or consequential damages
303 arising out of any use of the Work or out of inability to use the
304 Work (including, but not limited to, loss of data, data being
305 rendered inaccurate, or losses sustained by anyone as a result of
306 any failure of the Work to operate with any other programs), even if
307 the Copyright Holder or said author or said other party has been
308 advised of the possibility of such damages.
310 \LPPLsubsection{Maintenance of The Work}
311 \label{LPPL:Maintenance}
313 The Work has the status `author-maintained' if the Copyright Holder
314 explicitly and prominently states near the primary copyright notice
315 in the Work that the Work can only be maintained by the Copyright
316 Holder or simply that it is `author-maintained'.
318 The Work has the status `maintained' if there is a Current
319 Maintainer who has indicated in the Work that they are willing to
320 receive error reports for the Work (for example, by supplying a
321 valid e-mail address). It is not required for the Current Maintainer
322 to acknowledge or act upon these error reports.
324 The Work changes from status `maintained' to `unmaintained' if there
325 is no Current Maintainer, or the person stated to be Current
326 Maintainer of the work cannot be reached through the indicated means
327 of communication for a period of six months, and there are no other
328 significant signs of active maintenance.
330 You can become the Current Maintainer of the Work by agreement with
331 any existing Current Maintainer to take over this role.
333 If the Work is unmaintained, you can become the Current Maintainer
334 of the Work through the following steps:
335 \begin{enumerate}
336 \item Make a reasonable attempt to trace the Current Maintainer (and
337 the Copyright Holder, if the two differ) through the means of an
338 Internet or similar search.
339 \item If this search is successful, then enquire whether the Work is
340 still maintained.
341 \begin{enumerate}
342 \item If it is being maintained, then ask the Current Maintainer
343 to update their communication data within one month.
345 \item\label{LPPL:item:intention} If the search is unsuccessful or
346 no action to resume active maintenance is taken by the Current
347 Maintainer, then announce within the pertinent community your
348 intention to take over maintenance. (If the Work is a \LaTeX{}
349 work, this could be done, for example, by posting to
350 \texttt{comp.text.tex}.)
351 \end{enumerate}
352 \item {}
353 \begin{enumerate}
354 \item If the Current Maintainer is reachable and agrees to pass
355 maintenance of the Work to you, then this takes effect
356 immediately upon announcement.
358 \item\label{LPPL:item:announce} If the Current Maintainer is not
359 reachable and the Copyright Holder agrees that maintenance of
360 the Work be passed to you, then this takes effect immediately
361 upon announcement.
362 \end{enumerate}
363 \item\label{LPPL:item:change} If you make an `intention
364 announcement' as described in~\ref{LPPL:item:intention} above and
365 after three months your intention is challenged neither by the
366 Current Maintainer nor by the Copyright Holder nor by other
367 people, then you may arrange for the Work to be changed so as to
368 name you as the (new) Current Maintainer.
370 \item If the previously unreachable Current Maintainer becomes
371 reachable once more within three months of a change completed
372 under the terms of~\ref{LPPL:item:announce}
373 or~\ref{LPPL:item:change}, then that Current Maintainer must
374 become or remain the Current Maintainer upon request provided they
375 then update their communication data within one month.
376 \end{enumerate}
377 A change in the Current Maintainer does not, of itself, alter the
378 fact that the Work is distributed under the \LPPL\ license.
380 If you become the Current Maintainer of the Work, you should
381 immediately provide, within the Work, a prominent and unambiguous
382 statement of your status as Current Maintainer. You should also
383 announce your new status to the same pertinent community as
384 in~\ref{LPPL:item:intention} above.
386 \LPPLsubsection{Whether and How to Distribute Works under This License}
387 \label{LPPL:Distribute}
389 This section contains important instructions, examples, and
390 recommendations for authors who are considering distributing their
391 works under this license. These authors are addressed as `you' in
392 this section.
394 \LPPLsubsubsection{Choosing This License or Another License}
395 \label{LPPL:Choosing}
397 If for any part of your work you want or need to use
398 \emph{distribution} conditions that differ significantly from those
399 in this license, then do not refer to this license anywhere in your
400 work but, instead, distribute your work under a different license.
401 You may use the text of this license as a model for your own
402 license, but your license should not refer to the \LPPL\ or
403 otherwise give the impression that your work is distributed under
404 the \LPPL.
406 The document \LPPLdocfile{modguide} in the base \LaTeX\ distribution
407 explains the motivation behind the conditions of this license. It
408 explains, for example, why distributing \LaTeX\ under the
409 \textsc{gnu} General Public License (\textsc{gpl}) was considered
410 inappropriate. Even if your work is unrelated to \LaTeX, the
411 discussion in \LPPLdocfile{modguide} may still be relevant, and authors
412 intending to distribute their works under any license are encouraged
413 to read it.
415 \LPPLsubsubsection{A Recommendation on Modification Without Distribution}
416 \label{LPPL:WithoutDistribution}
418 It is wise never to modify a component of the Work, even for your
419 own personal use, without also meeting the above conditions for
420 distributing the modified component. While you might intend that
421 such modifications will never be distributed, often this will happen
422 by accident -- you may forget that you have modified that component;
423 or it may not occur to you when allowing others to access the
424 modified version that you are thus distributing it and violating the
425 conditions of this license in ways that could have legal
426 implications and, worse, cause problems for the community. It is
427 therefore usually in your best interest to keep your copy of the
428 Work identical with the public one. Many works provide ways to
429 control the behavior of that work without altering any of its
430 licensed components.
432 \LPPLsubsubsection{How to Use This License}
433 \label{LPPL:HowTo}
435 To use this license, place in each of the components of your work
436 both an explicit copyright notice including your name and the year
437 the work was authored and/or last substantially modified. Include
438 also a statement that the distribution and/or modification of that
439 component is constrained by the conditions in this license.
441 Here is an example of such a notice and statement:
442 \begin{verbatim}
443 %% pig.dtx
444 %% Copyright 2005 M. Y. Name
446 % This work may be distributed and/or modified under the
447 % conditions of the LaTeX Project Public License, either version 1.3
448 % of this license or (at your option) any later version.
449 % The latest version of this license is in
450 % http://www.latex-project.org/lppl.txt
451 % and version 1.3 or later is part of all distributions of LaTeX
452 % version 2005/12/01 or later.
454 % This work has the LPPL maintenance status `maintained'.
456 % The Current Maintainer of this work is M. Y. Name.
458 % This work consists of the files pig.dtx and pig.ins
459 % and the derived file pig.sty.
460 \end{verbatim}
462 Given such a notice and statement in a file, the conditions given in
463 this license document would apply, with the `Work' referring to the
464 three files `\LPPLfile{pig.dtx}', `\LPPLfile{pig.ins}', and
465 `\LPPLfile{pig.sty}' (the last being generated from
466 `\LPPLfile{pig.dtx}' using `\LPPLfile{pig.ins}'), the `Base
467 Interpreter' referring to any `\LaTeX-Format', and both `Copyright
468 Holder' and `Current Maintainer' referring to the person `M. Y.
469 Name'.
471 If you do not want the Maintenance section of \LPPL\ to apply to
472 your Work, change `maintained' above into `author-maintained'.
473 However, we recommend that you use `maintained' as the Maintenance
474 section was added in order to ensure that your Work remains useful
475 to the community even when you can no longer maintain and support it
476 yourself.
478 \LPPLsubsubsection{Derived Works That Are Not Replacements}
479 \label{LPPL:NotReplacements}
481 Several clauses of the \LPPL\ specify means to provide reliability
482 and stability for the user community. They therefore concern
483 themselves with the case that a Derived Work is intended to be used
484 as a (compatible or incompatible) replacement of the original
485 Work. If this is not the case (e.g., if a few lines of code are
486 reused for a completely different task), then clauses
487 \ref{LPPL:item:changelog} and \ref{LPPL:item:unmodifiedcopy}
488 shall not apply.
490 \LPPLsubsubsection{Important Recommendations}
491 \label{LPPL:Recommendations}
493 \LPPLparagraph{Defining What Constitutes the Work}
495 The \LPPL\ requires that distributions of the Work contain all the
496 files of the Work. It is therefore important that you provide a way
497 for the licensee to determine which files constitute the Work. This
498 could, for example, be achieved by explicitly listing all the files
499 of the Work near the copyright notice of each file or by using a
500 line such as:
501 \begin{verbatim}
502 % This work consists of all files listed in manifest.txt.
503 \end{verbatim}
504 in that place. In the absence of an unequivocal list it might be
505 impossible for the licensee to determine what is considered by you
506 to comprise the Work and, in such a case, the licensee would be
507 entitled to make reasonable conjectures as to which files comprise
508 the Work.
510 \end{LPPLicense}
511 \endinput