diff options
author | Karl Berry <karl@freefriends.org> | 2021-11-30 22:51:25 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-11-30 22:51:25 +0000 |
commit | 3db90420d273ad61f150fb1d97effe23b6865108 (patch) | |
tree | e22ac082eed1a0030ba900c03064d19478e790da | |
parent | d96711307b12d30ff470c61f0ae2c2a22342e3f5 (diff) |
polexpr (30nov21)
git-svn-id: svn://tug.org/texlive/trunk@61191 c570f23f-e606-0410-a88d-b1316a301751
6 files changed, 26 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/generic/polexpr/README.md b/Master/texmf-dist/doc/generic/polexpr/README.md index de201582d3e..c52baa8b756 100644 --- a/Master/texmf-dist/doc/generic/polexpr/README.md +++ b/Master/texmf-dist/doc/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/Master/texmf-dist/doc/generic/polexpr/polexpr.html b/Master/texmf-dist/doc/generic/polexpr/polexpr.html index 3fdb584ea8b..9b6f99138d3 100644 --- a/Master/texmf-dist/doc/generic/polexpr/polexpr.html +++ b/Master/texmf-dist/doc/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{<raw_coeff>}</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{<raw_coeff>}</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@@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"><sturmname>_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/Master/texmf-dist/tex/generic/polexpr/polexpr.sty b/Master/texmf-dist/tex/generic/polexpr/polexpr.sty index a2334e9724e..04d189de8bb 100644 --- a/Master/texmf-dist/tex/generic/polexpr/polexpr.sty +++ b/Master/texmf-dist/tex/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/Master/texmf-dist/tex/generic/polexpr/polexprcore.tex b/Master/texmf-dist/tex/generic/polexpr/polexprcore.tex index 3315790b954..3648bc8ccb2 100644 --- a/Master/texmf-dist/tex/generic/polexpr/polexprcore.tex +++ b/Master/texmf-dist/tex/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/Master/texmf-dist/tex/generic/polexpr/polexprexpr.tex b/Master/texmf-dist/tex/generic/polexpr/polexprexpr.tex index d896e4b39b6..f3cc5ac28ef 100644 --- a/Master/texmf-dist/tex/generic/polexpr/polexprexpr.tex +++ b/Master/texmf-dist/tex/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/Master/texmf-dist/tex/generic/polexpr/polexprsturm.tex b/Master/texmf-dist/tex/generic/polexpr/polexprsturm.tex index 317b9cbcd31..d590d48aa56 100644 --- a/Master/texmf-dist/tex/generic/polexpr/polexprsturm.tex +++ b/Master/texmf-dist/tex/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{% |