From b5e4bf9aac053e980e09044eb3241732e3a1c639 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 20 Aug 2019 20:45:38 +0000 Subject: pict2e (20aug19) git-svn-id: svn://tug.org/texlive/trunk@51918 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/pict2e/p2e-drivers.dtx | 2 +- Master/texmf-dist/source/latex/pict2e/pict2e.dtx | 14 ++++++++------ Master/texmf-dist/source/latex/pict2e/pict2e.ins | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/source/latex/pict2e') diff --git a/Master/texmf-dist/source/latex/pict2e/p2e-drivers.dtx b/Master/texmf-dist/source/latex/pict2e/p2e-drivers.dtx index fb2141ffc8d..8f27acfa7fb 100644 --- a/Master/texmf-dist/source/latex/pict2e/p2e-drivers.dtx +++ b/Master/texmf-dist/source/latex/pict2e/p2e-drivers.dtx @@ -5,7 +5,7 @@ % % Copyright (C) 2003-2016 % Rolf Niepraschk, Rolf.Niepraschk@gmx.de -% Hubert Gaesslein +% Hubert Gaesslein, hubertjg@gmx.de % Josef Tkadlec, j.tkadlec@email.cz % % diff --git a/Master/texmf-dist/source/latex/pict2e/pict2e.dtx b/Master/texmf-dist/source/latex/pict2e/pict2e.dtx index 6fe6db0c5c7..9c4baa4f3f8 100644 --- a/Master/texmf-dist/source/latex/pict2e/pict2e.dtx +++ b/Master/texmf-dist/source/latex/pict2e/pict2e.dtx @@ -4,7 +4,7 @@ % % Copyright (C) 2003-2016 % Rolf Niepraschk, Rolf.Niepraschk@gmx.de -% Hubert Gaesslein +% Hubert Gaesslein, hubertjg@gmx.de % Josef Tkadlec, j.tkadlec@email.cz % % @@ -23,7 +23,7 @@ % %<*package> \NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesPackage{pict2e}[2016/02/05 v0.3b Improved picture commands (HjG,RN,JT)] +\ProvidesPackage{pict2e}[2019/08/20 v0.3c Improved picture commands (HjG,RN,JT)] % % %<*driver> @@ -2357,6 +2357,8 @@ % \subsection{High-level operations} % % \begin{macro}{\pIIe@checkslopeargs} +% \changes{v0.3c}{2019/08/20}{\cmd{\edef} for parameters stored in macros -- +% suggested by Phelype Oleinik (RN)} % Common code for \cmd{\line} and \cmd{\vector}. % \begin{macrocode} \newcommand*\pIIe@checkslopeargsline[2]{% @@ -2364,8 +2366,8 @@ \newcommand*\pIIe@checkslopeargsvector[2]{% \pIIe@checkslopeargs{#1}{#2}{1000}} \newcommand*\pIIe@checkslopeargs[3]{% - \def\@tempa{#1}\expandafter\pIIe@checkslopearg\@tempa.:{#3}% - \def\@tempa{#2}\expandafter\pIIe@checkslopearg\@tempa.:{#3}% + \edef\@tempa{#1}\expandafter\pIIe@checkslopearg\@tempa.:{#3}% + \edef\@tempa{#2}\expandafter\pIIe@checkslopearg\@tempa.:{#3}% % \end{macrocode} % A bit incompatible with \SL: slope \((0,0)\) raises an error. % \begin{macrocode} @@ -2374,7 +2376,7 @@ \def\@tempa{#1}% \ifx\@tempa\empty\def\@tempa{0}\fi \ifx\@tempa\space\def\@tempa{0}\fi - \ifnum\ifnum\@tempa<\z@-\fi\@tempa>#3\@badlinearg \fi} + \ifnum\ifnum\@tempa<\z@-\fi\@tempa>#3 \@badlinearg \fi} \def\@badlinearg{\PackageError {pict2e}{Bad \protect\line\space or \protect\vector\space argument}{}} % \end{macrocode} @@ -2384,7 +2386,7 @@ % \label{sec:implementation:line} % % \begin{macro}{\line} -% \changes{v0.2l}{2004/04/08}{Macro added (RNH/HjG)} +% \changes{v0.2l}{2004/04/08}{Macro added (RN/HjG)} % \cmd{\line}\parg{x,y}\marg{$l_x$}: % \changes{v0.2o}{2004/06/25}{Use \cmd{\pIIe@checkslopeargs} (HjG)} % \changes{v0.2t}{2008/05/11}{All lines by \cmd{\@sline} (JT)} diff --git a/Master/texmf-dist/source/latex/pict2e/pict2e.ins b/Master/texmf-dist/source/latex/pict2e/pict2e.ins index 5e15c84c01c..eca122a616d 100644 --- a/Master/texmf-dist/source/latex/pict2e/pict2e.ins +++ b/Master/texmf-dist/source/latex/pict2e/pict2e.ins @@ -1,7 +1,7 @@ %% %% Copyright (C) 2003-2016 %% Rolf Niepraschk, Rolf.Niepraschk@gmx.de -%% Hubert Gaesslein, +%% Hubert Gaesslein, hubertjg@gmx.de %% Josef Tkadlec, j.tkadlec@email.cz %% %% This file is part of the LaTeX `pict2e' package. -- cgit v1.2.3