From c1d44302ac7bed4e5e6d635d6a768bb9d62da3f1 Mon Sep 17 00:00:00 2001 From: LogCreative Date: Sun, 14 Jan 2024 01:06:18 +0800 Subject: [PATCH] feat: `base` and `base-options` class options `article` and `report` class options are deprecated. --- testfiles/secblock.lvt | 2 +- texmf/doc/latex/presenter/presenter-code.tex | 40 +++++--- texmf/doc/latex/presenter/presenter-doc.tex | 2 +- texmf/source/latex/presenter/presenter.dtx | 99 +++++++++++++++---- texmf/source/latex/presenter/presenter.ins | 4 +- texmf/source/latex/presenter/pretbg.dtx | 4 +- texmf/source/latex/presenter/pretfg.dtx | 4 +- texmf/source/latex/presenter/pretsec.dtx | 4 +- texmf/source/latex/presenter/prettpl.dtx | 4 +- texmf/tex/latex/presenter/presenter.cls | 28 +++--- texmf/tex/latex/presenter/presenter.sty | 6 +- texmf/tex/latex/presenter/pretbg-block.sty | 4 +- texmf/tex/latex/presenter/pretbg-default.sty | 4 +- texmf/tex/latex/presenter/pretbg-iiiblock.sty | 4 +- texmf/tex/latex/presenter/pretbg-img.sty | 4 +- .../latex/presenter/pretbg-progressbar.sty | 4 +- texmf/tex/latex/presenter/pretbg-secblock.sty | 4 +- texmf/tex/latex/presenter/pretfg-cascade.sty | 4 +- texmf/tex/latex/presenter/pretfg-default.sty | 4 +- texmf/tex/latex/presenter/pretfg-dual.sty | 4 +- texmf/tex/latex/presenter/pretfg-img.sty | 4 +- texmf/tex/latex/presenter/pretsec.sty | 4 +- texmf/tex/latex/presenter/prettpl.sty | 4 +- 23 files changed, 162 insertions(+), 83 deletions(-) diff --git a/testfiles/secblock.lvt b/testfiles/secblock.lvt index dcce8b1..933ead2 100644 --- a/testfiles/secblock.lvt +++ b/testfiles/secblock.lvt @@ -1,6 +1,6 @@ \input{regression-test} \AtBeginDocument{\START} -\documentclass[report]{presenter} +\documentclass[base=report]{presenter} \LoadPresenterBackground{secblock} \begin{document} diff --git a/texmf/doc/latex/presenter/presenter-code.tex b/texmf/doc/latex/presenter/presenter-code.tex index e6fe118..1a68b3a 100644 --- a/texmf/doc/latex/presenter/presenter-code.tex +++ b/texmf/doc/latex/presenter/presenter-code.tex @@ -1,5 +1,5 @@ %% ------------------------------------------------------------------------ -%% Copyright (C) 2023 Log Creative +%% Copyright (C) 2023--2024 Log Creative %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -22,7 +22,7 @@ \NewDocumentCommand{\presenter}{}{\textsc{Presenter}} \title{\presenter: A \LaTeX{} presentation framework with seamless migration} \author{Zilong Li (Log Creative)} -\date{2023-10-23 \quad v0.7.0} +\date{2024-01-14 \quad v0.7.1} \usepackage{array} \usepackage{float} @@ -83,7 +83,7 @@ \vfil -Copyright \copyright{} 2023 Log Creative +Copyright \copyright{} 2023--2024 Log Creative (\href{mailto:logcreative@outlook.com}{\texttt{logcreative@outlook.com}}) This work may be distributed and/or modified under the @@ -240,16 +240,22 @@ \section{Basics} \section{Options} -\begin{function}[added=2023-02-04]{article, report} - However, if you want to use \tn{chapter} level, pass the \verb"report" - option to the document class \cls{presenter} like - \verb"\documentclass[report]{presenter}". The default is \verb"article" - based. +\begin{function}[added=2024-01-14]{base, base-options} + Set the \meta{base} document class to be used with \meta{base-options} comma + list. The default is \cls{article} base document class with empty options. + + You should always set \meta{base} first if you want to use a different base + document class other than \cls{article}. And always surround your + \meta{base-options} comma list with braces (\verb"{}") especially if you want + to pass multiple options to the \meta{base} document class. + + If you want to use \tn{chapter} level, you could use \cls{report} document + class as the base like \verb"\documentclass[base=report,base-options={}]{presenter}". +\end{function} - \begin{texnote} - It sounds not okay to use \cls{book} class as the base document class, since - they are typically pretty long. But if you want to use it as the base class, - or any other document class, use the package \pkg{presenter} instead. +\begin{texnote} + If you want to customize the loading of the \presenter{} code, + you could use the package \pkg{presenter} instead. \begin{center} \begin{minipage}[c]{0.45\textwidth} @@ -266,8 +272,7 @@ \section{Options} \previewtest{package} \end{minipage} \end{center} - \end{texnote} -\end{function} +\end{texnote} \section{Templates} @@ -418,6 +423,13 @@ \subsection{Edit Templates} The \LaTeX{} Project. \newblock The \pkg{xtemplate} package: Prototype document functions, 2023. \newblock \url{https://www.ctan.org/pkg/xtemplate}. + +\bibitem{tlc3} +Frank Mittelbach and Ulrike Fischer. +\newblock The \LaTeX{} Companion, +\newblock 3rd Edition, +\newblock Addison-Wesly, 2023. + \end{thebibliography} \PrintChanges diff --git a/texmf/doc/latex/presenter/presenter-doc.tex b/texmf/doc/latex/presenter/presenter-doc.tex index 515c7a9..53999a6 100644 --- a/texmf/doc/latex/presenter/presenter-doc.tex +++ b/texmf/doc/latex/presenter/presenter-doc.tex @@ -1,5 +1,5 @@ %% ------------------------------------------------------------------------ -%% Copyright (C) 2023 Log Creative +%% Copyright (C) 2023--2024 Log Creative %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/texmf/source/latex/presenter/presenter.dtx b/texmf/source/latex/presenter/presenter.dtx index d6b1162..26db24b 100644 --- a/texmf/source/latex/presenter/presenter.dtx +++ b/texmf/source/latex/presenter/presenter.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % ------------------------------------------------------------------------ -% Copyright (C) 2023 Log Creative +% Copyright (C) 2023--2024 Log Creative % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -19,12 +19,15 @@ % \begin{implementation} % % \iffalse +% The setting of key-based options through CamelCase commands ( +% \cs{DeclareKeys}, \cs{DeclareUnknownKeyHandler}, \cs{ProcessKeysOptions} +% ) is only available after the June 2022 release \cite{tlc3}. %<*class|package> -\NeedsTeXFormat{LaTeX2e}[2020/10/01] +\NeedsTeXFormat{LaTeX2e}[2022/06/01] %\ProvidesExplClass %\ProvidesExplPackage {presenter} - {2023-10-23}{0.7.0} + {2024-01-14}{0.7.1} % {A LaTeX presentation framework with seamless migration (class)} % {A LaTeX presentation framework with seamless migration (package)} % @@ -42,33 +45,93 @@ %<@@=pretcls> % \end{macrocode} % -% \begin{variable}[int]{\g_@@_article_bool} -% Base class boolean variable if it is \cls{article} base class. +% \begin{variable}{\l__pretcls_base_tl, \l__pretcls_base_options_clist} +% Store the base class and its options. % \begin{macrocode} -\bool_new:N \g_@@_article_bool -\bool_gset_true:N \g_@@_article_bool +\tl_new:N \l__pretcls_base_tl +\clist_new:N \l__pretcls_base_options_clist % \end{macrocode} +% The base options are stored in comma list (\verb"clist") +% instead of token list (\verb"tl") type +% to avoid the unwanted space token in the options. % \end{variable} % -% Declare option \verb"report" and \verb"article" for selecting respective base -% classes. +% Declare keys for the class with family name \verb"pretcls" to avoid the +% default family name \verb"presenter" which may conflict the package with the +% same name. % \begin{macrocode} -\DeclareOption { article } { \bool_gset_true:N \g_@@_article_bool } -\DeclareOption { report } { \bool_gset_false:N \g_@@_article_bool } +\DeclareKeys [ pretcls ] { +% \end{macrocode} +% \begin{texnote} +% Instead of using \cs{SetKeys}, \presenter{} uses \verb".initial" property on +% those keys. Be aware that the \verb".initial" property should be always +% declared after \verb".store" or \verb"._set:N" property to avoid +% uninitialized variables! +% \end{texnote} +% +% \begin{macro}{base} +% The base class to be loaded before the package \pkg{presenter}. +% \begin{macrocode} + base.tl_gset:N = \l__pretcls_base_tl, + base.initial:n = article, +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{base-options} +% The option comma list to be passed to the base class. +% \begin{macrocode} + base-options.clist_gset:N = \l__pretcls_base_options_clist, + base-options.initial:n = , +% \end{macrocode} +% \end{macro} +% +% \begin{macrocode} +} % \end{macrocode} % -% Pass other options to both the potential document classes. +% User could use the traditional ``global'' options to pass options to the +% setted \verb"base" class. +% The usage should be replaced by the \verb"base-options" key above +% and only acts as a compatibility feature with other \LaTeX{} classes. +% Unlike \verb"base-options" key, those ``global'' options are only available +% after the \verb"base" key is set in the key-value list of this class. +% +% \begin{texnote} +% The reason is as follows. +% Since the order of keys processed by \cs{ProcessKeyOptions} is in the order of +% the key-value list, +% if those ``global'' options are set before the \verb"base" key, +% those options will be passed to the initial value of \verb"base" key, +% i.e., \cls{article} class. +% As a result, those ``pre-base'' options will be ignored if \verb"base" is +% not \verb"article". +% \end{texnote} % \begin{macrocode} -\DeclareOption* { - \PassOptionsToClass { \CurrentOption } { article } - \PassOptionsToClass { \CurrentOption } { report } +\DeclareUnknownKeyHandler [ pretcls ] { + \PassOptionsToClass { \CurrentOption } { \l__pretcls_base_tl } } % \end{macrocode} % -% Process the options and load the selected base class. Load the main package. +% Process the class options. +% \begin{macrocode} +\ProcessKeyOptions [ pretcls ] +% \end{macrocode} +% +% Pass options in \verb"base-options" to the base class. +% Then load the base class. +% \begin{macrocode} +\PassOptionsToClass { \l__pretcls_base_options_clist } { \l__pretcls_base_tl } +\LoadClass { \l__pretcls_base_tl } +% \end{macrocode} +% +% \begin{texnote} +% The decision to make use of \cs{DeclareUnknownKeyHandler} with trade-off +% instead of \cs{LoadClassWithOptions} is for avoiding the warnings of unused +% options raised by the latter one. +% \end{texnote} +% +% Load \cls{presenter} main package. % \begin{macrocode} -\ProcessOptions* -\LoadClass { \bool_if:NTF \g_@@_article_bool { article } { report } } \RequirePackage { presenter } % \end{macrocode} % diff --git a/texmf/source/latex/presenter/presenter.ins b/texmf/source/latex/presenter/presenter.ins index d80465f..ceefe98 100644 --- a/texmf/source/latex/presenter/presenter.ins +++ b/texmf/source/latex/presenter/presenter.ins @@ -1,5 +1,5 @@ %% ------------------------------------------------------------------------ -%% Copyright (C) 2023 Log Creative +%% Copyright (C) 2023--2024 Log Creative %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ \preamble ------------------------------------------------------------------------ -Copyright (C) 2023 Log Creative +Copyright (C) 2023--2024 Log Creative This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 diff --git a/texmf/source/latex/presenter/pretbg.dtx b/texmf/source/latex/presenter/pretbg.dtx index 73d504c..b256ccf 100644 --- a/texmf/source/latex/presenter/pretbg.dtx +++ b/texmf/source/latex/presenter/pretbg.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % ------------------------------------------------------------------------ -% Copyright (C) 2023 Log Creative +% Copyright (C) 2023--2024 Log Creative % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -26,7 +26,7 @@ % {pretbg-secblock} % {pretbg-progressbar} % {pretbg-img} - {2023-10-23}{0.7.0} + {2024-01-14}{0.7.1} % {default background style for presenter} % {block background style for presenter} % {iiiblock background style for presenter implemented in l3draw} diff --git a/texmf/source/latex/presenter/pretfg.dtx b/texmf/source/latex/presenter/pretfg.dtx index 16f7ead..440653e 100644 --- a/texmf/source/latex/presenter/pretfg.dtx +++ b/texmf/source/latex/presenter/pretfg.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % ------------------------------------------------------------------------ -% Copyright (C) 2023 Log Creative +% Copyright (C) 2023--2024 Log Creative % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -24,7 +24,7 @@ % {pretfg-dual} % {pretfg-cascade} % {pretfg-img} - {2023-10-23}{0.7.0} + {2024-01-14}{0.7.1} % {default foreground style for presenter} % {dual foreground style for presenter} % {cascade foreground style for presenter} diff --git a/texmf/source/latex/presenter/pretsec.dtx b/texmf/source/latex/presenter/pretsec.dtx index 3b126e8..e08d69f 100644 --- a/texmf/source/latex/presenter/pretsec.dtx +++ b/texmf/source/latex/presenter/pretsec.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % ------------------------------------------------------------------------ -% Copyright (C) 2023 Log Creative +% Copyright (C) 2023--2024 Log Creative % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ % \iffalse %<*package> \NeedsTeXFormat{LaTeX2e}[2020/10/01] -\ProvidesExplPackage{pretsec}{2023-10-23}{0.7.0} +\ProvidesExplPackage{pretsec}{2024-01-14}{0.7.1} {sectioning support pack for presenter} % % \fi diff --git a/texmf/source/latex/presenter/prettpl.dtx b/texmf/source/latex/presenter/prettpl.dtx index b41a932..c6a583c 100644 --- a/texmf/source/latex/presenter/prettpl.dtx +++ b/texmf/source/latex/presenter/prettpl.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % ------------------------------------------------------------------------ -% Copyright (C) 2023 Log Creative +% Copyright (C) 2023--2024 Log Creative % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ % \iffalse %<*package> \NeedsTeXFormat{LaTeX2e}[2020/10/01] -\ProvidesExplPackage{prettpl}{2023-10-23}{0.7.0} +\ProvidesExplPackage{prettpl}{2024-01-14}{0.7.1} {template management for presenter} % % \fi diff --git a/texmf/tex/latex/presenter/presenter.cls b/texmf/tex/latex/presenter/presenter.cls index be86313..c4e9efa 100644 --- a/texmf/tex/latex/presenter/presenter.cls +++ b/texmf/tex/latex/presenter/presenter.cls @@ -6,7 +6,7 @@ %% %% presenter.dtx (with options: `class') %% ------------------------------------------------------------------------ -%% Copyright (C) 2023 Log Creative +%% Copyright (C) 2023--2024 Log Creative %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -20,21 +20,25 @@ %% %% The Current Maintainer of this work is Log Creative. %% ------------------------------------------------------------------------ -\NeedsTeXFormat{LaTeX2e}[2020/10/01] +\NeedsTeXFormat{LaTeX2e}[2022/06/01] \ProvidesExplClass {presenter} - {2023-10-23}{0.7.0} + {2024-01-14}{0.7.1} {A LaTeX presentation framework with seamless migration (class)} -\bool_new:N \g__pretcls_article_bool -\bool_gset_true:N \g__pretcls_article_bool -\DeclareOption { article } { \bool_gset_true:N \g__pretcls_article_bool } -\DeclareOption { report } { \bool_gset_false:N \g__pretcls_article_bool } -\DeclareOption* { - \PassOptionsToClass { \CurrentOption } { article } - \PassOptionsToClass { \CurrentOption } { report } +\tl_new:N \l__pretcls_base_tl +\clist_new:N \l__pretcls_base_options_clist +\DeclareKeys [ pretcls ] { + base.tl_gset:N = \l__pretcls_base_tl, + base.initial:n = article, + base-options.clist_gset:N = \l__pretcls_base_options_clist, + base-options.initial:n = , } -\ProcessOptions* -\LoadClass { \bool_if:NTF \g__pretcls_article_bool { article } { report } } +\DeclareUnknownKeyHandler [ pretcls ] { + \PassOptionsToClass { \CurrentOption } { \l__pretcls_base_tl } +} +\ProcessKeyOptions [ pretcls ] +\PassOptionsToClass { \l__pretcls_base_options_clist } { \l__pretcls_base_tl } +\LoadClass { \l__pretcls_base_tl } \RequirePackage { presenter } \endinput %% diff --git a/texmf/tex/latex/presenter/presenter.sty b/texmf/tex/latex/presenter/presenter.sty index 3d1d9a0..f93bbc9 100644 --- a/texmf/tex/latex/presenter/presenter.sty +++ b/texmf/tex/latex/presenter/presenter.sty @@ -6,7 +6,7 @@ %% %% presenter.dtx (with options: `package') %% ------------------------------------------------------------------------ -%% Copyright (C) 2023 Log Creative +%% Copyright (C) 2023--2024 Log Creative %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -20,10 +20,10 @@ %% %% The Current Maintainer of this work is Log Creative. %% ------------------------------------------------------------------------ -\NeedsTeXFormat{LaTeX2e}[2020/10/01] +\NeedsTeXFormat{LaTeX2e}[2022/06/01] \ProvidesExplPackage {presenter} - {2023-10-23}{0.7.0} + {2024-01-14}{0.7.1} {A LaTeX presentation framework with seamless migration (package)} \IfPackageLoadedTF { hyperref } { \hypersetup { pdfview = Fit } } diff --git a/texmf/tex/latex/presenter/pretbg-block.sty b/texmf/tex/latex/presenter/pretbg-block.sty index 1da4a26..1767f17 100644 --- a/texmf/tex/latex/presenter/pretbg-block.sty +++ b/texmf/tex/latex/presenter/pretbg-block.sty @@ -6,7 +6,7 @@ %% %% pretbg.dtx (with options: `package,block') %% ------------------------------------------------------------------------ -%% Copyright (C) 2023 Log Creative +%% Copyright (C) 2023--2024 Log Creative %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesExplPackage {pretbg-block} - {2023-10-23}{0.7.0} + {2024-01-14}{0.7.1} {block background style for presenter} \DeclareTemplateInterface { background / headline } diff --git a/texmf/tex/latex/presenter/pretbg-default.sty b/texmf/tex/latex/presenter/pretbg-default.sty index f8d8b56..35e545c 100644 --- a/texmf/tex/latex/presenter/pretbg-default.sty +++ b/texmf/tex/latex/presenter/pretbg-default.sty @@ -6,7 +6,7 @@ %% %% pretbg.dtx (with options: `package,default') %% ------------------------------------------------------------------------ -%% Copyright (C) 2023 Log Creative +%% Copyright (C) 2023--2024 Log Creative %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesExplPackage {pretbg-default} - {2023-10-23}{0.7.0} + {2024-01-14}{0.7.1} {default background style for presenter} \DeclareTemplateInterface { background / canvas } { default } { 0 } { } \DeclareTemplateInterface { background / headline } { default } { 0 } { } diff --git a/texmf/tex/latex/presenter/pretbg-iiiblock.sty b/texmf/tex/latex/presenter/pretbg-iiiblock.sty index 782047c..12bbcc8 100644 --- a/texmf/tex/latex/presenter/pretbg-iiiblock.sty +++ b/texmf/tex/latex/presenter/pretbg-iiiblock.sty @@ -6,7 +6,7 @@ %% %% pretbg.dtx (with options: `package,iiiblock') %% ------------------------------------------------------------------------ -%% Copyright (C) 2023 Log Creative +%% Copyright (C) 2023--2024 Log Creative %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesExplPackage {pretbg-iiiblock} - {2023-10-23}{0.7.0} + {2024-01-14}{0.7.1} {iiiblock background style for presenter implemented in l3draw} \DeclareTemplateInterface { background / headline } diff --git a/texmf/tex/latex/presenter/pretbg-img.sty b/texmf/tex/latex/presenter/pretbg-img.sty index 78e95f1..13a8699 100644 --- a/texmf/tex/latex/presenter/pretbg-img.sty +++ b/texmf/tex/latex/presenter/pretbg-img.sty @@ -6,7 +6,7 @@ %% %% pretbg.dtx (with options: `package,img') %% ------------------------------------------------------------------------ -%% Copyright (C) 2023 Log Creative +%% Copyright (C) 2023--2024 Log Creative %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesExplPackage {pretbg-img} - {2023-10-23}{0.7.0} + {2024-01-14}{0.7.1} {img background style for presenter} \DeclareTemplateInterface { background / canvas } { img } { 0 } { diff --git a/texmf/tex/latex/presenter/pretbg-progressbar.sty b/texmf/tex/latex/presenter/pretbg-progressbar.sty index 023c427..2eb1061 100644 --- a/texmf/tex/latex/presenter/pretbg-progressbar.sty +++ b/texmf/tex/latex/presenter/pretbg-progressbar.sty @@ -6,7 +6,7 @@ %% %% pretbg.dtx (with options: `package,progressbar') %% ------------------------------------------------------------------------ -%% Copyright (C) 2023 Log Creative +%% Copyright (C) 2023--2024 Log Creative %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesExplPackage {pretbg-progressbar} - {2023-10-23}{0.7.0} + {2024-01-14}{0.7.1} {progressbar background style based on block style} \DeclareTemplateInterface { background / headline } { progressbar } { 0 } { diff --git a/texmf/tex/latex/presenter/pretbg-secblock.sty b/texmf/tex/latex/presenter/pretbg-secblock.sty index 52ee9f4..f5600ab 100644 --- a/texmf/tex/latex/presenter/pretbg-secblock.sty +++ b/texmf/tex/latex/presenter/pretbg-secblock.sty @@ -6,7 +6,7 @@ %% %% pretbg.dtx (with options: `package,secblock') %% ------------------------------------------------------------------------ -%% Copyright (C) 2023 Log Creative +%% Copyright (C) 2023--2024 Log Creative %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesExplPackage {pretbg-secblock} - {2023-10-23}{0.7.0} + {2024-01-14}{0.7.1} {secblock background style based on block style} \DeclareTemplateInterface { background / headline } { secblock } { 0 } { diff --git a/texmf/tex/latex/presenter/pretfg-cascade.sty b/texmf/tex/latex/presenter/pretfg-cascade.sty index 722ec08..bb3feb7 100644 --- a/texmf/tex/latex/presenter/pretfg-cascade.sty +++ b/texmf/tex/latex/presenter/pretfg-cascade.sty @@ -6,7 +6,7 @@ %% %% pretfg.dtx (with options: `package,cascade') %% ------------------------------------------------------------------------ -%% Copyright (C) 2023 Log Creative +%% Copyright (C) 2023--2024 Log Creative %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesExplPackage {pretfg-cascade} - {2023-10-23}{0.7.0} + {2024-01-14}{0.7.1} {cascade foreground style for presenter} \DeclareTemplateInterface { foreground / sectioning } { cascade } { 2 } { } diff --git a/texmf/tex/latex/presenter/pretfg-default.sty b/texmf/tex/latex/presenter/pretfg-default.sty index 28f952d..9b338d6 100644 --- a/texmf/tex/latex/presenter/pretfg-default.sty +++ b/texmf/tex/latex/presenter/pretfg-default.sty @@ -6,7 +6,7 @@ %% %% pretfg.dtx (with options: `package,default') %% ------------------------------------------------------------------------ -%% Copyright (C) 2023 Log Creative +%% Copyright (C) 2023--2024 Log Creative %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesExplPackage {pretfg-default} - {2023-10-23}{0.7.0} + {2024-01-14}{0.7.1} {default foreground style for presenter} \DeclareTemplateInterface { foreground / sectioning } { default } { 2 } { } diff --git a/texmf/tex/latex/presenter/pretfg-dual.sty b/texmf/tex/latex/presenter/pretfg-dual.sty index 9180404..8ce7f5c 100644 --- a/texmf/tex/latex/presenter/pretfg-dual.sty +++ b/texmf/tex/latex/presenter/pretfg-dual.sty @@ -6,7 +6,7 @@ %% %% pretfg.dtx (with options: `package,dual') %% ------------------------------------------------------------------------ -%% Copyright (C) 2023 Log Creative +%% Copyright (C) 2023--2024 Log Creative %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesExplPackage {pretfg-dual} - {2023-10-23}{0.7.0} + {2024-01-14}{0.7.1} {dual foreground style for presenter} \DeclareTemplateInterface { foreground / sectioning } { dual } { 2 } { } diff --git a/texmf/tex/latex/presenter/pretfg-img.sty b/texmf/tex/latex/presenter/pretfg-img.sty index 1c98b40..4e2a903 100644 --- a/texmf/tex/latex/presenter/pretfg-img.sty +++ b/texmf/tex/latex/presenter/pretfg-img.sty @@ -6,7 +6,7 @@ %% %% pretfg.dtx (with options: `package,img') %% ------------------------------------------------------------------------ -%% Copyright (C) 2023 Log Creative +%% Copyright (C) 2023--2024 Log Creative %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesExplPackage {pretfg-img} - {2023-10-23}{0.7.0} + {2024-01-14}{0.7.1} {img foreground style for presenter} \DeclareTemplateInterface { foreground / canvas } { img } { 0 } { diff --git a/texmf/tex/latex/presenter/pretsec.sty b/texmf/tex/latex/presenter/pretsec.sty index ca11b6d..15de2fb 100644 --- a/texmf/tex/latex/presenter/pretsec.sty +++ b/texmf/tex/latex/presenter/pretsec.sty @@ -6,7 +6,7 @@ %% %% pretsec.dtx (with options: `package') %% ------------------------------------------------------------------------ -%% Copyright (C) 2023 Log Creative +%% Copyright (C) 2023--2024 Log Creative %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% The Current Maintainer of this work is Log Creative. %% ------------------------------------------------------------------------ \NeedsTeXFormat{LaTeX2e}[2020/10/01] -\ProvidesExplPackage{pretsec}{2023-10-23}{0.7.0} +\ProvidesExplPackage{pretsec}{2024-01-14}{0.7.1} {sectioning support pack for presenter} \tl_new:N \l__pretsec_tmpa_tl \tl_new:N \l__pretsec_tmpb_tl diff --git a/texmf/tex/latex/presenter/prettpl.sty b/texmf/tex/latex/presenter/prettpl.sty index 6997c33..2c9af96 100644 --- a/texmf/tex/latex/presenter/prettpl.sty +++ b/texmf/tex/latex/presenter/prettpl.sty @@ -6,7 +6,7 @@ %% %% prettpl.dtx (with options: `package') %% ------------------------------------------------------------------------ -%% Copyright (C) 2023 Log Creative +%% Copyright (C) 2023--2024 Log Creative %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -21,7 +21,7 @@ %% The Current Maintainer of this work is Log Creative. %% ------------------------------------------------------------------------ \NeedsTeXFormat{LaTeX2e}[2020/10/01] -\ProvidesExplPackage{prettpl}{2023-10-23}{0.7.0} +\ProvidesExplPackage{prettpl}{2024-01-14}{0.7.1} {template management for presenter} \RequirePackage { xtemplate } \prg_new_conditional:Npnn \prettpl_if_template_exist:nn #1#2 { T, F, TF }