texlive[59365] Master/texmf-dist: polexpr (27may21)

commits+karl at tug.org commits+karl at tug.org
Thu May 27 21:52:26 CEST 2021


Revision: 59365
          http://tug.org/svn/texlive?view=revision&revision=59365
Author:   karl
Date:     2021-05-27 21:52:26 +0200 (Thu, 27 May 2021)
Log Message:
-----------
polexpr (27may21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/generic/polexpr/README.md
    trunk/Master/texmf-dist/doc/generic/polexpr/polexpr.html
    trunk/Master/texmf-dist/tex/generic/polexpr/polexpr.sty
    trunk/Master/texmf-dist/tex/generic/polexpr/polexprcore.tex
    trunk/Master/texmf-dist/tex/generic/polexpr/polexprexpr.tex
    trunk/Master/texmf-dist/tex/generic/polexpr/polexprsturm.tex

Modified: trunk/Master/texmf-dist/doc/generic/polexpr/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/generic/polexpr/README.md	2021-05-26 23:42:52 UTC (rev 59364)
+++ trunk/Master/texmf-dist/doc/generic/polexpr/README.md	2021-05-27 19:52:26 UTC (rev 59365)
@@ -87,8 +87,10 @@
   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,

Modified: trunk/Master/texmf-dist/doc/generic/polexpr/polexpr.html
===================================================================
--- trunk/Master/texmf-dist/doc/generic/polexpr/polexpr.html	2021-05-26 23:42:52 UTC (rev 59364)
+++ trunk/Master/texmf-dist/doc/generic/polexpr/polexpr.html	2021-05-27 19:52:26 UTC (rev 59365)
@@ -598,7 +598,7 @@
 <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 @@
 <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">&&</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">&&</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 @@
 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>

Modified: trunk/Master/texmf-dist/tex/generic/polexpr/polexpr.sty
===================================================================
--- trunk/Master/texmf-dist/tex/generic/polexpr/polexpr.sty	2021-05-26 23:42:52 UTC (rev 59364)
+++ trunk/Master/texmf-dist/tex/generic/polexpr/polexpr.sty	2021-05-27 19:52:26 UTC (rev 59365)
@@ -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 at 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

Modified: trunk/Master/texmf-dist/tex/generic/polexpr/polexprcore.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/polexpr/polexprcore.tex	2021-05-26 23:42:52 UTC (rev 59364)
+++ trunk/Master/texmf-dist/tex/generic/polexpr/polexprcore.tex	2021-05-27 19:52:26 UTC (rev 59365)
@@ -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}.}%

Modified: trunk/Master/texmf-dist/tex/generic/polexpr/polexprexpr.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/polexpr/polexprexpr.tex	2021-05-26 23:42:52 UTC (rev 59364)
+++ trunk/Master/texmf-dist/tex/generic/polexpr/polexprexpr.tex	2021-05-27 19:52:26 UTC (rev 59365)
@@ -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
 %%

Modified: trunk/Master/texmf-dist/tex/generic/polexpr/polexprsturm.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/polexpr/polexprsturm.tex	2021-05-26 23:42:52 UTC (rev 59364)
+++ trunk/Master/texmf-dist/tex/generic/polexpr/polexprsturm.tex	2021-05-27 19:52:26 UTC (rev 59365)
@@ -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.



More information about the tex-live-commits mailing list.