From 2c19ae5fd0501fc4bdeac0b5f393b35e30bc489f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 24 Feb 2014 22:59:05 +0000 Subject: tdclock (23feb14) git-svn-id: svn://tug.org/texlive/trunk@33043 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/tdclock/Changelog | 12 ++++++++++ Master/texmf-dist/doc/latex/tdclock/README | 11 ++++----- .../doc/latex/tdclock/tdclock-beamer-example.pdf | Bin 131164 -> 87447 bytes .../doc/latex/tdclock/tdclock-beamer-example.tex | 22 ++++++++++++++++-- .../texmf-dist/doc/latex/tdclock/tdclock-doc.pdf | Bin 135432 -> 157446 bytes .../texmf-dist/doc/latex/tdclock/tdclock-doc.tex | 25 ++++++++++++++++++--- 6 files changed, 60 insertions(+), 10 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/tdclock/Changelog (limited to 'Master/texmf-dist/doc/latex/tdclock') diff --git a/Master/texmf-dist/doc/latex/tdclock/Changelog b/Master/texmf-dist/doc/latex/tdclock/Changelog new file mode 100644 index 00000000000..4a9a25e4cba --- /dev/null +++ b/Master/texmf-dist/doc/latex/tdclock/Changelog @@ -0,0 +1,12 @@ + +tdclock.sty 2.5 (released 2014-2-21) + +This is a stable release. The following items were fixed and/or added: + + - Added the option resetatpages="pages" to the package. With this option we can specify the pages at + which the crono counter is reset to zero. + + - We have taken into account the suggestions given in + http://tex.stackexchange.com/questions/148453/problem-with-boxes-in-tdclock + + diff --git a/Master/texmf-dist/doc/latex/tdclock/README b/Master/texmf-dist/doc/latex/tdclock/README index 23d0f1ce1ec..95a1fda9f47 100644 --- a/Master/texmf-dist/doc/latex/tdclock/README +++ b/Master/texmf-dist/doc/latex/tdclock/README @@ -1,12 +1,13 @@ Package name: tdclock (The LaTeX tdclock) Package authors: Luis Randez, Juan I. Montijano -Version/Release: 2.2 +Version/Release: 2.5 Features: -The tdclock package allows the users to insert into a -LATEX generated pdf document a ticking digital clock showing the date and/or -time at the moment in which the document is being read. +The tdclock package allows the users to insert into a LATEX +generated pdf document a ticking digital clock showing the +date and/or time at the moment in which the document is +being read. Installation: @@ -14,4 +15,4 @@ Installation: Copy the package file tdclock.sty to a directory where LATEX can find it. -June 2009 \ No newline at end of file +February 2014 diff --git a/Master/texmf-dist/doc/latex/tdclock/tdclock-beamer-example.pdf b/Master/texmf-dist/doc/latex/tdclock/tdclock-beamer-example.pdf index 2e9628a2600..4e0c72d4a7f 100644 Binary files a/Master/texmf-dist/doc/latex/tdclock/tdclock-beamer-example.pdf and b/Master/texmf-dist/doc/latex/tdclock/tdclock-beamer-example.pdf differ diff --git a/Master/texmf-dist/doc/latex/tdclock/tdclock-beamer-example.tex b/Master/texmf-dist/doc/latex/tdclock/tdclock-beamer-example.tex index c90ed74894e..b12ffba4e8d 100644 --- a/Master/texmf-dist/doc/latex/tdclock/tdclock-beamer-example.tex +++ b/Master/texmf-dist/doc/latex/tdclock/tdclock-beamer-example.tex @@ -3,7 +3,7 @@ %\usepackage[font=Cour, timeinterval=10]{tickingclock} %\usepackage[font=Helv, timeinterval=30]{tickingclock} \usepackage[font=Times,timeinterval=10, timeduration=2.0, timedeath=0, fillcolorwarningsecond=white!60!yellow, -timewarningfirst=50,timewarningsecond=80]{tdclock} +timewarningfirst=50,timewarningsecond=80,resetatpages=2]{tdclock} %\usepackage{times} %\usepackage{helvet} @@ -19,6 +19,7 @@ timewarningfirst=50,timewarningsecond=80]{tdclock} \begin{document} \frame{\titlepage} +%\pagereset{-1} \begin{frame}[t] \frametitle{Introduction} @@ -37,6 +38,24 @@ We are putting here a clock with the macro \quad Before that, the macro \quad \structure{\texttt{$\backslash$initclock}} \quad must have been used (only one time !). +\bigskip +This document uses the option \structure{\texttt{resetatpages=2}}. This means +that the crono is reset to zero at page 2. + +Below you can see a crono advancing. Every time you access to this page, +the crono should be reset to 0 (the output is updated every 10 seconds, as indicated +with the option \structure{\texttt{timeinterval=10}}, so it could appear +some non zero seconds, not greater than 10) + +\bigskip +Crono: \quad\cronominutes\pdfcolon\cronoseconds + +\bigskip + +Wait some seconds until you see the crono advancing, then go to the next page, go back +to this page again and wait some seconds to see +how the crono is reset. + \end{frame} % This is an example of inserting @@ -97,7 +116,6 @@ To do that, we have used \texttt{$\backslash$resetcrono\{$\backslash$beamerbutton\{reset\}\}} } - \end{frame} % diff --git a/Master/texmf-dist/doc/latex/tdclock/tdclock-doc.pdf b/Master/texmf-dist/doc/latex/tdclock/tdclock-doc.pdf index 8fd4a8d8d35..42978bfed65 100644 Binary files a/Master/texmf-dist/doc/latex/tdclock/tdclock-doc.pdf and b/Master/texmf-dist/doc/latex/tdclock/tdclock-doc.pdf differ diff --git a/Master/texmf-dist/doc/latex/tdclock/tdclock-doc.tex b/Master/texmf-dist/doc/latex/tdclock/tdclock-doc.tex index 2c851f48a9e..134b1b7634b 100644 --- a/Master/texmf-dist/doc/latex/tdclock/tdclock-doc.tex +++ b/Master/texmf-dist/doc/latex/tdclock/tdclock-doc.tex @@ -4,9 +4,9 @@ \usepackage{hyperref} \usepackage{xkeyval} \usepackage[font=Times,timeinterval=10,timeduration=2.0, timewarningfirst=50,timewarningsecond=70, -fillcolorwarningsecond=white!60!yellow, timedeath=0]{tdclock} +fillcolorwarningsecond=white!60!yellow, timedeath=0,resetatpages=3]{tdclock} -\title{The Ticking Digital Clock \texttt{tdclock} package v2.2} +\title{The Ticking Digital Clock \texttt{tdclock} package v2.3} \author{Luis R\'{a}ndez \& Juan I. Montijano} %\affiliation[IUMA]{IUMA \\ Universidad de Zaragoza } \date{\today} @@ -101,6 +101,25 @@ time orders. \item[] If this option is set to 1, after 110\% of the time specified in timeduration, the pdf document will be closed. The default is set to 0 (the document is not closed). + +\item resetatpages= ``pages where the crono is reset to zero'' +\item[] +\begin{tabular}{lp{6.5cm}} +resetatpages= none & does nothing (the default). \\ +resetatpages= all & the crono is reset to zero every time you changes the page. \\ +resetatpages= $n$ & the crono is reset to zero every time you go to the page $n$. \\ +resetatpages= $\{n1, n2, \ldots \}$ & the crono is reset to zero every time you go to any of the pages $n1, n2, \ldots$ +\end{tabular} +\item pageresetcontrol= ``The way the pages are specified'' +\item[] +\begin{tabular}{lp{6.5cm}} +pageresetcontrol= pdfpagelabels & The pdf labels must be used (the default). You should put the page number or label LaTex puts on the page. +Usually, this is the number that appears as page number in the final document. For this page for example is 3. +In beamer, when overlays are used, all sub-slides have the same pdfpagelabel, the one of the frame.\\ +pageresetcontrol= pdfpagenumbers & The internal pdf page number must be used. First page has page number 0, the second one has 1 and so on. +In beamer, when overlays are used, every sub-slide have different pdfpagenumber, in consecutive order. The page number in the document does not +coincides with the internal pdf page number. In this docunment, this page 3 has internal pdf page number 2\\ +\end{tabular} \end{itemize} Some examples of using the options @@ -321,4 +340,4 @@ macro & result & action \\ \texttt{$\backslash$factorclockfont\{2.0\}$\backslash$tdtime} & \factorclockfont{2.0}\tdtime \\ \hline \end{tabular} -\end{document} \ No newline at end of file +\end{document} -- cgit v1.2.3