[latex3-commits] [latex2e-public] r1512 - correction to nulldelimterspace adjustment on genfrac implementauin for unicode tex

noreply at latex-project.org noreply at latex-project.org
Sat Sep 2 23:42:55 CEST 2017


Author: carlisle
Date: 2017-09-02 23:42:55 +0200 (Sat, 02 Sep 2017)
New Revision: 1512

Modified:
   trunk/required/amsmath/README.txt
   trunk/required/amsmath/amsmath.dtx
   trunk/required/amsmath/changes.txt
   trunk/required/amsmath/testfiles/amsldoc-2.luatex.tlg
   trunk/required/amsmath/testfiles/amsldoc-2.xetex.tlg
   trunk/required/amsmath/testfiles/amsldoc-5.luatex.tlg
   trunk/required/amsmath/testfiles/amsldoc-5.xetex.tlg
Log:
correction to nulldelimterspace adjustment on genfrac implementauin for unicode tex

Modified: trunk/required/amsmath/README.txt
===================================================================
--- trunk/required/amsmath/README.txt	2017-09-02 21:31:45 UTC (rev 1511)
+++ trunk/required/amsmath/README.txt	2017-09-02 21:42:55 UTC (rev 1512)
@@ -90,8 +90,8 @@
 ========================================================================
 IV. REMARKS ON THIS RELEASE
 
-Version 2.16 adds some control over spacing around aligned/gathered and
-adjustments to the generalized fraction code so that it works in xetex.
+Version 2.17 fixes a bug in the spacing around the closing delimiter in generalised
+fractions in xetex and luatex version added in release 2.16
 
 ========================================================================
 V. CHANGE LOG

Modified: trunk/required/amsmath/amsmath.dtx
===================================================================
--- trunk/required/amsmath/amsmath.dtx	2017-09-02 21:31:45 UTC (rev 1511)
+++ trunk/required/amsmath/amsmath.dtx	2017-09-02 21:42:55 UTC (rev 1512)
@@ -2,7 +2,7 @@
 % \iffalse meta-comment
 %
 % Copyright 1995, 2000, 2013 American Mathematical Society.
-% Copyright 2016 LaTeX3 Project and American Mathematical Society.
+% Copyright 2016-2017 LaTeX3 Project and American Mathematical Society.
 %
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either version 1.3c
@@ -74,7 +74,7 @@
 %    \begin{macrocode}
 \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX)
 [1994/12/01]% LaTeX date must be December 1994 or later
-\ProvidesPackage{amsmath}[2016/11/05 v2.16a AMS math features]
+\ProvidesPackage{amsmath}[2017/09/02 v2.17a AMS math features]
 %    \end{macrocode}
 %
 % \section{Catcode defenses}
@@ -635,9 +635,12 @@
 %    \begin{macrocode}
 \def\genfrac at choice#1#2{%
 \ifx @#2@\else
