From 0585a72dae13da024145995031edb2a1cf21dece Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 18 Aug 2023 03:00:59 +0000 Subject: CTAN sync 202308180300 --- graphics/pxpic/README.md | 2 +- graphics/pxpic/pxpic.dtx | 37 ++++++++++++++++++++----------------- graphics/pxpic/pxpic.pdf | Bin 367537 -> 368118 bytes 3 files changed, 21 insertions(+), 18 deletions(-) (limited to 'graphics') diff --git a/graphics/pxpic/README.md b/graphics/pxpic/README.md index f14ef27e3c..fcb341dedf 100644 --- a/graphics/pxpic/README.md +++ b/graphics/pxpic/README.md @@ -1,7 +1,7 @@ ------------------------------------------------------------------------------- # pxpic -- draw pixel pictures -Version 2023-02-11 v1.4 +Version 2023-08-16 v1.5 Released under the LaTeX Project Public License v1.3c or later See http://www.latex-project.org/lppl.txt diff --git a/graphics/pxpic/pxpic.dtx b/graphics/pxpic/pxpic.dtx index 1a479139ba..383d027c8e 100644 --- a/graphics/pxpic/pxpic.dtx +++ b/graphics/pxpic/pxpic.dtx @@ -54,7 +54,7 @@ and the derived files pxpic.pdf \expandafter\endgroup \fi % -\ProvidesFile{pxpic.dtx}[2023-02-11 v1.4 draw pixel pictures] +\ProvidesFile{pxpic.dtx}[2023-08-16 v1.5 draw pixel pictures] \PassOptionsToPackage{full}{textcomp} \documentclass{l3doc} \RequirePackage[oldstylenums,nott]{kpfonts} @@ -240,7 +240,7 @@ and the derived files pxpic.pdf \Large draw pixel pictures^^A }{pxpic - draw pixel pictures}^^A } - \date{2023-02-11 v1.4} + \date{2023-08-16 v1.5} \author{Jonathan P. Spratte\thanks{\protect\randomize{jspratte@yahoo.de}}} \DocInput{pxpic.dtx} \end{document} @@ -834,7 +834,7 @@ and the derived files pxpic.pdf % \noindent % \codeexample$ % \newcommand\gridpxpic[3][] -% {{\setlength\fboxsep{#2}\colorbox{black}{\pxpic[#1,gap-hack=-\fboxsep]{#3}}}} +% {{\setlength\fboxsep{#2}\colorbox{black}{\pxpic[gap-hack=-\fboxsep,#1]{#3}}}} % \gridpxpic % [colours={g=green,w=white},size=8pt] % {1pt} @@ -855,7 +855,7 @@ and the derived files pxpic.pdf % % Report who we are % \begin{macrocode} -\ProvidesPackage{pxpic}[2023-02-11 v1.4 draw pixel pictures] +\ProvidesPackage{pxpic}[2023-08-16 v1.5 draw pixel pictures] % \end{macrocode} % and load dependencies % \begin{macrocode} @@ -1096,7 +1096,10 @@ and the derived files pxpic.pdf % correct and the output is bottom aligned. % \begin{macrocode} \ekvcompile\pxpiclogo@settings#1{pxpic} - {size=#1,gap-hack=\z@,b,mode=px,colours={o=[HTML]{9F393D},g=black!75},skip=.} + { + size=#1,gap-hack=\z@,b,mode=px,colours={o=[HTML]{9F393D},g=black!75},skip=. + ,lines=group + } \newcommand*\pxpiclogo[1][.13ex] {% \begingroup @@ -1161,8 +1164,8 @@ and the derived files pxpic.pdf % \begin{macrocode} \protected\def\pxpicnewcolorlist#1% {% - \@ifundefined{pxpic@colorlist@#1} - {\pxpicsetcolorlist{#1}} + \@ifundefined{pxpic@colorlist@#1}% + {\pxpicsetcolorlist{#1}}% {\pxpic@err@defined@colorlist{#1}\@gobble}% } \protected\def\pxpicsetcolorlist#1% @@ -1175,8 +1178,8 @@ and the derived files pxpic.pdf } \protected\def\pxpicaddcolorlist#1% {% - \@ifundefined{pxpic@colorlist@#1} - {\pxpic@err@unknown@colorlist{#1}\@gobble} + \@ifundefined{pxpic@colorlist@#1}% + {\pxpic@err@unknown@colorlist{#1}\@gobble}% {\expandafter\pxpic@addcolorlist\csname pxpic@colorlist@#1\endcsname}% } \protected\long\def\pxpic@addcolorlist#1#2% @@ -1254,7 +1257,7 @@ and the derived files pxpic.pdf \pxpic@@kern-% \pxpic@parse@px{##1}% \pxpic@parseline - } + }% } \protected\def\pxpic@@parse@group {% @@ -1323,7 +1326,7 @@ and the derived files pxpic.pdf % \begin{macrocode} \newcommand\pxpic@parse@px@px[1] {% - \ekvifdefinedNoVal{pxpic@px}{#1} + \ekvifdefinedNoVal{pxpic@px}{#1}% {\csname\ekv@name{pxpic@px}{#1}N\endcsname}% {% \pxpic@err@unknown@px{#1}% @@ -1340,8 +1343,8 @@ and the derived files pxpic.pdf % \begin{macrocode} \newcommand\pxpic@parse@px@named[1] {% - \pxpic@ifempty{#1} - {\pxskip} + \pxpic@ifempty{#1}% + {\pxskip}% {{\@declaredcolor{#1}\px}}% } % \end{macrocode} @@ -1371,8 +1374,8 @@ and the derived files pxpic.pdf {% \pxpicnewmode{#1}% {% - \pxpic@ifempty{##1} - {\pxskip} + \pxpic@ifempty{##1}% + {\pxskip}% {{\@undeclaredcolor[#1]{##1}\px}}% }% } @@ -1449,8 +1452,8 @@ and the derived files pxpic.pdf {% \unexpanded\iffalse{\fi \pxpic@ifbracket\pxpic@end#2.\pxpic@end[]\pxpic@end - {\expandafter\expandafter\expandafter\pxpic@openbrace\pxpic@setcolor@a} - {\expandafter\expandafter\expandafter\pxpic@openbrace\pxpic@setcolor@b} + {\expandafter\expandafter\expandafter\pxpic@openbrace\pxpic@setcolor@a}% + {\expandafter\expandafter\expandafter\pxpic@openbrace\pxpic@setcolor@b}% {#1}{#2}% }% } diff --git a/graphics/pxpic/pxpic.pdf b/graphics/pxpic/pxpic.pdf index 1a1aeaf922..213f230ab1 100644 Binary files a/graphics/pxpic/pxpic.pdf and b/graphics/pxpic/pxpic.pdf differ -- cgit v1.2.3