summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-05-27 19:52:26 +0000
committerKarl Berry <karl@freefriends.org>2021-05-27 19:52:26 +0000
commit36cac55495391055609cff1eb27c7959c1457f47 (patch)
tree1eda3f2b0248f43d6d109fdf64d55c4bbdae96a6
parent47a051c1bb9be63d7315fc323e6bb5f128c61541 (diff)
polexpr (27may21)
git-svn-id: svn://tug.org/texlive/trunk@59365 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/generic/polexpr/README.md4
-rw-r--r--Master/texmf-dist/doc/generic/polexpr/polexpr.html20
-rw-r--r--Master/texmf-dist/tex/generic/polexpr/polexpr.sty6
-rw-r--r--Master/texmf-dist/tex/generic/polexpr/polexprcore.tex4
-rw-r--r--Master/texmf-dist/tex/generic/polexpr/polexprexpr.tex8
-rw-r--r--Master/texmf-dist/tex/generic/polexpr/polexprsturm.tex2
6 files changed, 25 insertions, 19 deletions
diff --git a/Master/texmf-dist/doc/generic/polexpr/README.md b/Master/texmf-dist/doc/generic/polexpr/README.md
index 936520a6220..8e99584aed5 100644
--- a/Master/texmf-dist/doc/generic/polexpr/README.md
+++ b/Master/texmf-dist/doc/generic/polexpr/README.md
@@ -87,8 +87,10 @@ Releases
Bugfix: a typo broke the 0.8 ``diff1()`` and related functions.
- 0.8.2 (2021/05/05)
Track `xintexpr` 1.4e changes
+- 0.8.3 (2021/05/27)
+ Track `xintexpr` 1.4h changes
-Files of 0.8.2 release:
+Files of 0.8.3 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 25b4fa170c2..cc6e722926b 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.2 (2021/05/05)</p>
+<p class="subtitle" id="id1">0.8.3 (2021/05/27)</p>
<div class="contents topic" id="contents">
<p class="topic-title">Contents</p>
@@ -4073,10 +4073,11 @@ Thanks to Jürgen Gilg for report.</p></li>
<ul>
<li><p>As the usability of character <span class="docutils literal">'</span> in names has been extended
from <span class="docutils literal">\poldef</span> to also generally <span class="docutils literal">\xintexpr</span>, <span class="docutils literal">\xintdefvar</span>,
-and <span class="docutils literal">\xintdeffunc</span>, it breaks there the infix operators
-<span class="docutils literal">'and'</span>, <span class="docutils literal">'or'</span>, <span class="docutils literal">'xor'</span> and <span class="docutils literal">'mod'</span>. See the <a class="reference external" href="http://www.ctan.org/pkg/xint">xintexpr</a>
-documentation for the <span class="docutils literal">&amp;&amp;</span>, <span class="docutils literal">||</span>, <span class="docutils literal">xor()</span> and <span class="docutils literal">/:</span>
-alternatives.</p></li>
+and <span class="docutils literal">\xintdeffunc</span>, it means that the infix operators
+<span class="docutils literal">'and'</span>, <span class="docutils literal">'or'</span>, and <span class="docutils literal">'mod'</span> must be replaced
+by <span class="docutils literal">&amp;&amp;</span>, <span class="docutils literal">||</span>, and <span class="docutils literal">/:</span> if they
+follow immediately a variable name (similarly <span class="docutils literal">'xor'</span> must
+be replaced by the <span class="docutils literal">xor()</span> function in such case).</p></li>
<li><p><a class="reference internal" href="#poltoexpr">\PolToExpr</a> by default uses a catcode 12
<span class="docutils literal">^</span>. See its documentation and the new configuration
<a class="reference internal" href="#poltoexprcaret">\PolToExprCaret</a>.</p></li>
@@ -4186,12 +4187,15 @@ this work-around. With this relase only <a class="reference internal" href="#po
not <a class="reference internal" href="#id8">\PolDef</a> needs the work-around.</p></li>
</ul>
</li>
+<li><p>track <a class="reference external" href="http://www.ctan.org/pkg/xint">xintexpr</a> <span class="docutils literal">1.4e</span> changes relative to powers.</p></li>
</ul>
-<blockquote>
+</li>
+<li><p>v0.8.3 (2021/05/27)</p>
<ul class="simple">
-<li><p>track <a class="reference external" href="http://www.ctan.org/pkg/xint">xintexpr</a> <span class="docutils literal">1.4e</span> changes relative to powers.</p></li>
+<li><p>small internal update to track an <a class="reference external" href="http://www.ctan.org/pkg/xint">xintexpr</a> <span class="docutils literal">1.4h</span> change
+regarding handling of exceptions. Will require this version at
+least on loading.</p></li>
</ul>
-</blockquote>
</li>
</ul>
</div>
diff --git a/Master/texmf-dist/tex/generic/polexpr/polexpr.sty b/Master/texmf-dist/tex/generic/polexpr/polexpr.sty
index 90b47050cfc..c92f950adb1 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.2 (2021/05/05) of polexpr.sty. This file inputs
+% Release 0.8.3 (2021/05/27) of polexpr.sty. This file inputs
% polexprcore.tex
% polexprexpr.tex
% polexprsturm.tex
@@ -54,11 +54,11 @@
\XINTsetupcatcodes% (does \endlinechar13 in particular)
\XINT_providespackage
\ProvidesPackage{polexpr}%
- [2021/05/05 v0.8.2 Polynomial expressions with rational coefficients (JFB)]%
+ [2021/05/27 v0.8.3 Polynomial expressions with rational coefficients (JFB)]%
\begingroup
\def\x#1/#2/#3 #4\xint:{#1#2#3}%
\ifnum\expandafter\x\expanded{\csname ver@xintexpr.sty\endcsname}\xint:
- <20210505 %
+ <20210527 % xint 1.4h
\immediate\write128{! Package polexpr error: xintexpr too old, aborting input}%
\else\expandafter\xint_gobble_i
\fi
diff --git a/Master/texmf-dist/tex/generic/polexpr/polexprcore.tex b/Master/texmf-dist/tex/generic/polexpr/polexprcore.tex
index 66d85123799..d8a17e4fc21 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.2, 2021/05/05)
+%% This file polexprcore.tex is part of the polexpr package (0.8.3, 2021/05/27)
%% Core routines to match infix operators +, -, *, //, /:, ^, ** and some
%% functions
%% The atoms representing polynomials inside \xintexpr are
@@ -410,7 +410,7 @@
}%
\def\POL_pow_neg_pol #1.#2\empty
{%
- \romannumeral0\XINT_signalcondition{InvalidOperation}%
+ \XINT_signalcondition{InvalidOperation}%
{Not supported: polynomial to negative power #1}{}{1/1[0]}%
}%
\def\POL_pow_aa #1.{\expandafter\POL_pow_a\the\numexpr\xintNum{#1}.}%
diff --git a/Master/texmf-dist/tex/generic/polexpr/polexprexpr.tex b/Master/texmf-dist/tex/generic/polexpr/polexprexpr.tex
index 3df136f9f83..8e025db1c7a 100644
--- a/Master/texmf-dist/tex/generic/polexpr/polexprexpr.tex
+++ b/Master/texmf-dist/tex/generic/polexpr/polexprexpr.tex
@@ -1,10 +1,10 @@
-%% This file polexprexpr.tex is part of the polexpr package (0.8.2, 2021/05/05)
+%% This file polexprexpr.tex is part of the polexpr package (0.8.3, 2021/05/27)
%% Extending \xintexpr syntax:
%%
%% 1. Authorize ' in variable and function names
-%% This currently breaks infix operators 'and', 'or', 'xor', 'mod'
-%% hence forces usage everywhere of &&, ||, /: and xor() syntax
-%% (if : is active then use /\string : input syntax!)
+%% This partially breaks infix operators 'and', 'or', 'xor', 'mod'
+%% which must be replaced by &&, ||, /: and xor() syntax
+%% if immediately following a variable name
%%
%% 2. Map infix operators to the polexprcore macros
%%
diff --git a/Master/texmf-dist/tex/generic/polexpr/polexprsturm.tex b/Master/texmf-dist/tex/generic/polexpr/polexprsturm.tex
index 115a27d5504..f2ac7c0d171 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.2, 2021/05/05)
+%% This file polexprsturm.tex is part of the polexpr package (0.8.3, 2021/05/27)
%% Sturm Algorithm (polexpr 0.4)
%% 0.5 uses primitive polynomials for faster evaluations afterwards
%% 0.6 corrects misuse of \@ifstar! (mumble). \PolToSturm* was broken.