summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/doclicense/doclicense.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-10-02 03:05:35 +0000
committerNorbert Preining <norbert@preining.info>2023-10-02 03:05:35 +0000
commit5f9c1e9c3c9b2ac59c6f868744ee6fafee27ab39 (patch)
tree0eeb99db5c67d9d98c690cdc0322bb1f9d2f3be6 /macros/latex/contrib/doclicense/doclicense.dtx
parent8a05034cb5d7ae61b2de6857258caa3e43b496aa (diff)
CTAN sync 202310020305
Diffstat (limited to 'macros/latex/contrib/doclicense/doclicense.dtx')
-rw-r--r--macros/latex/contrib/doclicense/doclicense.dtx67
1 files changed, 42 insertions, 25 deletions
diff --git a/macros/latex/contrib/doclicense/doclicense.dtx b/macros/latex/contrib/doclicense/doclicense.dtx
index e0dddf762a..dc876edbdd 100644
--- a/macros/latex/contrib/doclicense/doclicense.dtx
+++ b/macros/latex/contrib/doclicense/doclicense.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% SPDX-FileCopyrightText: 2015-2022 Robin Schneider <ypid@riseup.net>
+% SPDX-FileCopyrightText: 2015-2023 Robin Schneider <ypid@riseup.net>
%
% SPDX-License-Identifier: LPPL-1.3c
%
@@ -24,7 +24,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}[1998/12/01]
%<package>\ProvidesPackage{doclicense}
%<*package>
- [2022/05/18 v3.2.0 Support for putting documents under a license]
+ [2023/10/01 v3.3.0 Support for putting documents under a license]
%</package>
%
%<*driver>
@@ -44,13 +44,15 @@
obeyspaces,
spaces,
]{url}
+\usepackage[table,svgnames]{xcolor}
\usepackage{%
babel,
csquotes,
- xcolor,
hypdoc,
nameref,
eqlist,
+ tabu,
+ tabularray,
}
\usepackage[iso]{isodate}
% ^^A https://tex.stackexchange.com/a/95893/32320
@@ -139,6 +141,7 @@ corresponds to \PackageName\nobreakspace\fileversion, dated \printdateTeX{\filed
% \changes{3.0.0}{2021/07/11}{Breaking change: Hard require package options "type", "modifier" and "version" now after one year in soft require migration period. Add Croatian translation. Add sections to docs about choosing a license and the REUSE specification. Update Spanish translation to match Creative Commons website. Add note to README that CC license texts and images are licensed themselves under CC0-1.0. Load csquotes after hyperref to avoid hyperref warning. Do not load the hyperxmp package if the silence package is loaded to avoid an endless loop. Improve warning messages generated by the package. Add "Dependency packages and load order" section to docs.}
% \changes{3.1.0}{2022/04/27}{Add macro \cmd{\doclicenseLongTextForHyperref} and use it inside \cmd{\hypersetup} to replace the fagile code that was previously used. Add Traditional Chinese (Taiwan), Swedish and Esperanto translations.}
% \changes{3.2.0}{2022/05/18}{Add Ukrainian translation.}
+% \changes{3.3.0}{2023/10/01}{Add Austrian, Greek and Swiss German translations. Document available CC modifiers because it was not clear that to select CC0 the "zero" modifier must be used. Fix typo in Brazilian translation.}
%
%
%
@@ -271,6 +274,7 @@ corresponds to \PackageName\nobreakspace\fileversion, dated \printdateTeX{\filed
% Supported languages:
% ^^A Sorted alphabetically.
% \begin{itemize}
+% \item Austrian
% \item Brazilian
% \item Bulgarian
% \item Catalan
@@ -281,6 +285,7 @@ corresponds to \PackageName\nobreakspace\fileversion, dated \printdateTeX{\filed
% \item French
% \item Galician
% \item German
+% \item Greek
% \item Italian
% \item Japanese
% \item Marathi: Note that Niranjan also translated the images which are considered unofficial by the package. Creative Commons has no plans to support additional currencies.
@@ -289,6 +294,7 @@ corresponds to \PackageName\nobreakspace\fileversion, dated \printdateTeX{\filed
% \item Russian
% \item Spanish
% \item Swedish
+% \item Swiss German
% \item Ukrainian
% \end{itemize}
%
@@ -521,22 +527,32 @@ corresponds to \PackageName\nobreakspace\fileversion, dated \printdateTeX{\filed
% \subsection{CC (Creative Commons)}
%
% \makeatletter
-% ^^A Reverse sorted.
-% \begin{eqlist}
-% \item[CC0-1.0] \@nameuse{doclicense@lang@lic@CC@zero@1.0}
-% \item[CC-BY-4.0] \@nameuse{doclicense@lang@lic@CC@by@4.0}
-% \item[CC-BY-3.0] \@nameuse{doclicense@lang@lic@CC@by@3.0}
-% \item[CC-BY-SA-4.0] \@nameuse{doclicense@lang@lic@CC@by-sa@4.0}
-% \item[CC-BY-SA-3.0] \@nameuse{doclicense@lang@lic@CC@by-sa@3.0}
-% \item[CC-BY-ND-4.0] \@nameuse{doclicense@lang@lic@CC@by-nd@4.0}
-% \item[CC-BY-ND-3.0] \@nameuse{doclicense@lang@lic@CC@by-nd@3.0}
-% \item[CC-BY-NC-4.0] \@nameuse{doclicense@lang@lic@CC@by-nc@4.0}
-% \item[CC-BY-NC-3.0] \@nameuse{doclicense@lang@lic@CC@by-nc@3.0}
-% \item[CC-BY-NC-SA-4.0] \@nameuse{doclicense@lang@lic@CC@by-nc-sa@4.0}
-% \item[CC-BY-NC-SA-3.0] \@nameuse{doclicense@lang@lic@CC@by-nc-sa@3.0}
-% \item[CC-BY-NC-ND-4.0] \@nameuse{doclicense@lang@lic@CC@by-nc-nd@4.0}
-% \item[CC-BY-NC-ND-3.0] \@nameuse{doclicense@lang@lic@CC@by-nc-nd@3.0}
-% \end{eqlist}
+% \begin{longtblr}[
+% caption = {Supported Creative Commons licenses},
+% label = {tblr:cc},
+% ]{
+% colspec = {lrX},
+% rowhead = 1,
+% row{odd} = {bg=azure8},
+% row{1} = {bg=azure3, fg=white, font=\sffamily},
+% }
+% modifier & version & name\\
+%
+% ^^A Sorted alphabetically.
+% by & 3.0 & \@nameuse{doclicense@lang@lic@CC@by@3.0}\\
+% by & 4.0 & \@nameuse{doclicense@lang@lic@CC@by@4.0}\\
+% by-nc & 3.0 & \@nameuse{doclicense@lang@lic@CC@by-nc@3.0}\\
+% by-nc & 4.0 & \@nameuse{doclicense@lang@lic@CC@by-nc@4.0}\\
+% by-nc-nd & 3.0 & \@nameuse{doclicense@lang@lic@CC@by-nc-nd@3.0}\\
+% by-nc-nd & 4.0 & \@nameuse{doclicense@lang@lic@CC@by-nc-nd@4.0}\\
+% by-nc-sa & 3.0 & \@nameuse{doclicense@lang@lic@CC@by-nc-sa@3.0}\\
+% by-nc-sa & 4.0 & \@nameuse{doclicense@lang@lic@CC@by-nc-sa@4.0}\\
+% by-nd & 3.0 & \@nameuse{doclicense@lang@lic@CC@by-nd@3.0}\\
+% by-nd & 4.0 & \@nameuse{doclicense@lang@lic@CC@by-nd@4.0}\\
+% by-sa & 3.0 & \@nameuse{doclicense@lang@lic@CC@by-sa@3.0}\\
+% by-sa & 4.0 & \@nameuse{doclicense@lang@lic@CC@by-sa@4.0}\\
+% zero & 1.0 & \@nameuse{doclicense@lang@lic@CC@zero@1.0}\\
+% \end{longtblr}
% \makeatother
%
% \section{Retired licenses}
@@ -555,7 +571,7 @@ corresponds to \PackageName\nobreakspace\fileversion, dated \printdateTeX{\filed
% List of retired licenses:
%
% \makeatletter
-% ^^A Reverse sorted.
+% ^^A Sorted alphabetically.
% \begin{eqlist}
% \item[CC-PDDC] Copyright-Only Dedication
% \end{eqlist}
@@ -581,7 +597,7 @@ corresponds to \PackageName\nobreakspace\fileversion, dated \printdateTeX{\filed
% metadata along with the files. For this, the \href{REUSE
% Specification}{https://reuse.software/} can be used.
%
-% The REUSE Specification is independed of \LaTeXe{} and more \enquote{low
+% The REUSE Specification is independent of \LaTeXe{} and more \enquote{low
% level} than this package.
% \PackageName{} might integrate with the REUSE Specification at a later point.
% Refer to \url{https://github.com/ypid/latex-packages/issues/72} for
@@ -601,10 +617,11 @@ corresponds to \PackageName\nobreakspace\fileversion, dated \printdateTeX{\filed
% codes which should map to the same translation then have a look at the file
% \path{doclicense-american.ldf}.
%
-% When you are done and have tested your translation (modify and run the
-% \path{run_tests} script) then please send me the translated file(s) either
-% via Email or preferably by opening a pull request on GitHub so that I can
-% include them in the next release.
+% When you are done and have tested your translation by modifying
+% \path{test-package-option-matrix} and then running
+% \enquote{./test-package-option-matrix mynewlanguage}), then please send me
+% the translated file(s) either via Email or preferably by opening a pull
+% request on GitHub so that I can include them in the next release.
%
% Note that the following development conventions are used for the package:
%