summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/doclicense/doclicense.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/doclicense/doclicense.sty')
-rw-r--r--Master/texmf-dist/tex/latex/doclicense/doclicense.sty11
1 files changed, 6 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/doclicense/doclicense.sty b/Master/texmf-dist/tex/latex/doclicense/doclicense.sty
index 87ec2aa8365..78ad4ab1163 100644
--- a/Master/texmf-dist/tex/latex/doclicense/doclicense.sty
+++ b/Master/texmf-dist/tex/latex/doclicense/doclicense.sty
@@ -1,7 +1,7 @@
%% See file 'doclicense.dtx' for copyright and license.
\NeedsTeXFormat{LaTeX2e}[1998/12/01]
\ProvidesPackage{doclicense}
- [2020/06/26 v2.0.1 Support for putting documents under a license]
+ [2020/07/26 v2.1.0 Support for putting documents under a license]
%% ^^A nag warned about the center environment and it really messes up spacing.
@@ -122,6 +122,7 @@
%% )))
%% Declare variables (((
+\@namedef{doclicense@lang@lic@CC}{Creative Commons}%
\newcommand{\doclicense@baseUrlCC}{https://creativecommons.org}
\newcommand{\doclicense@versionFallback}{}
\newcommand{\doclicense@versionUsed}{}
@@ -179,7 +180,7 @@
}
\newcommand{\doclicensePlainFullTextFileName}{%
doclicense-\doclicense@type-\doclicense@modifier%
- -\doclicense@versionUsed-plaintext
+ -\doclicense@versionUsed-plaintext%
}
\newcommand{\doclicensePlainFullText}{%
\verbatiminput{\doclicensePlainFullTextFileName}
@@ -261,7 +262,7 @@
\newcommand{\doclicense@set}{%
%% CC (((
\ifthenelse{\equal{\doclicense@type}{CC}}{%
- \renewcommand{\doclicenseLongType}{Creative Commons\xspace}
+ \renewcommand{\doclicenseLongType}{\doclicense@lang@lic@CC\xspace}
\renewcommand{\doclicenseTypeIcon}{\ccLogo\xspace}
\doclicense@setVersion[3.0]
@@ -335,8 +336,8 @@
}{}
\IfSubStr{\doclicense@modifier}{nc}{}{
%% eu (Euro) does only exist for nc (non commercial) so if not nc then reset -eu.
- \ifthenelse{\equal{\doclicense@imagemodifier}{-eu}}{%
- \renewcommand{\doclicense@imagemodifier}{}
+ \IfBeginWith{\doclicense@imagemodifier}{-eu}{%
+ \renewcommand{\doclicense@imagemodifier}{-88x31}% chktex 29
}{}
}
\ifthenelse{\equal{\doclicense@imagemodifier}{-eu}}{%