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.1 1999-07-10 |
| 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 is considered to be a modification of |
| 123 | the file. |
| 124 | |
| 125 | The distribution conditions in this license do not have to be |
| 126 | applied to files that have been modified in accordance with the |
| 127 | above conditions. Note, however, that Condition 7. does apply to |
| 128 | any such modified file. |
| 129 | |
| 130 | The conditions above are not intended to prohibit, and hence do not |
| 131 | apply to, the updating, by any method, of a file so that it becomes |
| 132 | identical to the latest version of that file of The Program. |
| 133 | |
| 134 | |
| 135 | |
| 136 | A Recommendation on Modification Without Distribution |
| 137 | ----------------------------------------------------- |
| 138 | |
| 139 | It is wise never to modify a file of The Program, even for your own |
| 140 | personal use, without also meeting the above eight conditions for |
| 141 | distributing the modified file. While you might intend that such |
| 142 | modified files will never be distributed, often this will happen by |
| 143 | accident -- you may forget that you have modified the file; or it may |
| 144 | not occur to you when allowing others to access the modified file |
| 145 | that you are thus distributing it and violating the conditions of |
| 146 | this license. It is usually in your best interest to keep your copy |
| 147 | of The Program identical with the public one. Many programs provide |
| 148 | ways to control the behavior of that program without altering its |
| 149 | licensed files. |
| 150 | |
| 151 | |
| 152 | Additional Conditions on Individual Files of The Program |
| 153 | -------------------------------------------------------- |
| 154 | |
| 155 | An individual file of The Program may bear additional conditions that |
| 156 | supplement and/or supersede the conditions in this license if, and only |
| 157 | if, such additional conditions exclusively concern modification of the |
| 158 | file or distribution of a modified version of the file. The conditions |
| 159 | on individual files of The Program therefore may differ only with |
| 160 | respect to the kind and extent of modification of those files that |
| 161 | is allowed, and with respect to the distribution of modified versions |
| 162 | of those files. |
| 163 | |
| 164 | |
| 165 | Additional Conditions on LaTeX Software Files |
| 166 | --------------------------------------------- |
| 167 | |
| 168 | If a file of The Program is intended to be used with LaTeX (that is, |
| 169 | if it is a LaTeX software file), then the following additional |
| 170 | conditions, which supplement and/or supersede the conditions |
| 171 | above, apply to the file according to its filename extension: |
| 172 | |
| 173 | - You may not modify any file with filename extension `.ins` since |
| 174 | these are installation files containing the legal notices that are |
| 175 | placed in the files they generate. |
| 176 | |
| 177 | - You may distribute modified versions of files with filename |
| 178 | extension `.fd` (LaTeX font definition files) under the standard |
| 179 | conditions of the LPPL as described above. You may also distribute |
| 180 | such modified LaTeX font definition files with their original names |
| 181 | provided that: |
| 182 | (1) the only changes to the original files either enable use of |
| 183 | available fonts or prevent attempts to access unavailable fonts; |
| 184 | (2) you also distribute the original, unmodified files (TeX input |
| 185 | paths can be used to control which set of LaTeX font definition |
| 186 | files is actually used by TeX). |
| 187 | |
| 188 | - You may distribute modified versions of files with filename |
| 189 | extension `.cfg` (configuration files) with their original names. |
| 190 | The Program may (and usually will) specify the range of commands |
| 191 | that are allowed in a particular configuration file. |
| 192 | |
| 193 | Because of portability and exchangeability issues in LaTeX software, |
| 194 | The LaTeX3 Project deprecates the distribution of modified versions of |
| 195 | components of LaTeX or of generally available contributed code for them, |
| 196 | but such distribution can meet the conditions of this license. |
| 197 | |
| 198 | |
| 199 | NO WARRANTY |
| 200 | =========== |
| 201 | |
| 202 | There is no warranty for The Program. Except when otherwise stated in |
| 203 | writing, The Copyright Holder provides The Program `as is`, without |
| 204 | warranty of any kind, either expressed or implied, including, but not |
| 205 | limited to, the implied warranties of merchantability and fitness for |
| 206 | a particular purpose. The entire risk as to the quality and performance |
| 207 | of The Program is with you. Should The Program prove defective, you |
| 208 | assume the cost of all necessary servicing, repair, or correction. |
| 209 | |
| 210 | In no event unless agreed to in writing will The Copyright Holder, or |
| 211 | any author named in the files of The Program, or any other party who may |
| 212 | distribute and/or modify The Program as permitted below, be liable to |
| 213 | you for damages, including any general, special, incidental or |
| 214 | consequential damages arising out of any use of The Program or out of |
| 215 | inability to use The Program (including, but not limited to, loss of |
| 216 | data, data being rendered inaccurate, or losses sustained by anyone as |
| 217 | a result of any failure of The Program to operate with any other |
| 218 | programs), even if The Copyright Holder or said author or said other |
| 219 | party has been advised of the possibility of such damages. |
| 220 | |
| 221 | |
| 222 | WHETHER AND HOW TO DISTRIBUTE PROGRAMS UNDER THIS LICENSE |
| 223 | ========================================================= |
| 224 | |
| 225 | This section contains important instructions, examples, and |
| 226 | recommendations for authors who are considering distributing their |
| 227 | programs under this license. These authors are addressed as `you` in |
| 228 | this section. |
| 229 | |
| 230 | |
| 231 | Choosing This License or Another License |
| 232 | ---------------------------------------- |
| 233 | |
| 234 | If for any part of your program you want or need to use *distribution* |
| 235 | conditions that differ from those in this license, then do not refer to |
| 236 | this license anywhere in your program but instead distribute your |
| 237 | program under a different license. You may use the text of this license |
| 238 | as a model for your own license, but your license should not refer to |
| 239 | the LPPL or otherwise give the impression that your program is |
| 240 | distributed under the LPPL. |
| 241 | |
| 242 | The document `modguide.tex` in the base LaTeX distribution explains |
| 243 | the motivation behind the conditions of this license. It explains, |
| 244 | for example, why distributing LaTeX under the GNU General Public |
| 245 | License (GPL) was considered inappropriate. Even if your program is |
| 246 | unrelated to LaTeX, the discussion in `modguide.tex` may still be |
| 247 | relevant, and authors intending to distribute their programs under any |
| 248 | license are encouraged to read it. |
| 249 | |
| 250 | |
| 251 | How to Use This License |
| 252 | ----------------------- |
| 253 | |
| 254 | To use this license, place in each of the files of your program both |
| 255 | an explicit copyright notice including your name and the year and also |
| 256 | a statement that the distribution and/or modification of the file is |
| 257 | constrained by the conditions in this license. |
| 258 | |
| 259 | Here is an example of such a notice and statement: |
| 260 | |
| 261 | %% pig.dtx |
| 262 | %% Copyright 2001 M. Y. Name |
| 263 | % |
| 264 | % This program may be distributed and/or modified under the |
| 265 | % conditions of the LaTeX Project Public License, either version 1.1 |
| 266 | % of this license or (at your option) any later version. |
| 267 | % The latest version of this license is in |
| 268 | % http://www.latex-project.org/lppl.txt |
| 269 | % and version 1.1 or later is part of all distributions of LaTeX |
| 270 | % version 1999/06/01 or later. |
| 271 | % |
| 272 | % This program consists of the files pig.dtx and pig.ins |
| 273 | |
| 274 | Given such a notice and statement in a file, the conditions given in |
| 275 | this license document would apply, with `The Program` referring to the |
| 276 | two files `pig.dtx` and `pig.ins`, and `The Copyright Holder` referring |
| 277 | to the person `M. Y. Name`. |
| 278 | |
| 279 | |
| 280 | Important Recommendations |
| 281 | ------------------------- |
| 282 | |
| 283 | Defining What Constitutes The Program |
| 284 | |
| 285 | The LPPL requires that distributions of The Program contain all the |
| 286 | files of The Program. It is therefore important that you provide a |
| 287 | way for the licensee to determine which files constitute The Program. |
| 288 | This could, for example, be achieved by explicitly listing all the |
| 289 | files of The Program near the copyright notice of each file or by |
| 290 | using a line like |
| 291 | |
| 292 | % This program consists of all files listed in manifest.txt. |
| 293 | |
| 294 | in that place. In the absence of an unequivocal list it might be |
| 295 | impossible for the licensee to determine what is considered by you |
| 296 | to comprise The Program. |
| 297 | |
| 298 | Noting Exceptional Files |
| 299 | |
| 300 | If The Program contains any files bearing additional conditions on |
| 301 | modification, or on distribution of modified versions, of those |
| 302 | files (other than those listed in `Additional Conditions on LaTeX |
| 303 | Software Files`), then it is recommended that The Program contain a |
| 304 | prominent file that defines the exceptional conditions, and either |
| 305 | lists the exceptional files or defines one or more categories of |
| 306 | exceptional files. |
| 307 | |
| 308 | Files containing the text of a license (such as this file) are |
| 309 | often examples of files bearing more restrictive conditions on |
| 310 | modification. LaTeX configuration files (with filename extension |
| 311 | `.cfg`) are examples of files bearing less restrictive conditions |
| 312 | on the distribution of a modified version of the file. The |
| 313 | additional conditions on LaTeX software given above are examples |
| 314 | of declaring a category of files bearing exceptional additional |
| 315 | conditions. |
| 316 | |