texlive[57240] Master/texmf-dist: pgf (27dec20)
commits+karl at tug.org
commits+karl at tug.org
Sun Dec 27 22:58:12 CET 2020
Revision: 57240
http://tug.org/svn/texlive?view=revision&revision=57240
Author: karl
Date: 2020-12-27 22:58:12 +0100 (Sun, 27 Dec 2020)
Log Message:
-----------
pgf (27dec20)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/generic/pgf/ChangeLog
trunk/Master/texmf-dist/doc/generic/pgf/RELEASE_NOTES.md
trunk/Master/texmf-dist/doc/generic/pgf/pgfmanual.pdf
trunk/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex
trunk/Master/texmf-dist/tex/generic/pgf/pgf.revision.tex
Modified: trunk/Master/texmf-dist/doc/generic/pgf/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pgf/ChangeLog 2020-12-27 21:56:40 UTC (rev 57239)
+++ trunk/Master/texmf-dist/doc/generic/pgf/ChangeLog 2020-12-27 21:58:12 UTC (rev 57240)
@@ -1,5 +1,21 @@
+2020-12-27 Henri Menke
+
+ - Release 3.1.8b
+
+2020-12-27 Henri Menke
+
+ - Revert "tikz: handle \relax and frozen \relax on path #966"
+
+2020-12-27 Henri Menke
+
+ - Release 3.1.8a
+
2020-12-25 Henri Menke
+ - fixup! Preserve coordinate relativity across ..
+
+2020-12-25 Henri Menke
+
- Release 3.1.8
2020-12-03 Henri Menke
Modified: trunk/Master/texmf-dist/doc/generic/pgf/RELEASE_NOTES.md
===================================================================
--- trunk/Master/texmf-dist/doc/generic/pgf/RELEASE_NOTES.md 2020-12-27 21:56:40 UTC (rev 57239)
+++ trunk/Master/texmf-dist/doc/generic/pgf/RELEASE_NOTES.md 2020-12-27 21:58:12 UTC (rev 57240)
@@ -1,34 +1,5 @@
-# BREAKING CHANGES
+Hotfix for handling of TeX conditionals on a path. We can't forward \relax and
+frozen \relax through the parser because there is existing code that relies on
+this.
-If a topath is bent by any of the in=, out=, bend=, etc. options, a Bezier
-curve is constructed in the background. To infer the positions of the control
-points the start and end coordinate are converted to absolute coordinates.
-However, this has the effect that subsequent points on the path think that the
-endpoint of the topath was absolute which can lead to counter-intuitive path
-construction, e.g.
-```latex
-\draw (2,0) to[out=0,in=180] +(1,0) -- ++(0,-1) -- +(1,0);
-```
-If old code relies on this behavior, this drawing will silently break! Please
-open an issue if you rely on this.
-
-# Bug fixes
-
-This release introduces a fix for path handling which concerns expansion of
-tokens on the path in particular with respect to conditional. Previously when
-the expansion of a conditonal resulted in a frozen \relax the parser would just
-give up. Now the parser will skip over the frozen \relax and continue to
-expand tokens. Whether this will result in a meaningful expansion is up to the
-user.
-
-This release also includes other bug fixes. On GitHub you can click the commit
-hashes and the issue numbers to get to the fix and the ticket, respectively.
-
-a4c275704 #952
-8a997bbc1 #954
-8f37bca84 #962
-3cbe5a192 #844
-49e5f0a08 #654
-17a95e4c5 #966
-ad06895a6 #966
-79e613ae1 #966
+The recommendation is to use expandable conditionals where possible.
Modified: trunk/Master/texmf-dist/doc/generic/pgf/pgfmanual.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex 2020-12-27 21:56:40 UTC (rev 57239)
+++ trunk/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex 2020-12-27 21:58:12 UTC (rev 57240)
@@ -2120,15 +2120,10 @@
\else%
\tikz at invoke@collected at onpath%
\fi%
- \tikz at scan@@next at command
+ \afterassignment\tikz at handle\let\pgf at let@token=%
}%
-\def\tikz at scan@@next at command{%
- \afterassignment\tikz at handle\let\pgf at let@token=%
-}
-
\newcount\tikz at expandcount
\let\tikz at collected@onpath=\pgfutil at empty%
-\edef\tikz at frozen@relax at token{\ifnum0=0\fi}
% Central dispatcher for commands
\def\tikz at handle{%
@@ -2229,7 +2224,7 @@
\ifx\pgf at let@token:%
\let\pgfutil at next=\tikz at colon@char%
\else%
- \let\pgfutil at next=\tikz at handle@evenmore
+ \let\pgfutil at next=\tikz at expand%
\fi%
\fi%
\fi%
@@ -2245,26 +2240,10 @@
\fi%
\fi%
\fi%
+ \ifx\pgfutil at next\tikz at expand\else\tikz at expandcount=100\relax\fi%
\pgfutil at next%
}%
-% Continued...
-\def\tikz at handle@evenmore{%
- % if \pgf at let@token is \relax or frozen \relax, skip it and
- % scan from the next token
- \ifx\pgf at let@token\relax
- \let\pgfutil at next=\tikz at scan@@next at command
- \else
- \ifx\pgf at let@token\tikz at frozen@relax at token
- \let\pgfutil at next=\tikz at scan@@next at command
- \else
- \let\pgfutil at next=\tikz at expand
- \fi
- \fi
- \ifx\pgfutil at next\tikz at expand\else\tikz at expandcount=100\relax\fi
- \pgfutil at next
-}
-
\def\tikz at l@char{%
\pgfutil at ifnextchar e{\tikz at let@command}{%
\pgfutil at ifnextchar i{\tikz at lsystem}{%
@@ -3112,6 +3091,9 @@
}%
\def\tikz@@to at or@edge at math#1{%
\pgf at process{#1}%
+ \iftikz at updatecurrent\else
+ \tikz at updatenextfalse
+ \fi
\edef\tikztotarget{\the\pgf at x,\the\pgf at y}%
\tikz at to@or at edge@function%
}%
Modified: trunk/Master/texmf-dist/tex/generic/pgf/pgf.revision.tex
===================================================================
--- trunk/Master/texmf-dist/tex/generic/pgf/pgf.revision.tex 2020-12-27 21:56:40 UTC (rev 57239)
+++ trunk/Master/texmf-dist/tex/generic/pgf/pgf.revision.tex 2020-12-27 21:58:12 UTC (rev 57240)
@@ -5,10 +5,10 @@
\catcode`\:=12
\catcode`\+=12
\catcode`\-=12
-\gdef\pgfrevision{3.1.8}
-\gdef\pgfversion{3.1.8}
-\gdef\pgfversiondatetime{2020-12-25 18:12:40 +0100}
-\gdef\pgfrevisiondatetime{2020-12-25 18:12:40 +0100}
+\gdef\pgfrevision{3.1.8b}
+\gdef\pgfversion{3.1.8b}
+\gdef\pgfversiondatetime{2020-12-27 19:52:45 +0100}
+\gdef\pgfrevisiondatetime{2020-12-27 19:52:45 +0100}
\gdef\pgf at glob@TMPa#1-#2-#3 #4\relax{#1/#2/#3}
\xdef\pgfversiondate{\expandafter\pgf at glob@TMPa\pgfversiondatetime\relax}
\xdef\pgfrevisiondate{\expandafter\pgf at glob@TMPa\pgfrevisiondatetime\relax}
More information about the tex-live-commits
mailing list.