diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/sillypage/sillypage.sty | 17 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/sillypage/sillywalk-map.png | bin | 6060 -> 0 bytes |
2 files changed, 7 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/sillypage/sillypage.sty b/Master/texmf-dist/tex/latex/sillypage/sillypage.sty index 3bb8a4c03ff..5bfb15ddb1c 100644 --- a/Master/texmf-dist/tex/latex/sillypage/sillypage.sty +++ b/Master/texmf-dist/tex/latex/sillypage/sillypage.sty @@ -10,6 +10,7 @@ %% %% Copyright 2022 Phelype Oleinik /phelype.oleinik@latex-project.org/ %% Paulo Cereda /cereda.paulo@gmail.com/ +%% samcarter /sam.carter8@aol.com/ %% %% This work may be distributed and/or modified under the conditions of the %% LaTeX Project Public License, either version 1.3c of this license or (at @@ -20,8 +21,8 @@ %% and version 1.3c or later is part of all distributions of LaTeX version %% 2005/12/01 or later. %% -\def\sillypageDate{2022-01-11} -\def\sillypageVersion{1.2} +\def\sillypageDate{2022-01-20} +\def\sillypageVersion{1.3} \ProvidesPackage{sillypage}[\sillypageDate\space\sillypageVersion\space The silly walk as page numbering style] \RequirePackage{graphicx} @@ -30,9 +31,8 @@ \newcommand*\@silly[1]{\expandafter\@silly@walk \expandafter{\number\numexpr#1\relax}} \newcommand*\silly@steps{12}% -\newcommand*\silly@width{48px}% \newcommand*\silly@height{.8cm}% -\newcommand*\silly@picture{sillywalk-map.png}% +\newcommand*\silly@picture{sillywalk-map.pdf}% \def\@silly@walk#1{% \@ifundefined{texorpdfstring}{\@firstoftwo}{\texorpdfstring}% {\@silly@walk@{#1}}% TeX @@ -42,20 +42,17 @@ \expandafter\@silly@walk@\expandafter {\number\numexpr#1-\silly@steps\expandafter}% \else - \expandafter\includegraphics\expanded{[height=\silly@height,trim={% - \the\dimexpr\silly@width*(#1-1)\relax\space 0 - \the\dimexpr\silly@width*(\silly@steps-#1)\relax\space 0},clip]}% - {\silly@picture}% + \includegraphics[height=\silly@height,page=#1]{\silly@picture}% \fi} %% %% This work is "maintained" (as per the LPPL maintenance status) -%% by Phelype Oleinik and Paulo Cereda. +%% by Phelype Oleinik, Paulo Cereda and samcarter. %% %% This work consists of the files sillypage.dtx, and %% sillypage.ins, %% and the derived files sillypage.sty, %% sillypage.pdf, -%% sillywalk-map.png, and +%% sillywalk-map.pdf, and %% README.md. %% %% End of file `sillypage.sty'. diff --git a/Master/texmf-dist/tex/latex/sillypage/sillywalk-map.png b/Master/texmf-dist/tex/latex/sillypage/sillywalk-map.png Binary files differdeleted file mode 100644 index 229d85f8284..00000000000 --- a/Master/texmf-dist/tex/latex/sillypage/sillywalk-map.png +++ /dev/null |