texlive[73172] Master: clicks (20dec24)

commits+karl at tug.org commits+karl at tug.org
Fri Dec 20 23:32:54 CET 2024


Revision: 73172
          https://tug.org/svn/texlive?view=revision&revision=73172
Author:   karl
Date:     2024-12-20 23:32:54 +0100 (Fri, 20 Dec 2024)
Log Message:
-----------
clicks (20dec24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/clicks/DEPENDS.txt
    trunk/Master/texmf-dist/doc/latex/clicks/LICENSE.txt
    trunk/Master/texmf-dist/doc/latex/clicks/README.md
    trunk/Master/texmf-dist/doc/latex/clicks/clicks.pdf
    trunk/Master/texmf-dist/source/latex/clicks/clicks.dtx
    trunk/Master/texmf-dist/source/latex/clicks/clicks.ins
    trunk/Master/texmf-dist/tex/latex/clicks/clicks.sty
    trunk/Master/tlpkg/tlpsrc/clicks.tlpsrc

Modified: trunk/Master/texmf-dist/doc/latex/clicks/DEPENDS.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/clicks/DEPENDS.txt	2024-12-20 22:31:22 UTC (rev 73171)
+++ trunk/Master/texmf-dist/doc/latex/clicks/DEPENDS.txt	2024-12-20 22:32:54 UTC (rev 73172)
@@ -1,2 +1,9 @@
-hard xkeyval
 hard etoolbox
+hard pgfopts
+soft href-ul
+soft hypdoc
+soft l3build
+soft libertine
+soft scheme-basic
+soft tools
+soft xetex

Modified: trunk/Master/texmf-dist/doc/latex/clicks/LICENSE.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/clicks/LICENSE.txt	2024-12-20 22:31:22 UTC (rev 73171)
+++ trunk/Master/texmf-dist/doc/latex/clicks/LICENSE.txt	2024-12-20 22:32:54 UTC (rev 73172)
@@ -1,6 +1,6 @@
 (The MIT License)
 
-Copyright (c) 2021-2022 Yegor Bugayenko
+Copyright (c) 2021-2024 Yegor Bugayenko
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the 'Software'), to deal

