diff options
author | Norbert Preining <preining@logic.at> | 2021-04-04 02:21:09 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2021-04-04 02:21:09 +0000 |
commit | 3182ef9f939913cf3f57a061c7ab1d11eb436ed1 (patch) | |
tree | d35e0ca4af343d5c86fcb768316a81ccac985049 /Master/texmf-dist/source/latex/powerdot | |
parent | fdce9696f6af3dc078f45f48e2365156e249d240 (diff) |
powerdot (4apr21)
git-svn-id: svn://tug.org/texlive/trunk@58730 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/powerdot')
-rw-r--r-- | Master/texmf-dist/source/latex/powerdot/powerdot.dtx | 49 |
1 files changed, 28 insertions, 21 deletions
diff --git a/Master/texmf-dist/source/latex/powerdot/powerdot.dtx b/Master/texmf-dist/source/latex/powerdot/powerdot.dtx index 4b3ef472462..78b701518ab 100644 --- a/Master/texmf-dist/source/latex/powerdot/powerdot.dtx +++ b/Master/texmf-dist/source/latex/powerdot/powerdot.dtx @@ -26,7 +26,7 @@ % will be included by the documentation. % %% --------------------------------------------------------------------------------- -%% Copyright (C) 2005-2008 Hendri Adriaens, Chris Ellison; 2009-2017 Hendri Adriaens +%% Copyright (C) 2005-2008 Hendri Adriaens, Chris Ellison; 2009-2021 Hendri Adriaens %% --------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -87,8 +87,8 @@ \input{pdpream.ble} \OnlyDescription %\EnableCrossrefs -\def\fileversion{v1.5c} -\def\filedate{2017/08/28} +\def\fileversion{v1.6} +\def\filedate{2021/03/25} \begin{document} \DocInput{powerdot.dtx} \let\Section\section\def\section*#1{\Section*{#1}\addcontentsline{toc}{section}{#1}} @@ -163,9 +163,10 @@ Kakuto, Uwe Kern, Kyanh, Theo Stewart, and Don P. Story. % \changes{v1.5a}{2015/11/29}{Added requirement for \texttt{pst-ovl} to get overlays working after \texttt{pstricks} moved the code there} % \changes{v1.5b}{2017/07/22}{Added requirement for latest \texttt{graphicx} to work with latest \texttt{dvips}} % \changes{v1.5b}{2017/07/22}{Updated documentation with respect to handout options} -% \changes{v1.5c}{2017/08/28}{Replaced clock code by the version by Alexander Grahn to achieve compatibility with the \pf{animate} package.} +% \changes{v1.5c}{2017/08/28}{Replaced clock code by the version by Alexander Grahn to achieve compatibility with the \pf{animate} package} +% \changes{v1.6}{2021/03/25}{Replaced usage of general \texttt{@inputcheck} by package specific \texttt{pd@vrbout} to solve a bug with references} % -% \CheckSum{3375} +% \CheckSum{3382} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -2602,6 +2603,10 @@ Kakuto, Uwe Kern, Kyanh, Theo Stewart, and Don P. Story. %notice, but that your name will be included in the documentation %when you make a contribution. This is done to guarantee that we can %adapt files if maintenance is needed. +%\question Hyperlinks in the presentation seem off by 1 page. +%\answer This might happen in particular PDF viewers when using +%|paper=smartboard| in combination with continuous view. Use page +%by page view instead. %\end{itemize} % %If your question has not been answered at this point, advance to the @@ -2745,7 +2750,7 @@ Kakuto, Uwe Kern, Kyanh, Theo Stewart, and Don P. Story. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{powerdot} - [2017/08/28 v1.5c powerdot presentation class (HA)] + [2021/03/25 v1.6 powerdot presentation class (HA)] % \end{macrocode} % Initializations. % \begin{macrocode} @@ -2766,6 +2771,7 @@ Kakuto, Uwe Kern, Kyanh, Theo Stewart, and Don P. Story. \newtoks\pd@body \newwrite\pd@bmout \newwrite\pd@tocout +\newwrite\pd@vrbout \newlength\pd@frsep \newlength\pd@colsep \newlength\slidewidth @@ -3576,9 +3582,9 @@ Kakuto, Uwe Kern, Kyanh, Theo Stewart, and Don P. Story. % Start verbatim reading and writing to file. % \begin{macrocode} \def\pd@tempa{% - \immediate\openout\@inputcheck\jobname.vrb\relax + \immediate\openout\pd@vrbout\jobname.vrb\relax \def\verbatim@processline{% - \immediate\write\@inputcheck{\the\verbatim@line}% + \immediate\write\pd@vrbout{\the\verbatim@line}% }% \begingroup\let\do\@makeother\dospecials\catcode`\^^M\active \verbatim@start @@ -3588,7 +3594,7 @@ Kakuto, Uwe Kern, Kyanh, Theo Stewart, and Don P. Story. % Afterwards, execute the slide producing macro. % \begin{macrocode} \@namedef{end#1}{% - \endgroup\immediate\closeout\@inputcheck + \endgroup\immediate\closeout\pd@vrbout \let\verbatim@processline\pd@orig@verbatim@processline \pd@slide }% @@ -3714,7 +3720,7 @@ Kakuto, Uwe Kern, Kyanh, Theo Stewart, and Don P. Story. % \changes{v1.1}{2005/09/19}{Added missing \cs{pd@currenttype} initialization} % \changes{v1.2}{2005/10/09}{Added \cs{@currentlabel} definition} % \changes{v1.3}{2005/12/06}{Template specific \texttt{textfont} properly sets \cs{default@color}} -% \changes{v1.4}{2005/12/10}{Added exceptions to inhibit logo/randomdots on blackslide/emptyslide.} +% \changes{v1.4}{2005/12/10}{Added exceptions to inhibit logo/randomdots on blackslide/emptyslide} % This is the main slide producing macro. % \begin{macrocode} \def\pd@sl@de{% @@ -3810,7 +3816,8 @@ Kakuto, Uwe Kern, Kyanh, Theo Stewart, and Don P. Story. \edef\pd@tempa{\expandafter\pd@tempa\pd@tempb\@nil}% % \end{macrocode} % Insert the clock. -% \changes{v1.4}{2005/12/10}{Added arguments for \texttt{clockformat} and \texttt{clockrefresh} values.} +% \changes{v1.4}{2005/12/10}{Added arguments for \texttt{clockformat} and \texttt{clockrefresh} values} +% \changes{v1.6}{2021/03/25}{Fixed rotation of the clock for smartboard paper} % \begin{macrocode} \ifx\pd@@clockpos\@empty\else \@tempdima\pd@@clockcharsize @@ -3819,7 +3826,7 @@ Kakuto, Uwe Kern, Kyanh, Theo Stewart, and Don P. Story. \pd@PdfAnnot{\pd@@clockwidth}{\pd@@clockheight}{0pt}{% /Subtype/Widget/FT/Tx/T (pdclock.\the\pd@clockcnt) /Ff 1 /DA (/Helv \strip@pt\@tempdima\space Tf \pd@tempa\space rg) - /MK<</R \ifnum\pd@orient=\z@ 90\else 0\fi /BG []/BC []>> + /MK<</R \ifnum\pd@orient=\z@\ifnum\pd@paper=\thr@@ 0\else 90\fi\else 0\fi /BG []/BC []>> /Q \pd@@clockalign\space /AA << /PO << /S/JavaScript/JS(\pd@startclock\pd@@clockformat\pd@@clockrefresh) >> @@ -5138,7 +5145,7 @@ Kakuto, Uwe Kern, Kyanh, Theo Stewart, and Don P. Story. % to scan lines for |\lyxend|. We only stop if |\lyxend| occurs on the % first character of the input line. % \begin{macrocode} - \immediate\openout\@inputcheck\jobname.vrb\relax + \immediate\openout\pd@vrbout\jobname.vrb\relax \def\verbatim@processline{% % \end{macrocode} % Check for |\lyxend|. @@ -5177,21 +5184,21 @@ Kakuto, Uwe Kern, Kyanh, Theo Stewart, and Don P. Story. % one line via an input stream and execute that. % \begin{macrocode} \def\next{% - \endgroup\immediate\closeout\@inputcheck + \endgroup\immediate\closeout\pd@vrbout \let\verbatim@processline\pd@orig@verbatim@processline \pd@slide\endgroup - \immediate\openout\@inputcheck\jobname.vrb\relax - \immediate\write\@inputcheck{\pd@lyxrem}% - \immediate\closeout\@inputcheck - \immediate\openin\@inputcheck\jobname.vrb\relax - \immediate\read\@inputcheck to\pd@tempa - \immediate\closein\@inputcheck\pd@tempa + \immediate\openout\pd@vrbout\jobname.vrb\relax + \immediate\write\pd@vrbout{\pd@lyxrem}% + \immediate\closeout\pd@vrbout + \immediate\openin\pd@vrbout\jobname.vrb\relax + \immediate\read\pd@vrbout to\pd@tempa + \immediate\closein\pd@vrbout\pd@tempa }% \else % \end{macrocode} % Write a line of the body to file. % \begin{macrocode} - \immediate\write\@inputcheck{\the\verbatim@line}% + \immediate\write\pd@vrbout{\the\verbatim@line}% \let\pd@tempa\relax \fi \pd@tempa |