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