Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame^] | 1 | |
| 2 | |
| 3 | The LaTeX Project Public License |
| 4 | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- |
| 5 | |
| 6 | LPPL Version 1.2 1999-09-03 |
| 7 | |
| 8 | Copyright 1999 LaTeX3 Project |
| 9 | Everyone is allowed to distribute verbatim copies of this |
| 10 | license document, but modification of it is not allowed. |
| 11 | |
| 12 | |
| 13 | PREAMBLE |
| 14 | ======== |
| 15 | |
| 16 | The LaTeX Project Public License (LPPL) is the license under which the |
| 17 | base LaTeX distribution is distributed. |
| 18 | |
| 19 | You may use this license for any program that you have written and wish |
| 20 | to distribute. This license may be particularly suitable if your |
| 21 | program is TeX-related (such as a LaTeX package), but you may use it |
| 22 | even if your program is unrelated to TeX. The section `WHETHER AND HOW |
| 23 | TO DISTRIBUTE PROGRAMS UNDER THIS LICENSE`, below, gives instructions, |
| 24 | examples, and recommendations for authors who are considering |
| 25 | distributing their programs under this license. |
| 26 | |
| 27 | In this license document, `The Program` refers to any program |
| 28 | distributed under this license. |
| 29 | |
| 30 | This license gives conditions under which The Program may be distributed |
| 31 | and conditions under which modified versions of The Program may be |
| 32 | distributed. Individual files of The Program may bear supplementary |
| 33 | and/or superseding conditions on modification of themselves and on the |
| 34 | distribution of modified versions of themselves, but *no* file of The |
| 35 | Program may bear supplementary or superseding conditions on the |
| 36 | distribution of an unmodified copy of the file. A distributor wishing |
| 37 | to distribute a complete, unmodified copy of The Program therefore |
| 38 | needs to check the conditions only in this license and nowhere else. |
| 39 | |
| 40 | Activities other than distribution and/or modification of The Program |
| 41 | are not covered by this license; they are outside its scope. In |
| 42 | particular, the act of running The Program is not restricted. |
| 43 | |
| 44 | We, the LaTeX3 Project, believe that the conditions below give you |
| 45 | the freedom to make and distribute modified versions of The Program |
| 46 | that conform with whatever technical specifications you wish while |
| 47 | maintaining the availability, integrity, and reliability of |
| 48 | The Program. If you do not see how to achieve your goal while |
| 49 | meeting these conditions, then read the document `cfgguide.tex` |
| 50 | in the base LaTeX distribution for suggestions. |
| 51 | |
| 52 | |
| 53 | CONDITIONS ON DISTRIBUTION AND MODIFICATION |
| 54 | =========================================== |
| 55 | |
| 56 | You may distribute a complete, unmodified copy of The Program. |
| 57 | Distribution of only part of The Program is not allowed. |
| 58 | |
| 59 | You may not modify in any way a file of The Program that bears a legal |
| 60 | notice forbidding modification of that file. |
| 61 | |
| 62 | You may distribute a modified file of The Program if, and only if, the |
| 63 | following eight conditions are met: |
| 64 | |
| 65 | 1. You must meet any additional conditions borne by the file on the |
| 66 | distribution of a modified version of the file as described below |
| 67 | in the subsection `Additional Conditions on Individual Files of |
| 68 | The Program`. |
| 69 | |
| 70 | 2. If the file is a LaTeX software file, then you must meet any |
| 71 | applicable additional conditions on the distribution of a modified |
| 72 | version of the file that are described below in the subsection |
| 73 | `Additional Conditions on LaTeX Software Files`. |
| 74 | |
| 75 | 3. You must not distribute the modified file with the filename of the |
| 76 | original file. |
| 77 | |
| 78 | 4. In the modified file, you must acknowledge the authorship and |
| 79 | name of the original file, and the name (if any) of the program |
| 80 | which contains it. |
| 81 | |
| 82 | 5. You must change any identification string in the file to indicate |
| 83 | clearly that the modified file is not part of The Program. |
| 84 | |
| 85 | 6. You must change any addresses in the modified file for the |
| 86 | reporting of errors in the file or in The Program generally to |
| 87 | ensure that reports for files no longer maintained by the original |
| 88 | maintainers will be directed to the maintainers of the modified |
| 89 | files. |
| 90 | |
| 91 | 7. You must distribute the modified file under a license that forbids |
| 92 | distribution both of the modified file and of any files derived |
| 93 | from the modified file with the filename of the original file. |
| 94 | |
| 95 | 8. You must do either (A) or (B): |
| 96 | |
| 97 | (A) distribute a copy of The Program (that is, a complete, |
| 98 | unmodified copy of The Program) together with the modified |
| 99 | file; if your distribution of the modified file is made by |
| 100 | offering access to copy the modified file from a designated |
| 101 | place, then offering equivalent access to copy The Program |
| 102 | from the same place meets this condition, even though third |
| 103 | parties are not compelled to copy The Program along with the |
| 104 | modified file; |
| 105 | |
| 106 | (B) provide to those who receive the modified file information |
| 107 | that is sufficient for them to obtain a copy of The Program; |
| 108 | for example, you may provide a Uniform Resource Locator (URL) |
| 109 | for a site that you expect will provide them with a copy of |
| 110 | The Program free of charge (either the version from which |
| 111 | your modification is derived, or perhaps a later version). |
| 112 | |
| 113 | Note that in the above, `distribution` of a file means making the |
| 114 | file available to others by any means. This includes, for instance, |
| 115 | installing the file on any machine in such a way that the file is |
| 116 | accessible by users other than yourself. `Modification` of a file |
| 117 | means any procedure that produces a derivative file under any |
| 118 | applicable law -- that is, a file containing the original file or |
| 119 | a significant portion of it, either verbatim or with modifications |
| 120 | and/or translated into another language. |
| 121 | |
| 122 | Changing the name of a file (other than as necessitated by the file |
| 123 | conventions of the target file systems) is considered to be a |
| 124 | modification of the file. |
| 125 | |
| 126 | The distribution conditions in this license do not have to be |
| 127 | applied to files that have been modified in accordance with the |
| 128 | above conditions. Note, however, that Condition 7. does apply to |
| 129 | any such modified file. |
| 130 | |
| 131 | The conditions above are not intended to prohibit, and hence do not |
| 132 | apply to, the updating, by any method, of a file so that it becomes |
| 133 | identical to the latest version of that file of The Program. |
| 134 | |
| 135 | |
| 136 | |
| 137 | A Recommendation on Modification Without Distribution |
| 138 | ----------------------------------------------------- |
| 139 | |
| 140 | It is wise never to modify a file of The Program, even for your own |
| 141 | personal use, without also meeting the above eight conditions for |
| 142 | distributing the modified file. While you might intend that such |
| 143 | modified files will never be distributed, often this will happen by |
| 144 | accident -- you may forget that you have modified the file; or it may |
| 145 | not occur to you when allowing others to access the modified file |
| 146 | that you are thus distributing it and violating the conditions of |
| 147 | this license. It is usually in your best interest to keep your copy |
| 148 | of The Program identical with the public one. Many programs provide |
| 149 | ways to control the behavior of that program without altering its |
| 150 | licensed files. |
| 151 | |
| 152 | |
| 153 | Additional Conditions on Individual Files of The Program |
| 154 | -------------------------------------------------------- |
| 155 | |
| 156 | An individual file of The Program may bear additional conditions that |
| 157 | supplement and/or supersede the conditions in this license if, and only |
| 158 | if, such additional conditions exclusively concern modification of the |
| 159 | file or distribution of a modified version of the file. The conditions |
| 160 | on individual files of The Program therefore may differ only with |
| 161 | respect to the kind and extent of modification of those files that |
| 162 | is allowed, and with respect to the distribution of modified versions |
| 163 | of those files. |
| 164 | |
| 165 | |
| 166 | Additional Conditions on LaTeX Software Files |
| 167 | --------------------------------------------- |
| 168 | |
| 169 | If a file of The Program is intended to be used with LaTeX (that is, |
| 170 | if it is a LaTeX software file), then the following additional |
| 171 | conditions, which supplement and/or supersede the conditions |
| 172 | above, apply to the file according to its filename extension: |
| 173 | |
| 174 | - You may not modify any file with filename extension `.ins` since |
| 175 | these are installation files containing the legal notices that are |
| 176 | placed in the files they generate. |
| 177 | |
| 178 | - You may distribute modified versions of files with filename |
| 179 | extension `.fd` (LaTeX font definition files) under the standard |
| 180 | conditions of the LPPL as described above. You may also distribute |
| 181 | such modified LaTeX font definition files with their original names |
| 182 | provided that: |
| 183 | (1) the only changes to the original files either enable use of |
| 184 | available fonts or prevent attempts to access unavailable fonts; |
| 185 | (2) you also distribute the original, unmodified files (TeX input |
| 186 | paths can be used to control which set of LaTeX font definition |
| 187 | files is actually used by TeX). |
| 188 | |
| 189 | - You may distribute modified versions of files with filename |
| 190 | extension `.cfg` (configuration files) with their original names. |
| 191 | The Program may (and usually will) specify the range of commands |
| 192 | that are allowed in a particular configuration file. |
| 193 | |
| 194 | Because of portability and exchangeability issues in LaTeX software, |
| 195 | The LaTeX3 Project deprecates the distribution of modified versions of |
| 196 | components of LaTeX or of generally available contributed code for them, |
| 197 | but such distribution can meet the conditions of this license. |
| 198 | |
| 199 | |
| 200 | NO WARRANTY |
| 201 | =========== |
| 202 | |
| 203 | There is no warranty for The Program. Except when otherwise stated in |
| 204 | writing, The Copyright Holder provides The Program `as is`, without |
| 205 | warranty of any kind, either expressed or implied, including, but not |
| 206 | limited to, the implied warranties of merchantability and fitness for |
| 207 | a particular purpose. The entire risk as to the quality and performance |
| 208 | of The Program is with you. Should The Program prove defective, you |
| 209 | assume the cost of all necessary servicing, repair, or correction. |
| 210 | |
| 211 | In no event unless agreed to in writing will The Copyright Holder, or |
| 212 | any author named in the files of The Program, or any other party who may |
| 213 | distribute and/or modify The Program as permitted above, be liable to |
| 214 | you for damages, including any general, special, incidental or |
| 215 | consequential damages arising out of any use of The Program or out of |
| 216 | inability to use The Program (including, but not limited to, loss of |
| 217 | data, data being rendered inaccurate, or losses sustained by anyone as |
| 218 | a result of any failure of The Program to operate with any other |
| 219 | programs), even if The Copyright Holder or said author or said other |
| 220 | party has been advised of the possibility of such damages. |
| 221 | |
| 222 | |
| 223 | WHETHER AND HOW TO DISTRIBUTE PROGRAMS UNDER THIS LICENSE |
| 224 | ========================================================= |
| 225 | |
| 226 | This section contains important instructions, examples, and |
| 227 | recommendations for authors who are considering distributing their |
| 228 | programs under this license. These authors are addressed as `you` in |
| 229 | this section. |
| 230 | |
| 231 | |
| 232 | Choosing This License or Another License |
| 233 | ---------------------------------------- |
| 234 | |
| 235 | If for any part of your program you want or need to use *distribution* |
| 236 | conditions that differ from those in this license, then do not refer to |
| 237 | this license anywhere in your program but instead distribute your |
| 238 | program under a different license. You may use the text of this license |
| 239 | as a model for your own license, but your license should not refer to |
| 240 | the LPPL or otherwise give the impression that your program is |
| 241 | distributed under the LPPL. |
| 242 | |
| 243 | The document `modguide.tex` in the base LaTeX distribution explains |
| 244 | the motivation behind the conditions of this license. It explains, |
| 245 | for example, why distributing LaTeX under the GNU General Public |
| 246 | License (GPL) was considered inappropriate. Even if your program is |
| 247 | unrelated to LaTeX, the discussion in `modguide.tex` may still be |
| 248 | relevant, and authors intending to distribute their programs under any |
| 249 | license are encouraged to read it. |
| 250 | |
| 251 | |
| 252 | How to Use This License |
| 253 | ----------------------- |
| 254 | |
| 255 | To use this license, place in each of the files of your program both |
| 256 | an explicit copyright notice including your name and the year and also |
| 257 | a statement that the distribution and/or modification of the file is |
| 258 | constrained by the conditions in this license. |
| 259 | |
| 260 | Here is an example of such a notice and statement: |
| 261 | |
| 262 | %% pig.dtx |
| 263 | %% Copyright 2001 M. Y. Name |
| 264 | % |
| 265 | % This program may be distributed and/or modified under the |
| 266 | % conditions of the LaTeX Project Public License, either version 1.2 |
| 267 | % of this license or (at your option) any later version. |
| 268 | % The latest version of this license is in |
| 269 | % http://www.latex-project.org/lppl.txt |
| 270 | % and version 1.2 or later is part of all distributions of LaTeX |
| 271 | % version 1999/12/01 or later. |
| 272 | % |
| 273 | % This program consists of the files pig.dtx and pig.ins |
| 274 | |
| 275 | Given such a notice and statement in a file, the conditions given in |
| 276 | this license document would apply, with `The Program` referring to the |
| 277 | two files `pig.dtx` and `pig.ins`, and `The Copyright Holder` referring |
| 278 | to the person `M. Y. Name`. |
| 279 | |
| 280 | |
| 281 | Important Recommendations |
| 282 | ------------------------- |
| 283 | |
| 284 | Defining What Constitutes The Program |
| 285 | |
| 286 | The LPPL requires that distributions of The Program contain all the |
| 287 | files of The Program. It is therefore important that you provide a |
| 288 | way for the licensee to determine which files constitute The Program. |
| 289 | This could, for example, be achieved by explicitly listing all the |
| 290 | files of The Program near the copyright notice of each file or by |
| 291 | using a line like |
| 292 | |
| 293 | % This program consists of all files listed in manifest.txt. |
| 294 | |
| 295 | in that place. In the absence of an unequivocal list it might be |
| 296 | impossible for the licensee to determine what is considered by you |
| 297 | to comprise The Program. |
| 298 | |
| 299 | Noting Exceptional Files |
| 300 | |
| 301 | If The Program contains any files bearing additional conditions on |
| 302 | modification, or on distribution of modified versions, of those |
| 303 | files (other than those listed in `Additional Conditions on LaTeX |
| 304 | Software Files`), then it is recommended that The Program contain a |
| 305 | prominent file that defines the exceptional conditions, and either |
| 306 | lists the exceptional files or defines one or more categories of |
| 307 | exceptional files. |
| 308 | |
| 309 | Files containing the text of a license (such as this file) are |
| 310 | often examples of files bearing more restrictive conditions on |
| 311 | modification. LaTeX configuration files (with filename extension |
| 312 | `.cfg`) are examples of files bearing less restrictive conditions |
| 313 | on the distribution of a modified version of the file. The |
| 314 | additional conditions on LaTeX software given above are examples |
| 315 | of declaring a category of files bearing exceptional additional |
| 316 | conditions. |
| 317 | |
| 318 | |
| 319 | |
| 320 | |