+%    \end{macrocode}
+% \changes{v2.17a}{2017/09/02}{move \cs{nulldelimiterspace} correction}
+%    \begin{macrocode}
+\ifx c#1\kern-\nulldelimiterspace\fi
 {\delimitershortfall\z@\delimiterfactor\@m
  \mathsurround\z@\nulldelimiterspace\z@
-\ifx c#1\kern-\nulldelimiterspace\fi
 \mathchoice
 {\genfrac at rule{#2}{20}\textfont{2.39}}%
 {\genfrac at rule{#2}{21}\textfont{1}}%
@@ -678,9 +681,12 @@
 %    \begin{macrocode}
 \def\genfrac at choice#1#2{%
 \ifx @#2@\else
+%    \end{macrocode}
+% \changes{v2.17a}{2017/09/02}{move \cs{nulldelimiterspace} correction}
+%    \begin{macrocode}
+\ifx c#1\kern-\nulldelimiterspace\fi
 {\delimitershortfall\z@\delimiterfactor\@m
  \mathsurround\z@\nulldelimiterspace\z@
-\ifx c#1\kern-\nulldelimiterspace\fi
 \mathchoice
 {\genfrac at rule{#2}\displaystyle{2.39}}%
 {\genfrac at rule{#2}\textstyle{1}}%

Modified: trunk/required/amsmath/changes.txt
===================================================================
--- trunk/required/amsmath/changes.txt	2017-09-02 21:31:45 UTC (rev 1511)
+++ trunk/required/amsmath/changes.txt	2017-09-02 21:42:55 UTC (rev 1512)
@@ -1,3 +1,9 @@
+2017-09-02  David Carlisle  <latex-bugs at latex-project.org>
+
+	* amsmath.dtx: move the nulldelimiterspace correction for closing
+	delimiters in \genfrac for extended TeXs to the line before
+	\nulldelimiterspace is locally set to 0pt.
+
 2017-04-14  David Carlisle  <latex-bugs at latex-project.org>
 
 	* amscd.dtx: typo fix in ProvidesPackage line.

Modified: trunk/required/amsmath/testfiles/amsldoc-2.luatex.tlg
===================================================================
--- trunk/required/amsmath/testfiles/amsldoc-2.luatex.tlg	2017-09-02 21:31:45 UTC (rev 1511)
+++ trunk/required/amsmath/testfiles/amsldoc-2.luatex.tlg	2017-09-02 21:42:55 UTC (rev 1512)
@@ -252,9 +252,9 @@
 ...............\OML/cmm/m/it/7 c
 .............\mathoff
 ............\glue(\tabskip) 0.0
-............\hbox(16.98616+15.00003)x220.29605, glue set 25.30437fill, direction TLT
+............\hbox(16.98616+15.00003)x220.29605, glue set 26.50436fill, direction TLT
 .............\mathon
-.............\hbox(16.98616+15.00003)x194.99168, direction TLT
+.............\hbox(16.98616+15.00003)x193.79169, direction TLT
 ..............\hbox(0.0+0.0)x0.0, direction TLT
 ..............\glue(\thickmuskip) 2.77771 plus 2.77771
 ..............\OT1/cmr/m/n/10 =
@@ -357,7 +357,7 @@
 ................\OT1/cmr/m/n/7 1
 ...............\kern1.0
 ..............\glue(\thinmuskip) 1.66663
-..............\hbox(14.5001+9.50012)x25.25392, direction TLT
+..............\hbox(14.5001+9.50012)x24.05392, direction TLT
 ...............\hbox(14.5001+9.50012)x7.36115, direction TLT
 ................\hbox(14.5001+9.50012)x7.36115, direction TLT
 .................\mathon
@@ -385,8 +385,8 @@
 ....................\OML/cmm/m/it/7 i
 ...................\glue 0.0 plus 1.0fil minus 1.0fil
 .................\hbox(0.0+0.0)x1.2, shifted -2.5, direction TLT
+...............\kern -1.2
 ...............\hbox(14.5001+9.50012)x7.36115, direction TLT
-................\kern 0.0
 ................\hbox(14.5001+9.50012)x7.36115, direction TLT
 .................\mathon
 .................\hbox(14.5001+9.50012)x7.36115, direction TLT

Modified: trunk/required/amsmath/testfiles/amsldoc-2.xetex.tlg
===================================================================
--- trunk/required/amsmath/testfiles/amsldoc-2.xetex.tlg	2017-09-02 21:31:45 UTC (rev 1511)
+++ trunk/required/amsmath/testfiles/amsldoc-2.xetex.tlg	2017-09-02 21:42:55 UTC (rev 1512)
@@ -240,9 +240,9 @@
 ...............\OML/cmm/m/it/7 c
 .............\mathoff
 ............\glue(\tabskip) 0.0
-............\hbox(16.98616+15.00003)x220.29605, glue set 25.30437fill
+............\hbox(16.98616+15.00003)x220.29605, glue set 26.50436fill
 .............\mathon
-.............\hbox(16.98616+15.00003)x194.99168
+.............\hbox(16.98616+15.00003)x193.79169
 ..............\hbox(0.0+0.0)x0.0
 ..............\glue(\thickmuskip) 2.77771 plus 2.77771
 ..............\OT1/cmr/m/n/10 =
@@ -345,7 +345,7 @@
 ................\OT1/cmr/m/n/7 1
 ...............\kern1.0
 ..............\glue(\thinmuskip) 1.66663
-..............\hbox(14.5001+9.50012)x25.25392
+..............\hbox(14.5001+9.50012)x24.05392
 ...............\hbox(14.5001+9.50012)x7.36115
 ................\hbox(14.5001+9.50012)x7.36115
 .................\mathon
@@ -373,8 +373,8 @@
 ....................\OML/cmm/m/it/7 i
 ...................\glue 0.0 plus 1.0fil minus 1.0fil
 .................\hbox(0.0+0.0)x1.2, shifted -2.5
+...............\kern -1.2
 ...............\hbox(14.5001+9.50012)x7.36115
-................\kern 0.0
 ................\hbox(14.5001+9.50012)x7.36115
 .................\mathon
 .................\hbox(14.5001+9.50012)x7.36115

Modified: trunk/required/amsmath/testfiles/amsldoc-5.luatex.tlg
===================================================================
--- trunk/required/amsmath/testfiles/amsldoc-5.luatex.tlg	2017-09-02 21:31:45 UTC (rev 1511)
+++ trunk/required/amsmath/testfiles/amsldoc-5.luatex.tlg	2017-09-02 21:42:55 UTC (rev 1512)
@@ -534,15 +534,15 @@
 ...\glue(\abovedisplayshortskip) 0.0 plus 3.0
 ...\glue(\lineskip) 1.0
 ...\hbox(14.5001+9.50012)x345.0, direction TLT
-....\kern113.71832
-....\hbox(14.5001+9.50012)x117.56337, direction TLT
+....\kern114.91832
+....\hbox(14.5001+9.50012)x115.16338, direction TLT
 .....\OT1/cmr/m/n/10 2
 .....\hbox(4.8611+0.0)x4.92017, shifted -4.12892, direction TLT
 ......\OML/cmm/m/it/7 k
 .....\glue(\medmuskip) 2.22217 plus 1.11108 minus 2.22217
 .....\OMS/cmsy/m/n/10 ^^@
 .....\glue(\medmuskip) 2.22217 plus 1.11108 minus 2.22217
-.....\hbox(14.5001+9.50012)x21.44313, direction TLT
+.....\hbox(14.5001+9.50012)x20.24313, direction TLT
 ......\hbox(14.5001+9.50012)x7.36115, direction TLT
 .......\hbox(14.5001+9.50012)x7.36115, direction TLT
 ........\mathon
@@ -566,8 +566,8 @@
 ..........\OT1/cmr/m/n/10 1
 ..........\glue 0.0 plus 1.0fil minus 1.0fil
 ........\hbox(0.0+0.0)x1.2, shifted -2.5, direction TLT
+......\kern -1.2
 ......\hbox(14.5001+9.50012)x7.36115, direction TLT
-.......\kern 0.0
 .......\hbox(14.5001+9.50012)x7.36115, direction TLT
 ........\mathon
 ........\hbox(14.5001+9.50012)x7.36115, direction TLT
@@ -586,7 +586,7 @@
 .....\glue(\medmuskip) 2.22217 plus 1.11108 minus 2.22217
 .....\OT1/cmr/m/n/10 +
 .....\glue(\medmuskip) 2.22217 plus 1.11108 minus 2.22217
-.....\hbox(14.5001+9.50012)x21.44313, direction TLT
+.....\hbox(14.5001+9.50012)x20.24313, direction TLT
 ......\hbox(14.5001+9.50012)x7.36115, direction TLT
 .......\hbox(14.5001+9.50012)x7.36115, direction TLT
 ........\mathon
@@ -610,8 +610,8 @@
 ..........\OT1/cmr/m/n/10 2
 ..........\glue 0.0 plus 1.0fil minus 1.0fil
 ........\hbox(0.0+0.0)x1.2, shifted -2.5, direction TLT
+......\kern -1.2
 ......\hbox(14.5001+9.50012)x7.36115, direction TLT
-.......\kern 0.0
 .......\hbox(14.5001+9.50012)x7.36115, direction TLT
 ........\mathon
 ........\hbox(14.5001+9.50012)x7.36115, direction TLT
@@ -627,7 +627,7 @@
 ......\kern0.16898
 ......\OMS/cmsy/m/n/7 ^^@
 ......\OT1/cmr/m/n/7 2
-....\kern100.94049
+....\kern102.14049
 ....\hbox(7.5+2.5)x12.77782, direction TLT
 .....\hbox(7.5+2.5)x12.77782, direction TLT
 ......\OT1/cmr/m/n/10 (

Modified: trunk/required/amsmath/testfiles/amsldoc-5.xetex.tlg
===================================================================
--- trunk/required/amsmath/testfiles/amsldoc-5.xetex.tlg	2017-09-02 21:31:45 UTC (rev 1511)
+++ trunk/required/amsmath/testfiles/amsldoc-5.xetex.tlg	2017-09-02 21:42:55 UTC (rev 1512)
@@ -483,15 +483,15 @@
 ...\penalty 10000
 ...\glue(\abovedisplayshortskip) 0.0 plus 3.0
 ...\glue(\lineskip) 1.0
-...\hbox(14.5001+9.50012)x231.28168, shifted 113.71832
-....\hbox(14.5001+9.50012)x117.56337, display
+...\hbox(14.5001+9.50012)x230.08168, shifted 114.91832
+....\hbox(14.5001+9.50012)x115.16338, display
 .....\OT1/cmr/m/n/10 2
 .....\hbox(4.8611+0.0)x4.92017, shifted -4.12892
 ......\OML/cmm/m/it/7 k
 .....\glue(\medmuskip) 2.22217 plus 1.11108 minus 2.22217
 .....\OMS/cmsy/m/n/10 ^^@
 .....\glue(\medmuskip) 2.22217 plus 1.11108 minus 2.22217
-.....\hbox(14.5001+9.50012)x21.44313
+.....\hbox(14.5001+9.50012)x20.24313
 ......\hbox(14.5001+9.50012)x7.36115
 .......\hbox(14.5001+9.50012)x7.36115
 ........\mathon
@@ -515,8 +515,8 @@
 ..........\OT1/cmr/m/n/10 1
 ..........\glue 0.0 plus 1.0fil minus 1.0fil
 ........\hbox(0.0+0.0)x1.2, shifted -2.5
+......\kern -1.2
 ......\hbox(14.5001+9.50012)x7.36115
-.......\kern 0.0
 .......\hbox(14.5001+9.50012)x7.36115
 ........\mathon
 ........\hbox(14.5001+9.50012)x7.36115
@@ -535,7 +535,7 @@
 .....\glue(\medmuskip) 2.22217 plus 1.11108 minus 2.22217
 .....\OT1/cmr/m/n/10 +
 .....\glue(\medmuskip) 2.22217 plus 1.11108 minus 2.22217
-.....\hbox(14.5001+9.50012)x21.44313
+.....\hbox(14.5001+9.50012)x20.24313
 ......\hbox(14.5001+9.50012)x7.36115
 .......\hbox(14.5001+9.50012)x7.36115
 ........\mathon
@@ -559,8 +559,8 @@
 ..........\OT1/cmr/m/n/10 2
 ..........\glue 0.0 plus 1.0fil minus 1.0fil
 ........\hbox(0.0+0.0)x1.2, shifted -2.5
+......\kern -1.2
 ......\hbox(14.5001+9.50012)x7.36115
-.......\kern 0.0
 .......\hbox(14.5001+9.50012)x7.36115
 ........\mathon
 ........\hbox(14.5001+9.50012)x7.36115
@@ -576,7 +576,7 @@
 ......\kern0.16898
 ......\OMS/cmsy/m/n/7 ^^@
 ......\OT1/cmr/m/n/7 2
-....\kern100.94049
+....\kern102.14049
 ....\hbox(7.5+2.5)x12.77782, display
 .....\hbox(7.5+2.5)x12.77782
 ......\OT1/cmr/m/n/10 (



More information about the latex3-commits mailing list