Modified: trunk/Master/texmf-dist/doc/latex/clicks/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/clicks/README.md	2024-12-20 22:31:22 UTC (rev 73171)
+++ trunk/Master/texmf-dist/doc/latex/clicks/README.md	2024-12-20 22:32:54 UTC (rev 73172)
@@ -1,11 +1,15 @@
+# Rolling Animation in Slides
+
 [![make](https://github.com/yegor256/clicks/actions/workflows/l3build.yml/badge.svg)](https://github.com/yegor256/clicks/actions/workflows/l3build.yml)
 [![CTAN](https://img.shields.io/ctan/v/clicks)](https://ctan.org/pkg/clicks)
 [![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/clicks/blob/master/LICENSE.txt)
 
-This LaTeX package simulates animiation in slide deck, similar to what PowerPoint can do.
+This LaTeX package simulates animiation in slide deck,
+similar to what PowerPoint can do.
 
-First, [install it](https://en.wikibooks.org/wiki/LaTeX/Installing_Extra_Packages)
-from [CTAN](https://ctan.org/pkg/clicks) 
+First,
+[install it](https://en.wikibooks.org/wiki/LaTeX/Installing_Extra_Packages)
+from [CTAN](https://ctan.org/pkg/clicks)
 and then use in the preamble:
 
 ```tex
@@ -20,7 +24,7 @@
 \end{document}
 ```
 
-If you want to contribute yourself, make a fork, then create a branch, 
+If you want to contribute yourself, make a fork, then create a branch,
 then run `make` in the root directory.
 It should compile everything without errors. If not, submit an issue and wait.
 Otherwise, make your changes and then run `make` again. If the build is

Modified: trunk/Master/texmf-dist/doc/latex/clicks/clicks.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/clicks/clicks.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/clicks/clicks.dtx	2024-12-20 22:31:22 UTC (rev 73171)
+++ trunk/Master/texmf-dist/source/latex/clicks/clicks.dtx	2024-12-20 22:32:54 UTC (rev 73172)
@@ -1,7 +1,7 @@
 % \iffalse meta-comment
 % (The MIT License)
 %
-% Copyright (c) 2021-2022 Yegor Bugayenko
+% Copyright (c) 2021-2024 Yegor Bugayenko
 %
 % Permission is hereby granted, free of charge, to any person obtaining a copy
 % of this software and associated documentation files (the 'Software'), to deal
@@ -50,7 +50,7 @@
 %<package>\NeedsTeXFormat{LaTeX2e}
 %<package>\ProvidesPackage{clicks}
 %<*package>
-[2022-10-03 0.4.1 Slide Deck Animation]
+[2024/12/20 0.4.2 Slide Deck Animation]
 %</package>
 %<*driver>
 \documentclass{ltxdoc}
@@ -139,29 +139,26 @@
 
 % \changes{v0.1.0}{2021/09/13}{Initial version}
 
-% First, we include a few packages:
+% First, we parse package options:
 %    \begin{macrocode}
-\RequirePackage{xkeyval}
-\RequirePackage{etoolbox}
+\RequirePackage{pgfopts}
+\pgfkeys{
+  /clicks/.cd,
+  static/.store in=\clicks at static,
+}
+\ProcessPgfPackageOptions{/clicks}
 %    \end{macrocode}
 
-% Then, we parse package options:
+% Then, we define a few supplementary commands:
 %    \begin{macrocode}
 \makeatletter
-\newif\ifclicks at static
-\DeclareOption{static}{\clicks at statictrue}
+\newcommand*\clicks at body{}
+\newcommand\clicks at flush{%
+  \clicks at body\vspace*{0pt}\newpage%
+}
 \makeatother
-\ProcessOptions\relax
 %    \end{macrocode}
 
-% Then, we define a few supplementary commands:
-%    \begin{macrocode}
-\makeatletter\newcommand*\clicks at body{}\makeatother
-\makeatletter\newcommand\clicks at flush{%
-  \clicks at body\vspace*{0pt}\newpage%
-}\makeatother
-%    \end{macrocode}
-
 % Then, we declare a counter of minutes:
 %    \begin{macrocode}
 \newcounter{minutes}
@@ -170,9 +167,15 @@
 % \begin{macro}{\print}
 % Then, we define |\print| command:
 %    \begin{macrocode}
-\makeatletter\newcommand\print[1]{%
-  \gappto\clicks at body{{#1\par}}%
-}\makeatother
+\RequirePackage{etoolbox}
+\makeatletter
+\newcommand\print[1]{%
+  \def\param{#1}%
+  \ifx\param\empty\else%
+    \gappto\clicks at body{{#1\par}}%
+  \fi%
+}
+\makeatother
 %    \end{macrocode}
 % \end{macro}
 
@@ -179,15 +182,17 @@
 % \begin{macro}{\flush}
 % Then, we define |\flush| command:
 %    \begin{macrocode}
-\makeatletter\newcommand\flush[1][1]{%
+\makeatletter
+\newcommand\flush[1][1]{%
   \ifx\clicks at body\empty\else%
     \clicks at flush%
     \renewcommand*\clicks at body{}%
   \fi%
-  \ifclicks at static\else%
+  \ifdefined\clicks at static\else%
     \addtocounter{minutes}{#1}%
   \fi%
 }
+\makeatother
 %    \end{macrocode}
 % \end{macro}
 
@@ -194,14 +199,16 @@
 % \begin{macro}{\click}
 % Then, we define |\click| command:
 %    \begin{macrocode}
-\makeatletter\newcommand\click[1][0]{%
-  \ifclicks at static\else%
+\makeatletter
+\newcommand\click[1][0]{%
+  \ifdefined\clicks at static\else%
     \addtocounter{minutes}{#1}%
   \fi%
-  \ifclicks at static\else%
+  \ifdefined\clicks at static\else%
     \clicks at flush%
   \fi%
-}\makeatother
+}
+\makeatother
 %    \end{macrocode}
 % \end{macro}
 

Modified: trunk/Master/texmf-dist/source/latex/clicks/clicks.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/clicks/clicks.ins	2024-12-20 22:31:22 UTC (rev 73171)
+++ trunk/Master/texmf-dist/source/latex/clicks/clicks.ins	2024-12-20 22:32:54 UTC (rev 73172)
@@ -1,6 +1,6 @@
 %% (The MIT License)
 %%
-%% Copyright (c) 2021-2022 Yegor Bugayenko
+%% Copyright (c) 2021-2024 Yegor Bugayenko
 %%
 %% Permission is hereby granted, free of charge, to any person obtaining a copy
 %% of this software and associated documentation files (the 'Software'), to deal
@@ -26,7 +26,7 @@
 \preamble
 (The MIT License)
 
-Copyright (c) 2021-2022 Yegor Bugayenko
+Copyright (c) 2021-2024 Yegor Bugayenko
 
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the 'Software'), to deal
@@ -48,8 +48,8 @@
 \endpreamble
 \generate{\file{clicks.sty}{\from{clicks.dtx}{package}}}
 \obeyspaces
-\Msg{*** To finish the installation you have to move the ".sty"}
-\Msg{*** file into a directory searched by TeX. To produce the}
-\Msg{*** documentation run the file ".dtx" through LaTeX. If any}
-\Msg{*** questions, submit a new GitHub issue.}
+\Msg{To finish the installation you have to move the ".sty"}
+\Msg{file into a directory searched by TeX. To produce the}
+\Msg{documentation run the file ".dtx" through LaTeX. If any}
+\Msg{questions, submit a new GitHub issue.}
 \endbatchfile

Modified: trunk/Master/texmf-dist/tex/latex/clicks/clicks.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/clicks/clicks.sty	2024-12-20 22:31:22 UTC (rev 73171)
+++ trunk/Master/texmf-dist/tex/latex/clicks/clicks.sty	2024-12-20 22:32:54 UTC (rev 73172)
@@ -7,7 +7,7 @@
 %% clicks.dtx  (with options: `package')
 %% (The MIT License)
 %% 
-%% Copyright (c) 2021-2022 Yegor Bugayenko
+%% Copyright (c) 2021-2024 Yegor Bugayenko
 %% 
 %% Permission is hereby granted, free of charge, to any person obtaining a copy
 %% of this software and associated documentation files (the 'Software'), to deal
@@ -31,7 +31,7 @@
 
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{clicks}
-[2022-10-03 0.4.1 Slide Deck Animation]
+[2024/12/20 0.4.2 Slide Deck Animation]
 
 
 
@@ -41,44 +41,54 @@
 
 
 
-\RequirePackage{xkeyval}
-\RequirePackage{etoolbox}
+\RequirePackage{pgfopts}
+\pgfkeys{
+  /clicks/.cd,
+  static/.store in=\clicks at static,
+}
+\ProcessPgfPackageOptions{/clicks}
 
 \makeatletter
-\newif\ifclicks at static
-\DeclareOption{static}{\clicks at statictrue}
+\newcommand*\clicks at body{}
+\newcommand\clicks at flush{%
+  \clicks at body\vspace*{0pt}\newpage%
+}
 \makeatother
-\ProcessOptions\relax
 
-\makeatletter\newcommand*\clicks at body{}\makeatother
-\makeatletter\newcommand\clicks at flush{%
-  \clicks at body\vspace*{0pt}\newpage%
-}\makeatother
-
 \newcounter{minutes}
 
-\makeatletter\newcommand\print[1]{%
-  \gappto\clicks at body{{#1\par}}%
-}\makeatother
+\RequirePackage{etoolbox}
+\makeatletter
+\newcommand\print[1]{%
+  \def\param{#1}%
+  \ifx\param\empty\else%
+    \gappto\clicks at body{{#1\par}}%
+  \fi%
+}
+\makeatother
 
-\makeatletter\newcommand\flush[1][1]{%
+\makeatletter
+\newcommand\flush[1][1]{%
   \ifx\clicks at body\empty\else%
     \clicks at flush%
     \renewcommand*\clicks at body{}%
   \fi%
-  \ifclicks at static\else%
+  \ifdefined\clicks at static\else%
     \addtocounter{minutes}{#1}%
   \fi%
 }
+\makeatother
 
-\makeatletter\newcommand\click[1][0]{%
-  \ifclicks at static\else%
+\makeatletter
+\newcommand\click[1][0]{%
+  \ifdefined\clicks at static\else%
     \addtocounter{minutes}{#1}%
   \fi%
-  \ifclicks at static\else%
+  \ifdefined\clicks at static\else%
     \clicks at flush%
   \fi%
-}\makeatother
+}
+\makeatother
 
 \newcommand\plush[2][1]{%
   \print{#2}%

Modified: trunk/Master/tlpkg/tlpsrc/clicks.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/clicks.tlpsrc	2024-12-20 22:31:22 UTC (rev 73171)
+++ trunk/Master/tlpkg/tlpsrc/clicks.tlpsrc	2024-12-20 22:32:54 UTC (rev 73172)
@@ -1,2 +1,2 @@
-hard xkeyval
 hard etoolbox
+hard pgfopts



More information about the tex-live-commits mailing list.