texlive[64374] Master/texmf-dist: clicks (13sep22)

commits+karl at tug.org commits+karl at tug.org
Tue Sep 13 22:42:11 CEST 2022


Revision: 64374
          http://tug.org/svn/texlive?view=revision&revision=64374
Author:   karl
Date:     2022-09-13 22:42:11 +0200 (Tue, 13 Sep 2022)
Log Message:
-----------
clicks (13sep22)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/clicks/README.md
    trunk/Master/texmf-dist/doc/latex/clicks/clicks.pdf
    trunk/Master/texmf-dist/doc/latex/clicks/clicks.tex
    trunk/Master/texmf-dist/tex/latex/clicks/clicks.sty

Modified: trunk/Master/texmf-dist/doc/latex/clicks/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/clicks/README.md	2022-09-13 20:41:53 UTC (rev 64373)
+++ trunk/Master/texmf-dist/doc/latex/clicks/README.md	2022-09-13 20:42:11 UTC (rev 64374)
@@ -1,4 +1,5 @@
 [![make](https://github.com/yegor256/clicks/actions/workflows/latexmk.yml/badge.svg)](https://github.com/yegor256/clicks/actions/workflows/latexmk.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.

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

Modified: trunk/Master/texmf-dist/doc/latex/clicks/clicks.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/clicks/clicks.tex	2022-09-13 20:41:53 UTC (rev 64373)
+++ trunk/Master/texmf-dist/doc/latex/clicks/clicks.tex	2022-09-13 20:42:11 UTC (rev 64374)
@@ -1,6 +1,6 @@
 % (The MIT License)
 %
-% Copyright (c) 2021 Yegor Bugayenko
+% Copyright (c) 2021-2022 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
@@ -28,7 +28,7 @@
 
 \title{\ff{clicks}: \LaTeX{} Package \\ for Slide Deck Animation}
 \author{Yegor Bugayenko}
-\date{0.2.0 2021/09/18}
+\date{0.3.1 2022/09/13}
 
 \begin{document}
 \pagenumbering{gobble}
@@ -76,7 +76,7 @@
 use the \ff{static} package option.
 
 The optional parameters at \ff{\char`\\plick\{\}} and \ff{\char`\\plush\{\}}
-are the minutes: how much you are planning to stay at this animation.
+are the minutes: how long you are planning to stay at this animation.
 The minutes are accumulated in the \ff{minutes} counter, which
 you can show, for example, at your header. This will help you track
 time during the presentation. The commands
@@ -89,4 +89,4 @@
 If you want to add a feature or fix a bug, you are welcome
 to submit an issue or make a pull request.
 
-\end{document}
\ No newline at end of file
+\end{document}

Modified: trunk/Master/texmf-dist/tex/latex/clicks/clicks.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/clicks/clicks.sty	2022-09-13 20:41:53 UTC (rev 64373)
+++ trunk/Master/texmf-dist/tex/latex/clicks/clicks.sty	2022-09-13 20:42:11 UTC (rev 64374)
@@ -1,6 +1,6 @@
 % (The MIT License)
 %
-% Copyright (c) 2021 Yegor Bugayenko
+% Copyright (c) 2021-2022 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
@@ -21,7 +21,7 @@
 % SOFTWARE.
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{clicks}[2021/09/18 0.2.0 Clicks]
+\ProvidesPackage{clicks}[2022/09/13 0.3.1 Clicks]
 
 \RequirePackage{xkeyval}
 \RequirePackage{etoolbox}
@@ -37,20 +37,24 @@
 
 \newcounter{minutes}
 
-% Print the content as is
+% Print the content as is.
 \makeatletter\newcommand\print[1]{%
   \gappto\clicks at body{{#1\par}}%
 }\makeatother
 
+% Flush the page: print the entire content.
 \makeatletter\newcommand\flush[1][1]{%
-  \clicks at flush%
-  \renewcommand*\clicks at body{}%
+  \ifx\clicks at body\empty\else%
+    \clicks at flush%
+    \renewcommand*\clicks at body{}%
+  \fi%
   \ifclicks at static\else%
     \addtocounter{minutes}{#1}%
   \fi%
 }
 
-\makeatletter\newcommand\click[1][1]{%
+% Print the content and wait for more.
+\makeatletter\newcommand\click[1][0]{%
   \ifclicks at static\else%
     \addtocounter{minutes}{#1}%
   \fi%



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