summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/curve2e
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-12-07 03:00:49 +0000
committerNorbert Preining <norbert@preining.info>2019-12-07 03:00:49 +0000
commitf158c892f4714e2dfef87c5edf8cd679fd09bb2b (patch)
treef8cae0221bb28490d61fc9a531ac4d087186e273 /macros/latex/contrib/curve2e
parentac57c892e88b77eb217641d4a1059da681320633 (diff)
CTAN sync 201912070300
Diffstat (limited to 'macros/latex/contrib/curve2e')
-rw-r--r--macros/latex/contrib/curve2e/README.txt2
-rw-r--r--macros/latex/contrib/curve2e/curve2e.dtx19
-rw-r--r--macros/latex/contrib/curve2e/curve2e.pdfbin704965 -> 703517 bytes
3 files changed, 13 insertions, 8 deletions
diff --git a/macros/latex/contrib/curve2e/README.txt b/macros/latex/contrib/curve2e/README.txt
index d3f4a120f7..84e7fecffb 100644
--- a/macros/latex/contrib/curve2e/README.txt
+++ b/macros/latex/contrib/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/macros/latex/contrib/curve2e/curve2e.dtx b/macros/latex/contrib/curve2e/curve2e.dtx
index b8e7c519c1..d850055244 100644
--- a/macros/latex/contrib/curve2e/curve2e.dtx
+++ b/macros/latex/contrib/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/macros/latex/contrib/curve2e/curve2e.pdf b/macros/latex/contrib/curve2e/curve2e.pdf
index 5256df2081..3838751099 100644
--- a/macros/latex/contrib/curve2e/curve2e.pdf
+++ b/macros/latex/contrib/curve2e/curve2e.pdf
Binary files differ