summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-09-19 20:57:44 +0000
committerKarl Berry <karl@freefriends.org>2020-09-19 20:57:44 +0000
commit43707599ac82868750fc6aeb667724d3204259cc (patch)
tree71c01ed02070c81c3e4a131929ee869944d28333 /Master/texmf-dist/tex
parent8c0152fb7c1d8d1e211a45b3f9b320f5067cabd8 (diff)
doclicense (18sep20)
git-svn-id: svn://tug.org/texlive/trunk@56379 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/doclicense/doclicense-bulgarian.ldf24
-rw-r--r--Master/texmf-dist/tex/latex/doclicense/doclicense-japanese.ldf22
-rw-r--r--Master/texmf-dist/tex/latex/doclicense/doclicense.sty12
3 files changed, 55 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/doclicense/doclicense-bulgarian.ldf b/Master/texmf-dist/tex/latex/doclicense/doclicense-bulgarian.ldf
new file mode 100644
index 00000000000..96f5be7abc7
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/doclicense/doclicense-bulgarian.ldf
@@ -0,0 +1,24 @@
+\ProvidesFile{doclicense-bulgarian.ldf}
+
+\@namedef{doclicense@lang@thisDoc}{Това произведение е лицензирано под}%
+\@namedef{doclicense@lang@lic@CC}{Криейтив Комънс}%
+\@namedef{doclicense@lang@word@license}{ лиценз}%
+
+\@namedef{doclicense@lang@lic@CC@code}{bg}%
+%% Using: https://en.wikipedia.org/wiki/ISO_639-1
+
+\@namedef{doclicense@lang@lic@CC@zero@1.0}{CC0 1.0 Универсален}%
+
+\@namedef{doclicense@lang@lic@CC@by@3.0}{Признание 3.0 Нелокализиран}%
+\@namedef{doclicense@lang@lic@CC@by-sa@3.0}{Признание-Споделяне на споделеното 3.0 Нелокализиран}%
+\@namedef{doclicense@lang@lic@CC@by-nd@3.0}{Признание-Без производни 3.0 Нелокализиран}%
+\@namedef{doclicense@lang@lic@CC@by-nc@3.0}{Признание-Некомерсиално 3.0 Нелокализиран}%
+\@namedef{doclicense@lang@lic@CC@by-nc-sa@3.0}{Признание-Некомерсиално-Споделяне на споделеното 3.0 Нелокализиран}%
+\@namedef{doclicense@lang@lic@CC@by-nc-nd@3.0}{Признание-Некомерсиално-Без производни 3.0 Нелокализиран}%
+
+\@namedef{doclicense@lang@lic@CC@by@4.0}{Признание 4.0 Международен}%
+\@namedef{doclicense@lang@lic@CC@by-sa@4.0}{Признание-Споделяне на споделеното 4.0 Международен}%
+\@namedef{doclicense@lang@lic@CC@by-nd@4.0}{Признание-Без производни 4.0 Международен}%
+\@namedef{doclicense@lang@lic@CC@by-nc@4.0}{Признание-Некомерсиално 4.0 Международен}%
+\@namedef{doclicense@lang@lic@CC@by-nc-sa@4.0}{Признание-Некомерсиално-Споделяне на споделеното 4.0 Международен}%
+\@namedef{doclicense@lang@lic@CC@by-nc-nd@4.0}{Признание-Некомерсиално-Без производни 4.0 Международен}%
diff --git a/Master/texmf-dist/tex/latex/doclicense/doclicense-japanese.ldf b/Master/texmf-dist/tex/latex/doclicense/doclicense-japanese.ldf
new file mode 100644
index 00000000000..8b9f778db99
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/doclicense/doclicense-japanese.ldf
@@ -0,0 +1,22 @@
+\ProvidesFile{doclicense-japanese.ldf}
+
+\@namedef{doclicense@lang@thisDoc}{本作品が採用しているのは}%
+\@namedef{doclicense@lang@word@license}{利用許諾です}%
+
+\@namedef{doclicense@lang@lic@CC@code}{ja}%
+
+\@namedef{doclicense@lang@lic@CC@zero@1.0}{CC0 1.0全世界}%
+
+\@namedef{doclicense@lang@lic@CC@by@3.0}{表示3.0非移植}%
+\@namedef{doclicense@lang@lic@CC@by-sa@3.0}{表示-継承3.0非移植}%
+\@namedef{doclicense@lang@lic@CC@by-nd@3.0}{表示-改変禁止3.0非移植}%
+\@namedef{doclicense@lang@lic@CC@by-nc@3.0}{表示-非営利3.0非移植}%
+\@namedef{doclicense@lang@lic@CC@by-nc-sa@3.0}{表示-非営利-継承3.0非移植}%
+\@namedef{doclicense@lang@lic@CC@by-nc-nd@3.0}{表示-非営利-改変禁止3.0非移植}%
+
+\@namedef{doclicense@lang@lic@CC@by@4.0}{表示4.0国際}%
+\@namedef{doclicense@lang@lic@CC@by-sa@4.0}{表示-継承4.0国際}%
+\@namedef{doclicense@lang@lic@CC@by-nd@4.0}{表示-改変禁止4.0国際}%
+\@namedef{doclicense@lang@lic@CC@by-nc@4.0}{表示-非営利4.0国際}%
+\@namedef{doclicense@lang@lic@CC@by-nc-sa@4.0}{表示-非営利-継承4.0国際}%
+\@namedef{doclicense@lang@lic@CC@by-nc-nd@4.0}{表示-非営利-改変禁止4.0国際}%
diff --git a/Master/texmf-dist/tex/latex/doclicense/doclicense.sty b/Master/texmf-dist/tex/latex/doclicense/doclicense.sty
index 78ad4ab1163..97315fc7100 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/07/26 v2.1.0 Support for putting documents under a license]
+ [2020/09/18 v2.2.1.dev Support for putting documents under a license]
%% ^^A nag warned about the center environment and it really messes up spacing.
@@ -74,13 +74,19 @@
\@ifpackageloaded{graphicx}{}{\RequirePackage{graphicx}}
%% For \doclicenseImage
\@ifpackageloaded{hyperref}{}{\RequirePackage{hyperref}}
- \@ifpackageloaded{hyperxmp}{%
+ \IfFileExists{hyperxmp.sty}{
+ \@ifpackageloaded{hyperxmp}{}{\RequirePackage{hyperxmp}}
%% The following options are only defined when the hyperxmp package was loaded.
\hypersetup{
pdfcopyright = {\doclicenseLongText},
pdflicenseurl = {\doclicenseURL},
}
- }{}
+ }{
+ \PackageWarning{doclicense}{%
+ The hyperxmp package is missing so no license metadata can be embedded
+ into the PDF. Consider installing hyperxmp.% chktex 13
+ }
+ }
}
%% )))