texlive[67955] Master/texmf-dist: pxpic (17aug23)
commits+karl at tug.org
commits+karl at tug.org
Thu Aug 17 22:24:43 CEST 2023
Revision: 67955
http://tug.org/svn/texlive?view=revision&revision=67955
Author: karl
Date: 2023-08-17 22:24:43 +0200 (Thu, 17 Aug 2023)
Log Message:
-----------
pxpic (17aug23)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/pxpic/README.md
trunk/Master/texmf-dist/doc/latex/pxpic/pxpic.pdf
trunk/Master/texmf-dist/source/latex/pxpic/pxpic.dtx
trunk/Master/texmf-dist/tex/latex/pxpic/pxpic.sty
Modified: trunk/Master/texmf-dist/doc/latex/pxpic/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/pxpic/README.md 2023-08-16 23:43:16 UTC (rev 67954)
+++ trunk/Master/texmf-dist/doc/latex/pxpic/README.md 2023-08-17 20:24:43 UTC (rev 67955)
@@ -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
Modified: trunk/Master/texmf-dist/doc/latex/pxpic/pxpic.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/pxpic/pxpic.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/pxpic/pxpic.dtx 2023-08-16 23:43:16 UTC (rev 67954)
+++ trunk/Master/texmf-dist/source/latex/pxpic/pxpic.dtx 2023-08-17 20:24:43 UTC (rev 67955)
@@ -54,7 +54,7 @@
\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 @@
\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 at yahoo.de}}}
\DocInput{pxpic.dtx}
\end{document}
@@ -834,7 +834,7 @@
% \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 @@
%
% 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 @@
% correct and the output is bottom aligned.
% \begin{macrocode}
\ekvcompile\pxpiclogo at 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 @@
% \begin{macrocode}
\protected\def\pxpicnewcolorlist#1%
{%
- \@ifundefined{pxpic at colorlist@#1}
- {\pxpicsetcolorlist{#1}}
+ \@ifundefined{pxpic at colorlist@#1}%
+ {\pxpicsetcolorlist{#1}}%
{\pxpic at err@defined at colorlist{#1}\@gobble}%
}
\protected\def\pxpicsetcolorlist#1%
@@ -1175,8 +1178,8 @@
}
\protected\def\pxpicaddcolorlist#1%
{%
- \@ifundefined{pxpic at colorlist@#1}
- {\pxpic at err@unknown at colorlist{#1}\@gobble}
+ \@ifundefined{pxpic at colorlist@#1}%
+ {\pxpic at err@unknown at colorlist{#1}\@gobble}%
{\expandafter\pxpic at addcolorlist\csname pxpic at colorlist@#1\endcsname}%
}
\protected\long\def\pxpic at addcolorlist#1#2%
@@ -1254,7 +1257,7 @@
\pxpic@@kern-%
\pxpic at parse@px{##1}%
\pxpic at parseline
- }
+ }%
}
\protected\def\pxpic@@parse at group
{%
@@ -1323,7 +1326,7 @@
% \begin{macrocode}
\newcommand\pxpic at parse@px at px[1]
{%
- \ekvifdefinedNoVal{pxpic at px}{#1}
+ \ekvifdefinedNoVal{pxpic at px}{#1}%
{\csname\ekv at name{pxpic at px}{#1}N\endcsname}%
{%
\pxpic at err@unknown at px{#1}%
@@ -1340,8 +1343,8 @@
% \begin{macrocode}
\newcommand\pxpic at parse@px at named[1]
{%
- \pxpic at ifempty{#1}
- {\pxskip}
+ \pxpic at ifempty{#1}%
+ {\pxskip}%
{{\@declaredcolor{#1}\px}}%
}
% \end{macrocode}
@@ -1371,8 +1374,8 @@
{%
\pxpicnewmode{#1}%
{%
- \pxpic at ifempty{##1}
- {\pxskip}
+ \pxpic at ifempty{##1}%
+ {\pxskip}%
{{\@undeclaredcolor[#1]{##1}\px}}%
}%
}
@@ -1449,8 +1452,8 @@
{%
\unexpanded\iffalse{\fi
\pxpic at ifbracket\pxpic at end#2.\pxpic at end[]\pxpic at end
- {\expandafter\expandafter\expandafter\pxpic at openbrace\pxpic at setcolor@a}
- {\expandafter\expandafter\expandafter\pxpic at openbrace\pxpic at setcolor@b}
+ {\expandafter\expandafter\expandafter\pxpic at openbrace\pxpic at setcolor@a}%
+ {\expandafter\expandafter\expandafter\pxpic at openbrace\pxpic at setcolor@b}%
{#1}{#2}%
}%
}
Modified: trunk/Master/texmf-dist/tex/latex/pxpic/pxpic.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/pxpic/pxpic.sty 2023-08-16 23:43:16 UTC (rev 67954)
+++ trunk/Master/texmf-dist/tex/latex/pxpic/pxpic.sty 2023-08-17 20:24:43 UTC (rev 67955)
@@ -29,7 +29,7 @@
%% and the derived files pxpic.pdf
%% pxpic.sty
%%
-\ProvidesPackage{pxpic}[2023-02-11 v1.4 draw pixel pictures]
+\ProvidesPackage{pxpic}[2023-08-16 v1.5 draw pixel pictures]
\RequirePackage{xcolor}
\RequirePackage{expkv}
\@ifdefinable\pxpicHT{\newdimen\pxpicHT}
@@ -145,7 +145,10 @@
}
\ekvsetdef\pxpicsetup{pxpic}
\ekvcompile\pxpiclogo at 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
@@ -179,8 +182,8 @@
{\long\expandafter\def\csname pxpic at parse@px@#1\endcsname##1{#2}}
\protected\def\pxpicnewcolorlist#1%
{%
- \@ifundefined{pxpic at colorlist@#1}
- {\pxpicsetcolorlist{#1}}
+ \@ifundefined{pxpic at colorlist@#1}%
+ {\pxpicsetcolorlist{#1}}%
{\pxpic at err@defined at colorlist{#1}\@gobble}%
}
\protected\def\pxpicsetcolorlist#1%
@@ -193,8 +196,8 @@
}
\protected\def\pxpicaddcolorlist#1%
{%
- \@ifundefined{pxpic at colorlist@#1}
- {\pxpic at err@unknown at colorlist{#1}\@gobble}
+ \@ifundefined{pxpic at colorlist@#1}%
+ {\pxpic at err@unknown at colorlist{#1}\@gobble}%
{\expandafter\pxpic at addcolorlist\csname pxpic at colorlist@#1\endcsname}%
}
\protected\long\def\pxpic at addcolorlist#1#2%
@@ -228,7 +231,7 @@
\pxpic@@kern-%
\pxpic at parse@px{##1}%
\pxpic at parseline
- }
+ }%
}
\protected\def\pxpic@@parse at group
{%
@@ -261,7 +264,7 @@
{}
\newcommand\pxpic at parse@px at px[1]
{%
- \ekvifdefinedNoVal{pxpic at px}{#1}
+ \ekvifdefinedNoVal{pxpic at px}{#1}%
{\csname\ekv at name{pxpic at px}{#1}N\endcsname}%
{%
\pxpic at err@unknown at px{#1}%
@@ -271,8 +274,8 @@
\let\pxpic at parse@px\pxpic at parse@px at px
\newcommand\pxpic at parse@px at named[1]
{%
- \pxpic at ifempty{#1}
- {\pxskip}
+ \pxpic at ifempty{#1}%
+ {\pxskip}%
{{\@declaredcolor{#1}\px}}%
}
\def\pxpic at tmp#1%
@@ -279,8 +282,8 @@
{%
\pxpicnewmode{#1}%
{%
- \pxpic at ifempty{##1}
- {\pxskip}
+ \pxpic at ifempty{##1}%
+ {\pxskip}%
{{\@undeclaredcolor[#1]{##1}\px}}%
}%
}
@@ -319,8 +322,8 @@
{%
\unexpanded\iffalse{\fi
\pxpic at ifbracket\pxpic at end#2.\pxpic at end[]\pxpic at end
- {\expandafter\expandafter\expandafter\pxpic at openbrace\pxpic at setcolor@a}
- {\expandafter\expandafter\expandafter\pxpic at openbrace\pxpic at setcolor@b}
+ {\expandafter\expandafter\expandafter\pxpic at openbrace\pxpic at setcolor@a}%
+ {\expandafter\expandafter\expandafter\pxpic at openbrace\pxpic at setcolor@b}%
{#1}{#2}%
}%
}
More information about the tex-live-commits
mailing list.