| 1 |
<!-- |
| 2 |
SPDX-FileCopyrightText: 2015,2017-2023 Robin Schneider <[email protected]> |
| 3 |
|
| 4 |
SPDX-License-Identifier: LPPL-1.3c |
| 5 |
|
| 6 |
This work consists of all files listed in manifest.txt. |
| 7 |
For more details about the licensing, refer "License" section of this file. |
| 8 |
--> |
| 9 |
|
| 10 |
# LaTeX package 'doclicense' |
| 11 |
|
| 12 |
[](https://ctan.org/pkg/doclicense) |
| 13 |
|
| 14 |
CTAN: https://www.ctan.org/pkg/doclicense |
| 15 |
|
| 16 |
Code repository: https://github.com/ypid/latex-packages/tree/master/doclicense |
| 17 |
|
| 18 |
Question on Stackexchange: https://tex.stackexchange.com/a/226788/32320 |
| 19 |
|
| 20 |
## Description |
| 21 |
|
| 22 |
Support for putting documents under a license. |
| 23 |
|
| 24 |
The doclicense package allows you to put your document under a license and include a link |
| 25 |
to read about the license or include an icon or image of the license. |
| 26 |
Currently, only Creative Commons is supported but this package is designed to |
| 27 |
handle all kinds of licenses. |
| 28 |
|
| 29 |
## Generating the files |
| 30 |
|
| 31 |
You can generate the `doclicense.sty` file with: |
| 32 |
|
| 33 |
```Shell |
| 34 |
tex doclicense.ins |
| 35 |
``` |
| 36 |
|
| 37 |
The documentation can be generated with: |
| 38 |
|
| 39 |
```Shell |
| 40 |
make doclicense.pdf |
| 41 |
``` |
| 42 |
|
| 43 |
Note that this will only work when this directory is below your |
| 44 |
`$TEXMFHOME` tree (unless the doclicense package is already installed |
| 45 |
for example by your TeX distribution). Example for doing this: |
| 46 |
|
| 47 |
```Shell |
| 48 |
git clone https://github.com/ypid/latex-packages.git ypid-latex-packages |
| 49 |
cd ypid-latex-packages/doclicense && make install-symlink build |
| 50 |
``` |
| 51 |
|
| 52 |
If you have not worked with `$TEXMFHOME` you might want to refer to the |
| 53 |
documentation of your TeX distribution for details. See also the next section. |
| 54 |
|
| 55 |
## Important notes regarding TDS |
| 56 |
|
| 57 |
Please note that the `images/` and the `license-texts/` subdirectories must end up |
| 58 |
in the runtime `tex/` subtree (that is `tex/latex/doclicense/`) for the |
| 59 |
`\doclicenseImage` macro and the `\doclicense*FullText` macros to work correctly. |
| 60 |
|
| 61 |
## License |
| 62 |
|
| 63 |
SPDX-License-Identifier: LPPL-1.3c |
| 64 |
|
| 65 |
Except the files `images/*.pdf`, `images/*.eps`, `license-texts/*.tex` and `license-texts/*.html` which are under CC0-1.0. |
| 66 |
|
| 67 |
This work may be distributed and/or modified under the |
| 68 |
conditions of the LaTeX Project Public License, either version 1.3 |
| 69 |
of this license or (at your option) any later version. |
| 70 |
The latest version of this license is in |
| 71 |
https://www.latex-project.org/lppl.txt |
| 72 |
and version 1.3 or later is part of all distributions of LaTeX |
| 73 |
version 2005/12/01 or later. |
| 74 |
|
| 75 |
This work has the LPPL maintenance status `maintained'. |
| 76 |
|
| 77 |
The Current Maintainer of this work is Robin Schneider. |
| 78 |
|
| 79 |
This work consists of all files listed in manifest.txt. |