diff options
author | Karl Berry <karl@freefriends.org> | 2020-05-04 21:17:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-05-04 21:17:09 +0000 |
commit | 0258bc8612e27c4ad2f1f1bdba6f31cd54eb96ce (patch) | |
tree | ee0182d3be97f062694b41b47965ea3f85c541e4 /Master/texmf-dist/source/latex/curve2e | |
parent | e0d029cced3bf95efe042be86e0cda81d1902826 (diff) |
curve2e (4may20)
git-svn-id: svn://tug.org/texlive/trunk@55009 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/curve2e')
-rw-r--r-- | Master/texmf-dist/source/latex/curve2e/curve2e.dtx | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex/curve2e/curve2e.dtx b/Master/texmf-dist/source/latex/curve2e/curve2e.dtx index a0e4bae20b6..748a8e38d23 100644 --- a/Master/texmf-dist/source/latex/curve2e/curve2e.dtx +++ b/Master/texmf-dist/source/latex/curve2e/curve2e.dtx @@ -46,7 +46,7 @@ README.txt and curve2e-v161.sty. %<+package>\ProvidesPackage{curve2e}% %<+readme>File README.txt for package curve2e %<*package|readme> - [2020-04-02 v.2.2.6 Extension package for pict2e] + [2020-05-03 v.2.2.8 Extension package for pict2e] %</package|readme> %<*driver> \documentclass{ltxdoc}\errorcontextlines=9 @@ -183,7 +183,7 @@ README.txt and curve2e-v161.sty. %</driver> % \fi % -% \CheckSum{5594} +% \CheckSum{5598} % \begin{abstract} % This file documents the |curve2e| extension package to the |pict2e| % bundle implementation; the latter was described by Lamport @@ -554,9 +554,9 @@ README.txt and curve2e-v161.sty. } % \end{macrocode} % Since we already loaded package|xfp| or at least we explicitly load it -% in our preamble, we add, if not already defined by the package, the two -% new commands that allow to make floating point tests, and to implement -% a “while” cycle\footnote{Thanks to Brian Dunn who spotted a bug in +% in our preamble, we add, if not already defined by the package, three +% new commands that allow to make floating point tests, and two +% “while” cycles\footnote{Thanks to Brian Dunn who spotted a bug in % the previous 2.0.x version definitions.} % \begin{macrocode} % @@ -566,10 +566,14 @@ README.txt and curve2e-v161.sty. \fp_compare:nTF{#1}{#2}{#3}} \ProvideExpandableDocumentCommand\fpdowhile{m m}{% \fp_do_while:nn{#1}{#2}} +\ProvideExpandableDocumentCommand\fpwhiledo{m m}{% + \fp_while_do:nn{#1}{#2}} } \ExplSyntaxOff % \end{macrocode} +% The while cycles differ in the order of what they do; see the +% |interface3.pdf| documentation file for details. % % The next macros are just for debugging. With the \texttt{trace} package % it would probably be better to define other macros, but this is not for @@ -989,7 +993,9 @@ README.txt and curve2e-v161.sty. % original macros, but now the increments are computed within the while % loop, but outside the argument of the inner |\put| command. If the % optional \meta{handler} is specified the increments are computed -% from the macros specified by the user. +% from the macros specified by the user. Another new feature: the fourth +% argument, that contains the number of objects to be put in place, +% may be an integer expression such as for example |3*\N+1|. % % The two increments components inside the optional argument may be set % by means of mathematical expressions operated upon by the |\fpeval| @@ -1011,7 +1017,7 @@ README.txt and curve2e-v161.sty. {\put(#1){\let\c@multicnt\@multicnt \CopyVect #2 to \R \CopyVect#3 to\D - \@multicnt=#4\relax + \@multicnt=\inteval{#4}\relax \@whilenum \@multicnt > \z@\do{% \put(\R){#5}% \IfValueTF{#6}{#6}{\AddVect#3 and\R to \R}% |