texlive[65023] Master/texmf-dist: projlib (15nov22)
commits+karl at tug.org
commits+karl at tug.org
Tue Nov 15 21:52:32 CET 2022
Revision: 65023
http://tug.org/svn/texlive?view=revision&revision=65023
Author: karl
Date: 2022-11-15 21:52:32 +0100 (Tue, 15 Nov 2022)
Log Message:
-----------
projlib (15nov22)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/projlib/README.md
trunk/Master/texmf-dist/source/latex/projlib/ProjLib.dtx
trunk/Master/texmf-dist/tex/latex/projlib/ProjLib.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-author.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-datetime.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-draft.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-font.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-language.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-logo.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-math.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-paper.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-text.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-theorem.sty
trunk/Master/texmf-dist/tex/latex/projlib/projlib-titlepage.sty
Modified: trunk/Master/texmf-dist/doc/latex/projlib/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/projlib/README.md 2022-11-15 20:52:12 UTC (rev 65022)
+++ trunk/Master/texmf-dist/doc/latex/projlib/README.md 2022-11-15 20:52:32 UTC (rev 65023)
@@ -6,7 +6,7 @@
> **ProjLib** can be interpreted as "***Proj**ect **Lib**rary*" (in English), or as "***Proj**et **Lib**re*" (in French, meaning "*Free Project*").
-> **This bundle is dated 2022/08/05. Please note that the documentations are not yet up-to-date.**
+> **This bundle is dated 2022/11/15. Please note that the documentations are not yet up-to-date.**
## Introduction
Modified: trunk/Master/texmf-dist/source/latex/projlib/ProjLib.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/projlib/ProjLib.dtx 2022-11-15 20:52:12 UTC (rev 65022)
+++ trunk/Master/texmf-dist/source/latex/projlib/ProjLib.dtx 2022-11-15 20:52:32 UTC (rev 65023)
@@ -19,7 +19,7 @@
%<*ProjLib>
\ProvidesExplPackage
{ProjLib}
- {2022/08/05} {}
+ {2022/11/15} {}
{Collective interface of the ProjLib toolkit}
%</ProjLib>
%
@@ -26,7 +26,7 @@
%<*projlib-author>
\ProvidesExplPackage
{projlib-author}
- {2022/08/05} {}
+ {2022/11/15} {}
{Enhanced author information block}
%</projlib-author>
%
@@ -33,7 +33,7 @@
%<*projlib-datetime>
\ProvidesExplPackage
{projlib-datetime}
- {2022/08/05} {}
+ {2022/11/15} {}
{Convert numeric date-time string to natural language}
%</projlib-datetime>
%
@@ -40,7 +40,7 @@
%<*projlib-draft>
\ProvidesExplPackage
{projlib-draft}
- {2022/08/05} {}
+ {2022/11/15} {}
{Useful commands during draft stage}
%</projlib-draft>
%
@@ -47,7 +47,7 @@
%<*projlib-font>
\ProvidesExplPackage
{projlib-font}
- {2022/08/05} {}
+ {2022/11/15} {}
{Font selection and configuration}
%</projlib-font>
%
@@ -54,7 +54,7 @@
%<*projlib-language>
\ProvidesExplPackage
{projlib-language}
- {2022/08/05} {}
+ {2022/11/15} {}
{Multi-language configuration}
%</projlib-language>
%
@@ -61,7 +61,7 @@
%<*projlib-logo>
\ProvidesExplPackage
{projlib-logo}
- {2022/08/05} {}
+ {2022/11/15} {}
{The ProjLib logo}
%</projlib-logo>
%
@@ -68,7 +68,7 @@
%<*projlib-math>
\ProvidesExplPackage
{projlib-math}
- {2022/08/05} {}
+ {2022/11/15} {}
{Efficient math setup}
%</projlib-math>
%
@@ -75,7 +75,7 @@
%<*projlib-paper>
\ProvidesExplPackage
{projlib-paper}
- {2022/08/05} {}
+ {2022/11/15} {}
{Configuration of the paper style}
%</projlib-paper>
%
@@ -82,7 +82,7 @@
%<*projlib-text>
\ProvidesExplPackage
{projlib-text}
- {2022/08/05} {}
+ {2022/11/15} {}
{Text-related commands}
%</projlib-text>
%
@@ -89,7 +89,7 @@
%<*projlib-theorem>
\ProvidesExplPackage
{projlib-theorem}
- {2022/08/05} {}
+ {2022/11/15} {}
{Configuration of theorem-like environments}
%</projlib-theorem>
%
@@ -96,7 +96,7 @@
%<*projlib-titlepage>
\ProvidesExplPackage
{projlib-titlepage}
- {2022/08/05} {}
+ {2022/11/15} {}
{Commands for rendering the title page}
%</projlib-titlepage>
@@ -2262,9 +2262,9 @@
\raisebox{\baselineskip}{
\cs_if_exist:cT { hypertarget }
{
- \hypertarget { DNF. \arabic { projlib_draft_DNF_counter } } {}
+ \hypertarget { DNF. \jobname. \arabic { projlib_draft_DNF_counter } } {}
}
- \label { DNF. \arabic { projlib_draft_DNF_counter } }
+ \label { DNF. \jobname. \arabic { projlib_draft_DNF_counter } }
}
\nobreak
\projlib_draft_plain_box:nn { projlib_draft_DNF_color }
@@ -2297,10 +2297,10 @@
{
\cs_if_exist:cTF { hyperlink }
{
- \exp_not:N \hyperlink { DNF. \int_value:w \theprojlib_draft_DNF_counter } { \exp_not:N \pageref* { DNF. \int_value:w \theprojlib_draft_DNF_counter } }
+ \exp_not:N \hyperlink { DNF. \jobname. \int_value:w \theprojlib_draft_DNF_counter } { \exp_not:N \pageref* { DNF. \jobname. \int_value:w \theprojlib_draft_DNF_counter } }
}
{
- \exp_not:N \pageref* { DNF. \int_value:w \theprojlib_draft_DNF_counter }
+ \exp_not:N \pageref* { DNF. \jobname. \int_value:w \theprojlib_draft_DNF_counter }
}
}
\tl_gput_right:Nn \g__projlib_draft_DNF_report_tl
@@ -2317,19 +2317,22 @@
\bool_if:NF \l__projlib_draft_no_report_page_bool
{
- \hook_gput_code:nnn { enddocument } { projlib-draft }
+ \hook_gput_code:nnn { begindocument/before } { projlib-draft }
{
- \tl_if_blank:VF \g__projlib_draft_DNF_report_tl
+ \hook_gput_code:nnn { enddocument } { projlib-draft }
{
- \clearpage
- \addtocounter{page}{-1}
- \pagestyle { empty }
- \color { projlib_draft_DNF_color }
- \noindent
- \projlib_draft_DNF_font
- \projlib_draft_DNF_report_text
- \par \bigskip
- \g__projlib_draft_DNF_report_tl
+ \tl_if_blank:VF \g__projlib_draft_DNF_report_tl
+ {
+ \clearpage
+ \addtocounter{page}{-1}
+ \pagestyle { empty }
+ \color { projlib_draft_DNF_color }
+ \noindent
+ \projlib_draft_DNF_font
+ \projlib_draft_DNF_report_text
+ \par \bigskip
+ \g__projlib_draft_DNF_report_tl
+ }
}
}
}
@@ -3702,13 +3705,13 @@
% i.e.
\ProvideDocumentCommand { \ie } { }
{
- \projlib_text_abbreviation_generic:nn { \textit{i. \nobreak \hskip.2ex \nobreak e.} } { \skip_horizontal:n { -.25ex } }
+ \projlib_text_abbreviation_generic:nn { \textit{i. \nobreak \hskip.2ex \nobreak e.} } { \skip_horizontal:n { -.15ex ~plus -.15\tex_fontdimen:D 3 \tex_font:D~minus -.15\tex_fontdimen:D 4 \tex_font:D } }
}
% e.g.
\ProvideDocumentCommand { \eg } { }
{
- \projlib_text_abbreviation_generic:nn { \textit{e. \nobreak \hskip.2ex \nobreak g.} } { \skip_horizontal:n { -.25ex } }
+ \projlib_text_abbreviation_generic:nn { \textit{e. \nobreak \hskip.2ex \nobreak g.} } { \skip_horizontal:n { -.15ex ~plus -.15\tex_fontdimen:D 3 \tex_font:D~minus -.15\tex_fontdimen:D 4 \tex_font:D } }
}
% cf.
@@ -3858,8 +3861,12 @@
\RequirePackage { amsthm }
\RequirePackage { create-theorem }
-\RenewCommandCopy \cref \crefthe
-\RenewCommandCopy \Cref \Crefthe
+\RenewCommandCopy \cref \crefthe
+\RenewCommandCopy \Cref \Crefthe
+\RenewCommandCopy \namecref \namecrefthe
+\RenewCommandCopy \nameCref \nameCrefthe
+\RenewCommandCopy \namecrefs \namecrefsthe
+\RenewCommandCopy \nameCrefs \nameCrefsthe
\bool_if:NF \l__projlib_theorem_no_theorems_bool
{
@@ -5236,10 +5243,17 @@
\usetikzlibrary { calc }
\ExplSyntaxOn
+\tl_new:N \l_projlib_titlepage_title_page_name_tl
+\tl_new:N \l_projlib_titlepage_license_page_name_tl
+\tl_set:Nn \l_projlib_titlepage_title_page_name_tl { Cover }
+\tl_set:Nn \l_projlib_titlepage_license_page_name_tl { License }
+
\tl_new:N \l_projlib_titlepage_logo_tl
\tl_new:N \l_projlib_titlepage_title_tl
\tl_new:N \l_projlib_titlepage_subtitle_tl
\tl_new:N \l_projlib_titlepage_author_tl
+\tl_new:N \l_projlib_titlepage_info_tl
+\tl_new:N \l_projlib_titlepage_license_tl
\tl_new:N \l_projlib_titlepage_date_tl
\tl_new:N \l_projlib_titlepage_style_tl
@@ -5266,6 +5280,16 @@
, subtitle .code:n = { \tl_set:Nn \l_projlib_titlepage_subtitle_tl { \tl_trim_spaces:n { #1 } } }
, author .code:n = { \tl_set:Nn \l_projlib_titlepage_author_tl { \tl_trim_spaces:n { #1 } } }
, date .code:n = { \tl_set:Nn \l_projlib_titlepage_date_tl { \tl_trim_spaces:n { #1 } } }
+ , title-page-name .code:n = { \tl_set:Nn \l_projlib_titlepage_title_page_name_tl { \tl_trim_spaces:n { #1 } } }
+ , title~page~name .code:n = { \tl_set:Nn \l_projlib_titlepage_title_page_name_tl { \tl_trim_spaces:n { #1 } } }
+ , title page name .code:n = { \tl_set:Nn \l_projlib_titlepage_title_page_name_tl { \tl_trim_spaces:n { #1 } } }
+ , license-page-name .code:n = { \tl_set:Nn \l_projlib_titlepage_license_page_name_tl { \tl_trim_spaces:n { #1 } } }
+ , license~page~name .code:n = { \tl_set:Nn \l_projlib_titlepage_license_page_name_tl { \tl_trim_spaces:n { #1 } } }
+ , license page name .code:n = { \tl_set:Nn \l_projlib_titlepage_license_page_name_tl { \tl_trim_spaces:n { #1 } } }
+ , info .code:n = { \tl_set:Nn \l_projlib_titlepage_info_tl { \tl_trim_spaces:n { #1 } } }
+ , info .initial:n = { }
+ , license .code:n = { \tl_set:Nn \l_projlib_titlepage_license_tl { \tl_trim_spaces:n { #1 } } }
+ , license .initial:n = { }
, style .tl_set:N = \l_projlib_titlepage_style_tl
, style .initial:n = { default }
, color .code:n = {
@@ -5283,10 +5307,20 @@
\cs_new_protected:Nn \projlib_titlepage_render:n
{
\keys_set:nn { projlib-titlepage-config } { #1 }
+ \tl_set_eq:NN \thepage \l_projlib_titlepage_title_page_name_tl
\begin { titlepage }
\cs_if_exist_use:c { projlib_titlepage_render_with_style_ \l_projlib_titlepage_style_tl : }
\end { titlepage }
- \setcounter { page } { 0 }
+ \tl_set_eq:NN \thepage \l_projlib_titlepage_license_page_name_tl
+ \thispagestyle{empty}
+ \null\vfill
+ \begin{flushleft}
+ \tl_use:N \l_projlib_titlepage_info_tl
+ \end{flushleft}
+ \tl_use:N \l_projlib_titlepage_license_tl
+ \cleardoublepage
+ \setcounter{page}{0}
+ \pagenumbering{roman}
}
\cs_new_protected:Nn \projlib_titlepage_render_with_style_default:
Modified: trunk/Master/texmf-dist/tex/latex/projlib/ProjLib.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/ProjLib.sty 2022-11-15 20:52:12 UTC (rev 65022)
+++ trunk/Master/texmf-dist/tex/latex/projlib/ProjLib.sty 2022-11-15 20:52:32 UTC (rev 65023)
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{ProjLib}
- {2022/08/05} {}
+ {2022/11/15} {}
{Collective interface of the ProjLib toolkit}
\keys_define:nn { ProjLib }
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-author.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-author.sty 2022-11-15 20:52:12 UTC (rev 65022)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-author.sty 2022-11-15 20:52:32 UTC (rev 65023)
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-author}
- {2022/08/05} {}
+ {2022/11/15} {}
{Enhanced author information block}
\keys_define:nn { projlib-author }
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-datetime.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-datetime.sty 2022-11-15 20:52:12 UTC (rev 65022)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-datetime.sty 2022-11-15 20:52:32 UTC (rev 65023)
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-datetime}
- {2022/08/05} {}
+ {2022/11/15} {}
{Convert numeric date-time string to natural language}
\tl_new:N \g__projlib_datetime_input_format_tl
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-draft.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-draft.sty 2022-11-15 20:52:12 UTC (rev 65022)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-draft.sty 2022-11-15 20:52:32 UTC (rev 65023)
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-draft}
- {2022/08/05} {}
+ {2022/11/15} {}
{Useful commands during draft stage}
\keys_define:nn { projlib-draft }
@@ -147,9 +147,9 @@
\raisebox{\baselineskip}{
\cs_if_exist:cT { hypertarget }
{
- \hypertarget { DNF. \arabic { projlib_draft_DNF_counter } } {}
+ \hypertarget { DNF. \jobname. \arabic { projlib_draft_DNF_counter } } {}
}
- \label { DNF. \arabic { projlib_draft_DNF_counter } }
+ \label { DNF. \jobname. \arabic { projlib_draft_DNF_counter } }
}
\nobreak
\projlib_draft_plain_box:nn { projlib_draft_DNF_color }
@@ -182,10 +182,10 @@
{
\cs_if_exist:cTF { hyperlink }
{
- \exp_not:N \hyperlink { DNF. \int_value:w \theprojlib_draft_DNF_counter } { \exp_not:N \pageref* { DNF. \int_value:w \theprojlib_draft_DNF_counter } }
+ \exp_not:N \hyperlink { DNF. \jobname. \int_value:w \theprojlib_draft_DNF_counter } { \exp_not:N \pageref* { DNF. \jobname. \int_value:w \theprojlib_draft_DNF_counter } }
}
{
- \exp_not:N \pageref* { DNF. \int_value:w \theprojlib_draft_DNF_counter }
+ \exp_not:N \pageref* { DNF. \jobname. \int_value:w \theprojlib_draft_DNF_counter }
}
}
\tl_gput_right:Nn \g__projlib_draft_DNF_report_tl
@@ -202,19 +202,22 @@
\bool_if:NF \l__projlib_draft_no_report_page_bool
{
- \hook_gput_code:nnn { enddocument } { projlib-draft }
+ \hook_gput_code:nnn { begindocument/before } { projlib-draft }
{
- \tl_if_blank:VF \g__projlib_draft_DNF_report_tl
+ \hook_gput_code:nnn { enddocument } { projlib-draft }
{
- \clearpage
- \addtocounter{page}{-1}
- \pagestyle { empty }
- \color { projlib_draft_DNF_color }
- \noindent
- \projlib_draft_DNF_font
- \projlib_draft_DNF_report_text
- \par \bigskip
- \g__projlib_draft_DNF_report_tl
+ \tl_if_blank:VF \g__projlib_draft_DNF_report_tl
+ {
+ \clearpage
+ \addtocounter{page}{-1}
+ \pagestyle { empty }
+ \color { projlib_draft_DNF_color }
+ \noindent
+ \projlib_draft_DNF_font
+ \projlib_draft_DNF_report_text
+ \par \bigskip
+ \g__projlib_draft_DNF_report_tl
+ }
}
}
}
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-font.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-font.sty 2022-11-15 20:52:12 UTC (rev 65022)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-font.sty 2022-11-15 20:52:32 UTC (rev 65023)
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-font}
- {2022/08/05} {}
+ {2022/11/15} {}
{Font selection and configuration}
\keys_define:nn { projlib-font }
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-language.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-language.sty 2022-11-15 20:52:12 UTC (rev 65022)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-language.sty 2022-11-15 20:52:32 UTC (rev 65023)
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-language}
- {2022/08/05} {}
+ {2022/11/15} {}
{Multi-language configuration}
\clist_const:Nn \c__projlib_language_supported_clist
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-logo.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-logo.sty 2022-11-15 20:52:12 UTC (rev 65022)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-logo.sty 2022-11-15 20:52:32 UTC (rev 65023)
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-logo}
- {2022/08/05} {}
+ {2022/11/15} {}
{The ProjLib logo}
\keys_define:nn { projlib-logo }
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-math.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-math.sty 2022-11-15 20:52:12 UTC (rev 65022)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-math.sty 2022-11-15 20:52:32 UTC (rev 65023)
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-math}
- {2022/08/05} {}
+ {2022/11/15} {}
{Efficient math setup}
\keys_define:nn { projlib-math }
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-paper.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-paper.sty 2022-11-15 20:52:12 UTC (rev 65022)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-paper.sty 2022-11-15 20:52:32 UTC (rev 65023)
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-paper}
- {2022/08/05} {}
+ {2022/11/15} {}
{Configuration of the paper style}
\keys_define:nn { projlib-paper }
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-text.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-text.sty 2022-11-15 20:52:12 UTC (rev 65022)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-text.sty 2022-11-15 20:52:32 UTC (rev 65023)
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-text}
- {2022/08/05} {}
+ {2022/11/15} {}
{Text-related commands}
\keys_define:nn { projlib-text }
@@ -58,13 +58,13 @@
% i.e.
\ProvideDocumentCommand { \ie } { }
{
- \projlib_text_abbreviation_generic:nn { \textit{i. \nobreak \hskip.2ex \nobreak e.} } { \skip_horizontal:n { -.25ex } }
+ \projlib_text_abbreviation_generic:nn { \textit{i. \nobreak \hskip.2ex \nobreak e.} } { \skip_horizontal:n { -.15ex ~plus -.15\tex_fontdimen:D 3 \tex_font:D~minus -.15\tex_fontdimen:D 4 \tex_font:D } }
}
% e.g.
\ProvideDocumentCommand { \eg } { }
{
- \projlib_text_abbreviation_generic:nn { \textit{e. \nobreak \hskip.2ex \nobreak g.} } { \skip_horizontal:n { -.25ex } }
+ \projlib_text_abbreviation_generic:nn { \textit{e. \nobreak \hskip.2ex \nobreak g.} } { \skip_horizontal:n { -.15ex ~plus -.15\tex_fontdimen:D 3 \tex_font:D~minus -.15\tex_fontdimen:D 4 \tex_font:D } }
}
% cf.
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-theorem.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-theorem.sty 2022-11-15 20:52:12 UTC (rev 65022)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-theorem.sty 2022-11-15 20:52:32 UTC (rev 65023)
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-theorem}
- {2022/08/05} {}
+ {2022/11/15} {}
{Configuration of theorem-like environments}
\keys_define:nn { projlib-theorem }
@@ -148,8 +148,12 @@
\RequirePackage { amsthm }
\RequirePackage { create-theorem }
-\RenewCommandCopy \cref \crefthe
-\RenewCommandCopy \Cref \Crefthe
+\RenewCommandCopy \cref \crefthe
+\RenewCommandCopy \Cref \Crefthe
+\RenewCommandCopy \namecref \namecrefthe
+\RenewCommandCopy \nameCref \nameCrefthe
+\RenewCommandCopy \namecrefs \namecrefsthe
+\RenewCommandCopy \nameCrefs \nameCrefsthe
\bool_if:NF \l__projlib_theorem_no_theorems_bool
{
Modified: trunk/Master/texmf-dist/tex/latex/projlib/projlib-titlepage.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/projlib/projlib-titlepage.sty 2022-11-15 20:52:12 UTC (rev 65022)
+++ trunk/Master/texmf-dist/tex/latex/projlib/projlib-titlepage.sty 2022-11-15 20:52:32 UTC (rev 65023)
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2022-06-01]
\ProvidesExplPackage
{projlib-titlepage}
- {2022/08/05} {}
+ {2022/11/15} {}
{Commands for rendering the title page}
\keys_define:nn { projlib-titlepage }
@@ -35,10 +35,17 @@
\usetikzlibrary { calc }
\ExplSyntaxOn
+\tl_new:N \l_projlib_titlepage_title_page_name_tl
+\tl_new:N \l_projlib_titlepage_license_page_name_tl
+\tl_set:Nn \l_projlib_titlepage_title_page_name_tl { Cover }
+\tl_set:Nn \l_projlib_titlepage_license_page_name_tl { License }
+
\tl_new:N \l_projlib_titlepage_logo_tl
\tl_new:N \l_projlib_titlepage_title_tl
\tl_new:N \l_projlib_titlepage_subtitle_tl
\tl_new:N \l_projlib_titlepage_author_tl
+\tl_new:N \l_projlib_titlepage_info_tl
+\tl_new:N \l_projlib_titlepage_license_tl
\tl_new:N \l_projlib_titlepage_date_tl
\tl_new:N \l_projlib_titlepage_style_tl
@@ -65,6 +72,16 @@
, subtitle .code:n = { \tl_set:Nn \l_projlib_titlepage_subtitle_tl { \tl_trim_spaces:n { #1 } } }
, author .code:n = { \tl_set:Nn \l_projlib_titlepage_author_tl { \tl_trim_spaces:n { #1 } } }
, date .code:n = { \tl_set:Nn \l_projlib_titlepage_date_tl { \tl_trim_spaces:n { #1 } } }
+ , title-page-name .code:n = { \tl_set:Nn \l_projlib_titlepage_title_page_name_tl { \tl_trim_spaces:n { #1 } } }
+ , title~page~name .code:n = { \tl_set:Nn \l_projlib_titlepage_title_page_name_tl { \tl_trim_spaces:n { #1 } } }
+ , title page name .code:n = { \tl_set:Nn \l_projlib_titlepage_title_page_name_tl { \tl_trim_spaces:n { #1 } } }
+ , license-page-name .code:n = { \tl_set:Nn \l_projlib_titlepage_license_page_name_tl { \tl_trim_spaces:n { #1 } } }
+ , license~page~name .code:n = { \tl_set:Nn \l_projlib_titlepage_license_page_name_tl { \tl_trim_spaces:n { #1 } } }
+ , license page name .code:n = { \tl_set:Nn \l_projlib_titlepage_license_page_name_tl { \tl_trim_spaces:n { #1 } } }
+ , info .code:n = { \tl_set:Nn \l_projlib_titlepage_info_tl { \tl_trim_spaces:n { #1 } } }
+ , info .initial:n = { }
+ , license .code:n = { \tl_set:Nn \l_projlib_titlepage_license_tl { \tl_trim_spaces:n { #1 } } }
+ , license .initial:n = { }
, style .tl_set:N = \l_projlib_titlepage_style_tl
, style .initial:n = { default }
, color .code:n = {
@@ -82,10 +99,20 @@
\cs_new_protected:Nn \projlib_titlepage_render:n
{
\keys_set:nn { projlib-titlepage-config } { #1 }
+ \tl_set_eq:NN \thepage \l_projlib_titlepage_title_page_name_tl
\begin { titlepage }
\cs_if_exist_use:c { projlib_titlepage_render_with_style_ \l_projlib_titlepage_style_tl : }
\end { titlepage }
- \setcounter { page } { 0 }
+ \tl_set_eq:NN \thepage \l_projlib_titlepage_license_page_name_tl
+ \thispagestyle{empty}
+ \null\vfill
+ \begin{flushleft}
+ \tl_use:N \l_projlib_titlepage_info_tl
+ \end{flushleft}
+ \tl_use:N \l_projlib_titlepage_license_tl
+ \cleardoublepage
+ \setcounter{page}{0}
+ \pagenumbering{roman}
}
\cs_new_protected:Nn \projlib_titlepage_render_with_style_default:
More information about the tex-live-commits
mailing list.