blob: e6bbc5a4b325a53d8be7306c0dd1fbc60dacfa38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
LaTeX package 'doclicense'
~~~~~~~~~~~~~~~~~~~~~~~~~~
Copyright (C) 2015 by Robin Schneider <ypid@riseup.net>
This work may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3
of this license or (at your option) any later version.
The latest version of this license is in
http://www.latex-project.org/lppl.txt
and version 1.3 or later is part of all distributions of LaTeX
version 2005/12/01 or later.
CTAN: https://www.ctan.org/pkg/doclicense
Code repository: https://github.com/ypid/latex-packages/tree/master/doclicense
Question on Stackexchange: https://tex.stackexchange.com/a/226788/32320
DESCRIPTION
Support for putting documents under a license.
The doclicense package allows you to put your document under a license and include a link
to read about the license or include an icon or image of the license.
Currently, only Creative Commons is supported but this package is designed to
handle all kinds of licenses.
GENERATING THE FILES
You can generate the doclicense.sty file with: tex doclicense.ins
The documentation can be generated with:
pdflatex doclicense.dtx
makeindex -s gglo.ist -o doclicense.gls doclicense.glo
makeindex -s gind doclicense
pdflatex doclicense.dtx
thumbpdf doclicense
pdflatex doclicense.dtx
Note that this will only work when this directory is below your
$TEXMFHOME tree (unless the doclicense package is already installed
for example by your TeX distribution). Example for doing this manually:
mkdir --parents ~/texmf/tex/latex/ && cd ~/texmf/tex/latex/
git clone https://github.com/ypid/latex-packages.git ypid-latex-packages
cd ypid-latex-packages/doclicense && make build
## Or
make all
If you have not worked with $TEXMFHOME you might want to refer to the
documentation of your TeX distribution for details. See also the next section.
IMPORTANT NOTES REGARDING TDS
Please note that the images/ and the license-texts/ subdirectories must end up in the runtime tex/
subtree (that is tex/latex/doclicense/) for the \doclicenseImage macro and the \doclicense*FullText macros to work
correctly.
|