diff options
author | Karl Berry <karl@freefriends.org> | 2023-08-17 20:24:43 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-08-17 20:24:43 +0000 |
commit | 14ab20ac21dee5243288920741185275dff8f989 (patch) | |
tree | 0f40d942515a245520d6fe8c1d67bc378643ccb8 /Master/texmf-dist/source | |
parent | 5ef766bc6acb5c066107da5564cd343ccc299b31 (diff) |
pxpic (17aug23)
git-svn-id: svn://tug.org/texlive/trunk@67955 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r-- | Master/texmf-dist/source/latex/pxpic/pxpic.dtx | 37 |
1 files changed, 20 insertions, 17 deletions
diff --git a/Master/texmf-dist/source/latex/pxpic/pxpic.dtx b/Master/texmf-dist/source/latex/pxpic/pxpic.dtx index 1a479139baf..383d027c8e4 100644 --- a/Master/texmf-dist/source/latex/pxpic/pxpic.dtx +++ b/Master/texmf-dist/source/latex/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}% }% } |