summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/curve2e/README.txt2
-rw-r--r--Master/texmf-dist/doc/latex/curve2e/curve2e.pdfbin704965 -> 703517 bytes
-rw-r--r--Master/texmf-dist/source/latex/curve2e/curve2e.dtx19
-rw-r--r--Master/texmf-dist/tex/latex/curve2e/curve2e.sty13
4 files changed, 21 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/latex/curve2e/README.txt b/Master/texmf-dist/doc/latex/curve2e/README.txt
index d3f4a120f73..84e7fecffbb 100644
--- a/Master/texmf-dist/doc/latex/curve2e/README.txt
+++ b/Master/texmf-dist/doc/latex/curve2e/README.txt
@@ -10,7 +10,7 @@
%% License information appended
%%
File README.txt for package curve2e
- [2019-11-30 v.2.0.6 Extension package for pict2e]
+ [2019-12-06 v.2.0.7 Extension package for pict2e]
diff --git a/Master/texmf-dist/doc/latex/curve2e/curve2e.pdf b/Master/texmf-dist/doc/latex/curve2e/curve2e.pdf
index 5256df2081e..38387510998 100644
--- a/Master/texmf-dist/doc/latex/curve2e/curve2e.pdf
+++ b/Master/texmf-dist/doc/latex/curve2e/curve2e.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/curve2e/curve2e.dtx b/Master/texmf-dist/source/latex/curve2e/curve2e.dtx
index b8e7c519c1d..d8500552442 100644
--- a/Master/texmf-dist/source/latex/curve2e/curve2e.dtx
+++ b/Master/texmf-dist/source/latex/curve2e/curve2e.dtx
@@ -47,7 +47,7 @@ README.txt and curve2e-v161.sty.
%<+package>\ProvidesPackage{curve2e}%
%<+readme>File README.txt for package curve2e
%<*package|readme>
- [2019-11-30 v.2.0.6 Extension package for pict2e]
+ [2019-12-06 v.2.0.7 Extension package for pict2e]
%</package|readme>
%<*driver>
\documentclass{ltxdoc}\errorcontextlines=9
@@ -110,7 +110,7 @@ README.txt and curve2e-v161.sty.
%</driver>
% \fi
%
-% \CheckSum{5593}
+% \CheckSum{5592}
% \begin{abstract}
% This file documents the |curve2e| extension package to the |pict2e|
% bundle implementation; the latter was described by Lamport
@@ -1576,14 +1576,19 @@ README.txt and curve2e-v161.sty.
% 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
+% a “while” cycle\footnote{Thanks to Brian Dunn who spotted a bug in
+% the previous definitions.}
% \begin{macrocode}
-\AtBeginDocument{\@ifpackageloaded{xfp}{%
+%
\ExplSyntaxOn
-\ProvideExpandableDocumentCommand\fptest{m}{\fp_compare:nTF{#1}}
-\ProvideExpandableDocumentCommand\fpdowhile{m m}{\fp_do_while:nn{#1}{#2}}
+\AtBeginDocument{%
+\ProvideExpandableDocumentCommand\fptest{m m m}{%
+ \fp_compare:nTF{#1}{#2}{#3}}
+\ProvideExpandableDocumentCommand\fpdowhile{m m}{%
+ \fp_do_while:nn{#1}{#2}}
+}
\ExplSyntaxOff
-}{}}
+
% \end{macrocode}
%
% The next macros are just for debugging. With the \texttt{trace} package
diff --git a/Master/texmf-dist/tex/latex/curve2e/curve2e.sty b/Master/texmf-dist/tex/latex/curve2e/curve2e.sty
index 7de00b83a0c..e2230216d3e 100644
--- a/Master/texmf-dist/tex/latex/curve2e/curve2e.sty
+++ b/Master/texmf-dist/tex/latex/curve2e/curve2e.sty
@@ -11,7 +11,7 @@
%%
\NeedsTeXFormat{LaTeX2e}[2019/01/01]
\ProvidesPackage{curve2e}%
- [2019-11-30 v.2.0.6 Extension package for pict2e]
+ [2019-12-06 v.2.0.7 Extension package for pict2e]
@@ -35,12 +35,15 @@
***************************************\MessageBreak}%
\endinput
}
-\AtBeginDocument{\@ifpackageloaded{xfp}{%
\ExplSyntaxOn
-\ProvideExpandableDocumentCommand\fptest{m}{\fp_compare:nTF{#1}}
-\ProvideExpandableDocumentCommand\fpdowhile{m m}{\fp_do_while:nn{#1}{#2}}
+\AtBeginDocument{%
+\ProvideExpandableDocumentCommand\fptest{m m m}{%
+ \fp_compare:nTF{#1}{#2}{#3}}
+\ProvideExpandableDocumentCommand\fpdowhile{m m}{%
+ \fp_do_while:nn{#1}{#2}}
+}
\ExplSyntaxOff
-}{}}
+
\def\TRON{\tracingcommands\tw@ \tracingmacros\tw@}%
\def\TROF{\tracingcommands\z@ \tracingmacros\z@}%
\ifx\undefined\@tdA \newdimen\@tdA \fi