diff options
author | Karl Berry <karl@freefriends.org> | 2020-07-27 21:37:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-07-27 21:37:04 +0000 |
commit | f91a40948e5e0ab4adfcb20a7e220e19bd4d374d (patch) | |
tree | 71e0c399be3c1678f93743403855ecc97a6e522b /Master/texmf-dist/tex/latex/doclicense/doclicense.sty | |
parent | f479af9171a4e5549fd25c4065b12fa9f06fa2af (diff) |
doclicense (27jul20)
git-svn-id: svn://tug.org/texlive/trunk@55964 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/doclicense/doclicense.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/doclicense/doclicense.sty | 11 |
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}}{% |