diff --git a/README.md b/README.md index c53c0e6..47fdad5 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,9 @@ A LaTeX presentation framework with seamless migration presenter is a package to create presentations from regular LaTeX documents without many modifications, which could be natively run by any latest TeX distributions. +> [!WARNING] +> You should use the LaTeX2e kernel (2024-06-01) or later to compile the latest version of presenter document successfully. + presenter won't need any additional frame or slide environment to split different pages, but uses the original sectioning commands as the natural way to split different points. ## Demo diff --git a/texmf/source/latex/presenter/presenter.dtx b/texmf/source/latex/presenter/presenter.dtx index de41b28..df47840 100644 --- a/texmf/source/latex/presenter/presenter.dtx +++ b/texmf/source/latex/presenter/presenter.dtx @@ -27,7 +27,7 @@ %\ProvidesExplClass %\ProvidesExplPackage {presenter} - {2024-01-17}{0.7.2} + {2024-11-12}{0.8.0} % {A LaTeX presentation framework with seamless migration (class)} % {A LaTeX presentation framework with seamless migration (package)} % diff --git a/texmf/source/latex/presenter/pretbg.dtx b/texmf/source/latex/presenter/pretbg.dtx index 686b5d1..828f56a 100644 --- a/texmf/source/latex/presenter/pretbg.dtx +++ b/texmf/source/latex/presenter/pretbg.dtx @@ -26,7 +26,7 @@ % {pretbg-secblock} % {pretbg-progressbar} % {pretbg-img} - {2024-01-17}{0.7.2} + {2024-11-12}{0.8.0} % {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 ddfd43b..0a6b358 100644 --- a/texmf/source/latex/presenter/pretfg.dtx +++ b/texmf/source/latex/presenter/pretfg.dtx @@ -24,7 +24,7 @@ % {pretfg-dual} % {pretfg-cascade} % {pretfg-img} - {2024-01-17}{0.7.2} + {2024-11-12}{0.8.0} % {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 55d5b9a..45ac018 100644 --- a/texmf/source/latex/presenter/pretsec.dtx +++ b/texmf/source/latex/presenter/pretsec.dtx @@ -21,7 +21,7 @@ % \iffalse %<*package> \NeedsTeXFormat{LaTeX2e}[2020/10/01] -\ProvidesExplPackage{pretsec}{2024-01-17}{0.7.2} +\ProvidesExplPackage{pretsec}{2024-11-12}{0.8.0} {sectioning support pack for presenter} % % \fi diff --git a/texmf/source/latex/presenter/prettpl.dtx b/texmf/source/latex/presenter/prettpl.dtx index 1dd7435..e1ddbb6 100644 --- a/texmf/source/latex/presenter/prettpl.dtx +++ b/texmf/source/latex/presenter/prettpl.dtx @@ -21,7 +21,7 @@ % \iffalse %<*package> \NeedsTeXFormat{LaTeX2e}[2020/10/01] -\ProvidesExplPackage{prettpl}{2024-01-17}{0.7.2} +\ProvidesExplPackage{prettpl}{2024-11-12}{0.8.0} {template management for presenter} % % \fi @@ -97,7 +97,7 @@ % \end{macrocode} % \end{macro} % -% \subsection{Object Type Declaration} +% \subsection{Template Type Declaration} % % Declare template types. % \begin{macro}{background/canvas} diff --git a/texmf/tex/latex/presenter/presenter.cls b/texmf/tex/latex/presenter/presenter.cls index d11b2a9..8eded89 100644 --- a/texmf/tex/latex/presenter/presenter.cls +++ b/texmf/tex/latex/presenter/presenter.cls @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2022/06/01] \ProvidesExplClass {presenter} - {2024-01-17}{0.7.2} + {2024-11-12}{0.8.0} {A LaTeX presentation framework with seamless migration (class)} \tl_new:N \l__pretcls_base_tl \clist_new:N \l__pretcls_base_options_clist diff --git a/texmf/tex/latex/presenter/presenter.sty b/texmf/tex/latex/presenter/presenter.sty index 162d831..cb24b64 100644 --- a/texmf/tex/latex/presenter/presenter.sty +++ b/texmf/tex/latex/presenter/presenter.sty @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2022/06/01] \ProvidesExplPackage {presenter} - {2024-01-17}{0.7.2} + {2024-11-12}{0.8.0} {A LaTeX presentation framework with seamless migration (package)} \tl_new:N \l__pret_bg_tl \tl_new:N \l__pret_fg_tl diff --git a/texmf/tex/latex/presenter/pretbg-block.sty b/texmf/tex/latex/presenter/pretbg-block.sty index 45f71b9..757bc57 100644 --- a/texmf/tex/latex/presenter/pretbg-block.sty +++ b/texmf/tex/latex/presenter/pretbg-block.sty @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesExplPackage {pretbg-block} - {2024-01-17}{0.7.2} + {2024-11-12}{0.8.0} {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 fb5d741..a9c40f7 100644 --- a/texmf/tex/latex/presenter/pretbg-default.sty +++ b/texmf/tex/latex/presenter/pretbg-default.sty @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesExplPackage {pretbg-default} - {2024-01-17}{0.7.2} + {2024-11-12}{0.8.0} {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 78984d2..47eff78 100644 --- a/texmf/tex/latex/presenter/pretbg-iiiblock.sty +++ b/texmf/tex/latex/presenter/pretbg-iiiblock.sty @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesExplPackage {pretbg-iiiblock} - {2024-01-17}{0.7.2} + {2024-11-12}{0.8.0} {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 21a2f4c..a18517f 100644 --- a/texmf/tex/latex/presenter/pretbg-img.sty +++ b/texmf/tex/latex/presenter/pretbg-img.sty @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesExplPackage {pretbg-img} - {2024-01-17}{0.7.2} + {2024-11-12}{0.8.0} {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 c4d4587..d145de1 100644 --- a/texmf/tex/latex/presenter/pretbg-progressbar.sty +++ b/texmf/tex/latex/presenter/pretbg-progressbar.sty @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesExplPackage {pretbg-progressbar} - {2024-01-17}{0.7.2} + {2024-11-12}{0.8.0} {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 f3d3309..5c2cb76 100644 --- a/texmf/tex/latex/presenter/pretbg-secblock.sty +++ b/texmf/tex/latex/presenter/pretbg-secblock.sty @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesExplPackage {pretbg-secblock} - {2024-01-17}{0.7.2} + {2024-11-12}{0.8.0} {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 70c21df..d9c4a40 100644 --- a/texmf/tex/latex/presenter/pretfg-cascade.sty +++ b/texmf/tex/latex/presenter/pretfg-cascade.sty @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesExplPackage {pretfg-cascade} - {2024-01-17}{0.7.2} + {2024-11-12}{0.8.0} {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 c760d9f..11a2b61 100644 --- a/texmf/tex/latex/presenter/pretfg-default.sty +++ b/texmf/tex/latex/presenter/pretfg-default.sty @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesExplPackage {pretfg-default} - {2024-01-17}{0.7.2} + {2024-11-12}{0.8.0} {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 c54a9b1..ffc2ad5 100644 --- a/texmf/tex/latex/presenter/pretfg-dual.sty +++ b/texmf/tex/latex/presenter/pretfg-dual.sty @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesExplPackage {pretfg-dual} - {2024-01-17}{0.7.2} + {2024-11-12}{0.8.0} {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 e988cdd..062885a 100644 --- a/texmf/tex/latex/presenter/pretfg-img.sty +++ b/texmf/tex/latex/presenter/pretfg-img.sty @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[2020/10/01] \ProvidesExplPackage {pretfg-img} - {2024-01-17}{0.7.2} + {2024-11-12}{0.8.0} {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 9f4de23..3d77e8e 100644 --- a/texmf/tex/latex/presenter/pretsec.sty +++ b/texmf/tex/latex/presenter/pretsec.sty @@ -21,7 +21,7 @@ %% The Current Maintainer of this work is Log Creative. %% ------------------------------------------------------------------------ \NeedsTeXFormat{LaTeX2e}[2020/10/01] -\ProvidesExplPackage{pretsec}{2024-01-17}{0.7.2} +\ProvidesExplPackage{pretsec}{2024-11-12}{0.8.0} {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 001c87c..cb06be7 100644 --- a/texmf/tex/latex/presenter/prettpl.sty +++ b/texmf/tex/latex/presenter/prettpl.sty @@ -21,12 +21,11 @@ %% The Current Maintainer of this work is Log Creative. %% ------------------------------------------------------------------------ \NeedsTeXFormat{LaTeX2e}[2020/10/01] -\ProvidesExplPackage{prettpl}{2024-01-17}{0.7.2} +\ProvidesExplPackage{prettpl}{2024-11-12}{0.8.0} {template management for presenter} -\RequirePackage { xtemplate } \prg_new_conditional:Npnn \prettpl_if_template_exist:nn #1#2 { T, F, TF } { - \cs_if_exist:cTF { \c__xtemplate_code_root_tl #1 / #2 } + \cs_if_exist:cTF { \c__template_code_root_tl #1 / #2 } { \prg_return_true: } { \prg_return_false: } } @@ -38,13 +37,13 @@ { \DeclareInstance { #1 } { base } { #2 } { } } { \msg_info:nnnn { presenter } { no-template } { #1 } { #2 } } } -\DeclareObjectType { background / canvas } { 0 } -\DeclareObjectType { background / headline } { 0 } -\DeclareObjectType { background / footline } { 0 } -\DeclareObjectType { foreground / sectioning } { 2 } -\DeclareObjectType { foreground / headline } { 0 } -\DeclareObjectType { foreground / footline } { 0 } -\DeclareObjectType { foreground / canvas } { 0 } +\NewTemplateType { background / canvas } { 0 } +\NewTemplateType { background / headline } { 0 } +\NewTemplateType { background / footline } { 0 } +\NewTemplateType { foreground / sectioning } { 2 } +\NewTemplateType { foreground / headline } { 0 } +\NewTemplateType { foreground / footline } { 0 } +\NewTemplateType { foreground / canvas } { 0 } \NewDocumentCommand { \LoadPresenterBackground } { O{canvas, headline, footline} m } {