summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/clicks/README.md1
-rw-r--r--Master/texmf-dist/doc/latex/clicks/clicks.pdfbin257190 -> 261653 bytes
-rw-r--r--Master/texmf-dist/doc/latex/clicks/clicks.tex8
-rw-r--r--Master/texmf-dist/tex/latex/clicks/clicks.sty16
4 files changed, 15 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/clicks/README.md b/Master/texmf-dist/doc/latex/clicks/README.md
index f0ba1fd2bc7..f77fe273236 100644
--- a/Master/texmf-dist/doc/latex/clicks/README.md
+++ b/Master/texmf-dist/doc/latex/clicks/README.md
@@ -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.
diff --git a/Master/texmf-dist/doc/latex/clicks/clicks.pdf b/Master/texmf-dist/doc/latex/clicks/clicks.pdf
index 39146542d2c..41a3696a455 100644
--- a/Master/texmf-dist/doc/latex/clicks/clicks.pdf
+++ b/Master/texmf-dist/doc/latex/clicks/clicks.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/clicks/clicks.tex b/Master/texmf-dist/doc/latex/clicks/clicks.tex
index 7a64b63990a..79676014101 100644
--- a/Master/texmf-dist/doc/latex/clicks/clicks.tex
+++ b/Master/texmf-dist/doc/latex/clicks/clicks.tex
@@ -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 @@ If you need to render the document without animation, just
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 @@ in the \ff{yegor256/clicks} GitHub repository.
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}
diff --git a/Master/texmf-dist/tex/latex/clicks/clicks.sty b/Master/texmf-dist/tex/latex/clicks/clicks.sty
index 68bf2b77ed1..b2aa13ff699 100644
--- a/Master/texmf-dist/tex/latex/clicks/clicks.sty
+++ b/Master/texmf-dist/tex/latex/clicks/clicks.sty
@@ -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@body{{#1\par}}%
}\makeatother
+% Flush the page: print the entire content.
\makeatletter\newcommand\flush[1][1]{%
- \clicks@flush%
- \renewcommand*\clicks@body{}%
+ \ifx\clicks@body\empty\else%
+ \clicks@flush%
+ \renewcommand*\clicks@body{}%
+ \fi%
\ifclicks@static\else%
\addtocounter{minutes}{#1}%
\fi%
}
-\makeatletter\newcommand\click[1][1]{%
+% Print the content and wait for more.
+\makeatletter\newcommand\click[1][0]{%
\ifclicks@static\else%
\addtocounter{minutes}{#1}%
\fi%