texlive[53042] Master/texmf-dist: curve2e (7dec19)

commits+karl at tug.org commits+karl at tug.org
Sat Dec 7 00:10:56 CET 2019


Revision: 53042
          http://tug.org/svn/texlive?view=revision&revision=53042
Author:   karl
Date:     2019-12-07 00:10:56 +0100 (Sat, 07 Dec 2019)
Log Message:
-----------
curve2e (7dec19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/curve2e/README.txt
    trunk/Master/texmf-dist/doc/latex/curve2e/curve2e.pdf
    trunk/Master/texmf-dist/source/latex/curve2e/curve2e.dtx
    trunk/Master/texmf-dist/tex/latex/curve2e/curve2e.sty

Modified: trunk/Master/texmf-dist/doc/latex/curve2e/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/curve2e/README.txt	2019-12-06 23:10:42 UTC (rev 53041)
+++ trunk/Master/texmf-dist/doc/latex/curve2e/README.txt	2019-12-06 23:10:56 UTC (rev 53042)
@@ -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]
 
 
 

Modified: trunk/Master/texmf-dist/doc/latex/curve2e/curve2e.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/curve2e/curve2e.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/curve2e/curve2e.dtx	2019-12-06 23:10:42 UTC (rev 53041)
+++ trunk/Master/texmf-dist/source/latex/curve2e/curve2e.dtx	2019-12-06 23:10:56 UTC (rev 53042)
@@ -47,7 +47,7 @@
 %<+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 @@
 %</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 @@
 % 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

Modified: trunk/Master/texmf-dist/tex/latex/curve2e/curve2e.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/curve2e/curve2e.sty	2019-12-06 23:10:42 UTC (rev 53041)
+++ trunk/Master/texmf-dist/tex/latex/curve2e/curve2e.sty	2019-12-06 23:10:56 UTC (rev 53042)
@@ -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



More information about the tex-live-commits mailing list