summaryrefslogtreecommitdiff
path: root/macros/generic/polexpr
diff options
context:
space:
mode:
Diffstat (limited to 'macros/generic/polexpr')
-rw-r--r--macros/generic/polexpr/README.md5
-rw-r--r--macros/generic/polexpr/polexpr.html18
-rw-r--r--macros/generic/polexpr/polexpr.sty6
-rw-r--r--macros/generic/polexpr/polexprcore.tex2
-rw-r--r--macros/generic/polexpr/polexprexpr.tex3
-rw-r--r--macros/generic/polexpr/polexprsturm.tex6
6 files changed, 26 insertions, 14 deletions
diff --git a/macros/generic/polexpr/README.md b/macros/generic/polexpr/README.md
index de201582d3..c52baa8b75 100644
--- a/macros/generic/polexpr/README.md
+++ b/macros/generic/polexpr/README.md
@@ -92,8 +92,11 @@ Releases
- 0.8.4 (2021/11/01)
Bugfix: `PolSturmIsolateZeros**` did not declare the square free
part of the original polynomial if no real root existed.
+- 0.8.5 (2021/11/30)
+ Bugfix: `intfrom()` was documented at `0.8` but not declared to parser.
+ Track (belatedly) `xintexpr` 1.4g changes
-Files of 0.8.4 release:
+Files of 0.8.5 release:
- polexpr.sty, polexprcore.tex, polexprexpr.tex, polexprsturm.tex,
- README.md,
diff --git a/macros/generic/polexpr/polexpr.html b/macros/generic/polexpr/polexpr.html
index 3fdb584ea8..9b6f99138d 100644
--- a/macros/generic/polexpr/polexpr.html
+++ b/macros/generic/polexpr/polexpr.html
@@ -598,7 +598,7 @@ a { text-decoration: none; }
<body>
<div class="document" id="package-polexpr-documentation">
<h1 class="title">Package polexpr documentation</h1>
-<p class="subtitle" id="id1">0.8.4 (2021/11/01)</p>
+<p class="subtitle" id="id1">0.8.5 (2021/11/30)</p>
<div class="contents topic" id="contents">
<p class="topic-title">Contents</p>
@@ -1799,7 +1799,7 @@ immediate priority though (perhaps support of multivariate polynomials
would be more important feature; or localization of complex roots).</p>
<ul>
<li><p>To make printed decimal numbers more enjoyable than via
-<span class="docutils literal">\xintSignedFrac</span> (or <span class="docutils literal">\xintSignedFwOver</span> with Plain):</p>
+<span class="docutils literal">\xintTeXsignedFrac</span> (or <span class="docutils literal">\xintTeXsignedOver</span> with Plain):</p>
<pre class="literal-block">\def\PolTypesetOne#1{\PolDecToString{\xintREZ{#1}}}%</pre>
<p><span class="docutils literal">\PolDecToString</span> will use decimal notation to incorporate the power
of ten part; and the <span class="docutils literal">\xintREZ</span> will have the effect to suppress
@@ -2337,7 +2337,7 @@ plus or minus one, and <span class="docutils literal">F</span> if not. It choos
<div class="section" id="poltypesetone-raw-coeff">
<span id="poltypesetone"></span><h3><a class="toc-backref" href="#id91"><span class="docutils literal"><span class="pre">\PolTypesetOne{&lt;raw_coeff&gt;}</span></span></a></h3>
<blockquote>
-<p>Defaults to <span class="docutils literal">\xintSignedFrac</span> (LaTeX) or <span class="docutils literal">\xintSignedFwOver</span>
+<p>Defaults to <span class="docutils literal">\xintTeXsignedFrac</span> (LaTeX) or <span class="docutils literal">\xintTeXsignedOver</span>
(else). But these <a class="reference external" href="http://www.ctan.org/pkg/xint">xintfrac</a> old legacy macros are a bit
annoying as they insist in exhibiting a power of ten rather than
using simpler decimal notation.</p>
@@ -2365,7 +2365,7 @@ for the constant term, <span class="docutils literal">\PolVar</span> for the fir
<blockquote>
<p>Expands to a <span class="docutils literal">+</span> if the <span class="docutils literal">raw_coeff</span> is zero or positive, and to
nothing if <span class="docutils literal">raw_coeff</span> is negative, as in latter case the
-<span class="docutils literal">\xintSignedFrac</span> (or <span class="docutils literal">\xintSignedFwOver</span>) used by
+<span class="docutils literal">\xintTeXsignedFrac</span> (or <span class="docutils literal">\xintTeXsignedOver</span>) used by
<a class="reference internal" href="#poltypesetcmd-raw-coeff">\PolTypesetCmd{&lt;raw_coeff&gt;}</a> will put the <span class="docutils literal">-</span> sign in front of
the fraction (if it is a fraction) and this will thus serve as
separator in the typeset formula. Not used for the first term.</p>
@@ -2812,7 +2812,7 @@ example of customization.</p>
definition:</p>
<pre class="literal-block">\newcommand\POL&#64;&#64;PrintIntervalsPrintExactZero{%
\displaystyle
- \xintSignedFrac{\PolPrintIntervalsTheLeftEndPoint}%
+ \xintTeXsignedFrac{\PolPrintIntervalsTheLeftEndPoint}%
}%</pre>
<p>Multiplicities are printed using this auxiliary macro:</p>
</blockquote>
@@ -4204,6 +4204,14 @@ declare the <span class="docutils literal">&lt;sturmname&gt;_norr</span> and <sp
polynomials if original polynomial had no real root!</p></li>
</ul>
</li>
+<li><p>v0.8.5 (2021/11/30)</p>
+<ul class="simple">
+<li><p>bugfix: support for the <span class="docutils literal">intfrom()</span> function was in the code,
+but the declaration to the polynomial parser had not been done.</p></li>
+<li><p>track (belatedly) upstream deprecation of <span class="docutils literal">\xintSignedFrac</span> and
+<span class="docutils literal">\xintSignedFwOver</span> at <a class="reference external" href="http://www.ctan.org/pkg/xint">xintexpr</a> <span class="docutils literal">1.4g</span></p></li>
+</ul>
+</li>
</ul>
</div>
<div class="section" id="acknowledgments">
diff --git a/macros/generic/polexpr/polexpr.sty b/macros/generic/polexpr/polexpr.sty
index a2334e9724..04d189de8b 100644
--- a/macros/generic/polexpr/polexpr.sty
+++ b/macros/generic/polexpr/polexpr.sty
@@ -2,7 +2,7 @@
% License: LPPL 1.3c (author-maintained)
% Usage: \input polexpr.sty (Plain or other macro formats)
% or \usepackage{polexpr} (LaTeX macro format)
-% Release 0.8.4 (2021/11/01) of polexpr.sty. This file inputs
+% Release 0.8.5 (2021/11/30) of polexpr.sty. This file inputs
% polexprcore.tex
% polexprexpr.tex
% polexprsturm.tex
@@ -767,9 +767,9 @@
\let\PolIfCoeffIsPlusOrMinusOne\xint_secondoftwo}%
}%
\ifdefined\frac
-\def\PolTypesetOne{\xintSignedFrac}%
+\def\PolTypesetOne{\xintTeXsignedFrac}%
\else
-\def\PolTypesetOne{\xintSignedFwOver}%
+\def\PolTypesetOne{\xintTeXsignedOver}%
\fi
\catcode`^ 7 %
\def\PolTypesetMonomialCmd{%
diff --git a/macros/generic/polexpr/polexprcore.tex b/macros/generic/polexpr/polexprcore.tex
index 3315790b95..3648bc8ccb 100644
--- a/macros/generic/polexpr/polexprcore.tex
+++ b/macros/generic/polexpr/polexprcore.tex
@@ -1,4 +1,4 @@
-%% This file polexprcore.tex is part of the polexpr package (0.8.4, 2021/11/01)
+%% This file polexprcore.tex is part of the polexpr package (0.8.5, 2021/11/30)
%% Core routines to match infix operators +, -, *, //, /:, ^, ** and some
%% functions
%% The atoms representing polynomials inside \xintexpr are
diff --git a/macros/generic/polexpr/polexprexpr.tex b/macros/generic/polexpr/polexprexpr.tex
index d896e4b39b..f3cc5ac28e 100644
--- a/macros/generic/polexpr/polexprexpr.tex
+++ b/macros/generic/polexpr/polexprexpr.tex
@@ -1,4 +1,4 @@
-%% This file polexprexpr.tex is part of the polexpr package (0.8.4, 2021/11/01)
+%% This file polexprexpr.tex is part of the polexpr package (0.8.5, 2021/11/30)
%% Extending \xintexpr syntax:
%%
%% 1. Authorize ' in variable and function names
@@ -156,6 +156,7 @@
\POL_tmp {diffn} \XINT:NEhook:f:one:from:two \xintPolDiffN
\POL_tmp {antider} \XINT:NEhook:f:one:from:one \xintPolAntiOne
\POL_tmp {integral} \XINT:NEhook:f:one:from:two \xintPolIntegral
+\POL_tmp {intfrom} \XINT:NEhook:f:one:from:two \xintPolIntFrom
\POL_tmp {quorem} \XINT:NEhook:f:one:from:two \xintPolQuoRem
\POL_tmp {quo} \XINT:NEhook:f:one:from:two \xintPolQuo
\POL_tmp {rem} \XINT:NEhook:f:one:from:two \xintPolRem
diff --git a/macros/generic/polexpr/polexprsturm.tex b/macros/generic/polexpr/polexprsturm.tex
index 317b9cbcd3..d590d48aa5 100644
--- a/macros/generic/polexpr/polexprsturm.tex
+++ b/macros/generic/polexpr/polexprsturm.tex
@@ -1,4 +1,4 @@
-%% This file polexprsturm.tex is part of the polexpr package (0.8.4, 2021/11/01)
+%% This file polexprsturm.tex is part of the polexpr package (0.8.5, 2021/11/30)
%% Sturm Algorithm (polexpr 0.4)
%% 0.5 uses primitive polynomials for faster evaluations afterwards
%% 0.6 corrects misuse of \@ifstar! (mumble). \PolToSturm* was broken.
@@ -1528,12 +1528,12 @@
\ifdefined\frac
\def\POL@@PrintIntervalsPrintExactZero{%
\displaystyle
- \xintSignedFrac{\PolPrintIntervalsTheLeftEndPoint}%
+ \xintTeXsignedFrac{\PolPrintIntervalsTheLeftEndPoint}%
}%
\else
\def\POL@@PrintIntervalsPrintExactZero{%
\displaystyle
- \xintSignedFwOver{\PolPrintIntervalsTheLeftEndPoint}%
+ \xintTeXsignedOver{\PolPrintIntervalsTheLeftEndPoint}%
}%
\fi
\def\POL@@PrintIntervalsUnknownRoot{%