summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-12-25 22:01:58 +0000
committerKarl Berry <karl@freefriends.org>2020-12-25 22:01:58 +0000
commit1e611e5edb570cb045a27e8fa52e7ffa36ba2f29 (patch)
tree7ab33bc15b74c32c00a740fca680c541387320eb /Master
parent59ded7330e89e2fd397692f54866a264ef5ba679 (diff)
pgf (25dec20)
git-svn-id: svn://tug.org/texlive/trunk@57224 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/generic/pgf/AUTHORS3
-rw-r--r--Master/texmf-dist/doc/generic/pgf/CTAN_NOTES.md1
-rw-r--r--Master/texmf-dist/doc/generic/pgf/ChangeLog112
-rw-r--r--Master/texmf-dist/doc/generic/pgf/FILES3
-rw-r--r--Master/texmf-dist/doc/generic/pgf/README10
-rw-r--r--Master/texmf-dist/doc/generic/pgf/RELEASE_NOTES.md31
-rw-r--r--Master/texmf-dist/doc/generic/pgf/pgfmanual.pdfbin10578098 -> 10580776 bytes
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-plots.tex2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-transformations.tex10
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-patterns.tex8
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-math-commands.tex2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-pgfkeys.tex24
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-arrows.tex2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-matrices.tex8
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-paths.tex7
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-pics.tex2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-plots.tex2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-shapes.tex10
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-asymptotic-example.gnuplot2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-exp.gnuplot2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-parametric-example.gnuplot2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-sin.gnuplot2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-x.gnuplot2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/plots/pgfmanual-sine.gnuplot3
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/plots/pgfplotgnuplot-example.gnuplot2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-dvipdfm/en/plots/pgfmanual-sine.gnuplot3
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-dvipdfmx/en/plots/pgfmanual-sine.gnuplot3
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-dvips/en/plots/pgfmanual-sine.gnuplot3
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-pdftex/en/plots/pgfmanual-sine.gnuplot3
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-asymptotic-example.gnuplot2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-exp.gnuplot2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-parametric-example.gnuplot2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-sin.gnuplot2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-x.gnuplot2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgfmanual-sine.gnuplot3
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgfplotgnuplot-example.gnuplot2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-asymptotic-example.gnuplot2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-exp.gnuplot2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-parametric-example.gnuplot2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-sin.gnuplot2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-x.gnuplot2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgfmanual-sine.gnuplot3
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgfplotgnuplot-example.gnuplot2
-rw-r--r--Master/texmf-dist/doc/generic/pgf/version-for-xetex/en/plots/pgfmanual-sine.gnuplot3
-rw-r--r--Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarycalendar.code.tex2
-rw-r--r--Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarytopaths.code.tex4
-rw-r--r--Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex50
-rw-r--r--Master/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/ControlSprings.lua4
-rw-r--r--Master/texmf-dist/tex/generic/pgf/libraries/pgflibraryfpu.code.tex2
-rw-r--r--Master/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex11
-rw-r--r--Master/texmf-dist/tex/generic/pgf/pgf.revision.tex8
51 files changed, 280 insertions, 98 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/AUTHORS b/Master/texmf-dist/doc/generic/pgf/AUTHORS
deleted file mode 100644
index 8bd3d5bde95..00000000000
--- a/Master/texmf-dist/doc/generic/pgf/AUTHORS
+++ /dev/null
@@ -1,3 +0,0 @@
-Till Tantau <tantau@users.sourceforge.net>
-Mark Wibrow
-Christian Feuersaenger <ludewich@users.sourceforge.net>
diff --git a/Master/texmf-dist/doc/generic/pgf/CTAN_NOTES.md b/Master/texmf-dist/doc/generic/pgf/CTAN_NOTES.md
deleted file mode 100644
index 8b137891791..00000000000
--- a/Master/texmf-dist/doc/generic/pgf/CTAN_NOTES.md
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/Master/texmf-dist/doc/generic/pgf/ChangeLog b/Master/texmf-dist/doc/generic/pgf/ChangeLog
index e34428fced9..2e12f9a86ee 100644
--- a/Master/texmf-dist/doc/generic/pgf/ChangeLog
+++ b/Master/texmf-dist/doc/generic/pgf/ChangeLog
@@ -1,3 +1,115 @@
+2020-12-25 Henri Menke
+
+ - Release 3.1.8
+
+2020-12-03 Henri Menke
+
+ - CI: Use GitHub Actions from pgf-tikz/actions
+
+2020-12-01 Henri Menke
+
+ - Remove empty or outdated files
+
+2020-12-25 Henri Menke
+
+ - Preserve coordinate relativity across ..
+
+2020-12-22 Henri Menke
+
+ - Merge pull request #967 from muzimuzhi/handle-relax
+
+2020-12-22 Henri Menke
+
+ - fixup! doc: Add note on expandsion of path operations #966
+
+2020-12-22 muzimuzhi
+
+ - Remove spurious spaces, terminate \advance in time
+
+2020-12-22 muzimuzhi
+
+ - tikz: handle \relax and frozen \relax on path #966
+
+2020-12-21 Henri Menke
+
+ - doc: Add note on expandsion of path operations #966
+
+2020-12-17 Henri Menke
+
+ - Merge pull request #961 from muzimuzhi/improve-doc
+
+2020-12-18 muzimuzhi
+
+ - doc: relation of /.code & /.initial will remain
+
+2020-12-17 Henri Menke
+
+ - Only force signed releases #962
+
+2020-12-18 muzimuzhi
+
+ - doc: clarify /.code keys don't respect /.initial #654
+
+2020-12-18 muzimuzhi
+
+ - Added doc for \pgfpointtransformed #844
+
+2020-12-17 Henri Menke
+
+ - Merge pull request #959 from muzimuzhi/improve-doc
+
+2020-12-15 muzimuzhi
+
+ - doc: clarify path or full key start with slash #904
+
+2020-12-17 Henri Menke
+
+ - Merge pull request #956 from muzimuzhi/improve-doc
+
+2020-12-15 muzimuzhi
+
+ - pgfmathdeclarerandomlist: improve doc and code comment
+
+2020-12-14 Henri Menke
+
+ - Merge pull request #955 from Ordoviz/master
+
+2020-12-14 Henri Menke
+
+ - pgfmathrandominteger: reordering of arguments incomplete #954
+
+2020-12-12 Henri Menke
+
+ - fpu: mark /pgf/fpu/install only as not experimental
+
+2020-11-30 Lennard Hofmann
+
+ - Fix typos in manual
+
+2020-12-11 Henri Menke
+
+ - Merge branch 'PimpLuaExamples' of https://github.com/Mo-Gul/pgf
+
+2020-12-11 Henri Menke
+
+ - docs: set terminal table -> set table #952
+
+2020-06-21 Stefan Pinnow
+
+ - correct codeexample preamble entries in Lua file
+
+2020-06-21 Stefan Pinnow
+
+ - made some "normal" `codeexample`s compile again (when extracted)
+
+2020-06-21 Stefan Pinnow
+
+ - just added end line commata at the end of values/styles
+
+2020-06-18 Stefan Pinnow
+
+ - added hints which libraries need to be loaded as well to make the example in `pgfmanual-en-tikz-graphs.tex` work closes issue #755)
+
2020-12-01 Henri Menke
- Release 3.1.7a
diff --git a/Master/texmf-dist/doc/generic/pgf/FILES b/Master/texmf-dist/doc/generic/pgf/FILES
index 66e8e55a115..98478c08d6f 100644
--- a/Master/texmf-dist/doc/generic/pgf/FILES
+++ b/Master/texmf-dist/doc/generic/pgf/FILES
@@ -1,9 +1,6 @@
-doc/generic/pgf/AUTHORS
-doc/generic/pgf/CTAN_NOTES.md
doc/generic/pgf/ChangeLog
doc/generic/pgf/FILES
doc/generic/pgf/INSTALL
-doc/generic/pgf/README
doc/generic/pgf/RELEASE_NOTES.md
doc/generic/pgf/description.html
doc/generic/pgf/extract.lua
diff --git a/Master/texmf-dist/doc/generic/pgf/README b/Master/texmf-dist/doc/generic/pgf/README
deleted file mode 100644
index 73e99b884a3..00000000000
--- a/Master/texmf-dist/doc/generic/pgf/README
+++ /dev/null
@@ -1,10 +0,0 @@
-pgf -- A Portable Graphic Format for TeX
-
-See the directory doc/generic/pgf for more information. See the file
-doc/generic/pgf/pgfmanual.pdf for a manual. This
-documentation also explains the installation. See the file
-doc/generic/pgf/license/LICENSE for license details.
-
-Please go to the official repository at https://github.com/pgf-tikz/pgf
-or the official mailing list at https://tug.org/mailman/listinfo/pgf-tikz
-to submit bug reports, request new features, etc.
diff --git a/Master/texmf-dist/doc/generic/pgf/RELEASE_NOTES.md b/Master/texmf-dist/doc/generic/pgf/RELEASE_NOTES.md
index 677c2d04084..22437f3da7e 100644
--- a/Master/texmf-dist/doc/generic/pgf/RELEASE_NOTES.md
+++ b/Master/texmf-dist/doc/generic/pgf/RELEASE_NOTES.md
@@ -1,9 +1,34 @@
+# BREAKING CHANGES
+
+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
-Another issue with the new LaTeX hook mechanism surfaced in the external
-library which is being worked around now.
+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.
-3c46a6974 #947
+a4c275704 #952
+8a997bbc1 #954
+8f37bca84 #962
+3cbe5a192 #844
+49e5f0a08 #654
+17a95e4c5 #966
+ad06895a6 #966
+79e613ae1 #966
diff --git a/Master/texmf-dist/doc/generic/pgf/pgfmanual.pdf b/Master/texmf-dist/doc/generic/pgf/pgfmanual.pdf
index 63f7afd712f..38c731f0fab 100644
--- a/Master/texmf-dist/doc/generic/pgf/pgfmanual.pdf
+++ b/Master/texmf-dist/doc/generic/pgf/pgfmanual.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-plots.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-plots.tex
index 4f9ce6098ea..d11922a09b7 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-plots.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-plots.tex
@@ -320,7 +320,7 @@ reader'' that parses coordinate files a bit more intelligently.
file it writes
%
\begin{codeexample}[code only, tikz syntax=false]
-set terminal table; set output "#1.table"; set format "%.5f"
+set table "#1.table"; set format "%.5f"
\end{codeexample}
%
where |#1| is replaced by \meta{prefix}. Then, in a second line, it writes
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-transformations.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-transformations.tex
index 8b7e1373355..afc5ed3d1d1 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-transformations.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-base-transformations.tex
@@ -522,6 +522,16 @@ matrices.
\end{command}
+\subsubsection{Applying Coordinate Transformation to Points}
+
+\begin{command}{\pgfpointtransformed\marg{point}}
+ Applies current transformation matrix to \marg{point} $(x,y)$ and returns a
+ transformed point $(ax+cy+s,bx+dy+t)$. Normally, this is done automatically
+ by commands like |\pgfpathlineto| or |\pgfpathmoveto|, but sometimes you
+ may wish to access a transformed point yourself.
+\end{command}
+
+
\subsubsection{Computing Adjustments for Coordinate Transformations}
\label{section-adjustment-transformations}
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-patterns.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-patterns.tex
index c9810eb2250..40a370d3fc5 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-patterns.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-patterns.tex
@@ -258,7 +258,7 @@ just rotate in the drawing code.
The following settings can be used to reproduce the other |... lines|
patterns.
%
-\begin{codeexample}[preamble={\usetikzlibrary{patterns.meta}}]
+\begin{codeexample}[preamble={\usetikzlibrary{patterns,patterns.meta}}]
\begin{tikzpicture}
\draw[pattern={horizontal lines},pattern color=orange]
(0,0) rectangle +(1,1);
@@ -316,7 +316,7 @@ just rotate in the drawing code.
The following settings can be used to reproduce the |grid| and
|crosshatch| patterns.
%
-\begin{codeexample}[preamble={\usetikzlibrary{patterns.meta}}]
+\begin{codeexample}[preamble={\usetikzlibrary{patterns,patterns.meta}}]
\begin{tikzpicture}
\draw[pattern={grid},pattern color=orange]
(0,0) rectangle +(1,1);
@@ -364,7 +364,7 @@ just rotate in the drawing code.
The following settings can be used to reproduce the |dots| and
|crosshatch dots| patterns.
%
-\begin{codeexample}[preamble={\usetikzlibrary{patterns.meta}}]
+\begin{codeexample}[preamble={\usetikzlibrary{patterns,patterns.meta}}]
\begin{tikzpicture}
\draw[pattern={dots},pattern color=orange]
(0,0) rectangle +(1,1);
@@ -414,7 +414,7 @@ just rotate in the drawing code.
Number of pointy ends of the stars.
\end{key}
%
-\begin{codeexample}[preamble={\usetikzlibrary{patterns.meta}}]
+\begin{codeexample}[preamble={\usetikzlibrary{patterns,patterns.meta}}]
\begin{tikzpicture}
\draw[pattern={fivepointed stars},pattern color=orange]
(0,0) rectangle +(1,1);
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-math-commands.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-math-commands.tex
index 54a890b0708..393c0842d00 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-math-commands.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-math-commands.tex
@@ -74,7 +74,7 @@ Section~\ref{pgfmath-functions-random}, the following commands are provided:
%
\end{command}
-\begin{command}{\pgfmathdeclarerandomlist\marg{list name}\{\marg{item-1}\marg{item 2}...\}}
+\begin{command}{\pgfmathdeclarerandomlist\marg{list name}{\ttfamily\{}\marg{item-1}\marg{item-2}...{\ttfamily\}}}
This creates a list of items with the name \meta{list name}.
\end{command}
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-pgfkeys.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-pgfkeys.tex
index 8241da2c7ed..641bae58f24 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-pgfkeys.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-pgfkeys.tex
@@ -185,6 +185,11 @@ partial key or a full key: If it starts with a slash, then it is a full key and
it is not modified; if it does not start with a slash, then the default path is
automatically prefixed.
+\emph{Remark:} The above rule is actually a definition, hence the corresponding
+sufficiency conditions hold. That is, if it is a full key, then it starts with
+a slash; if it is a partial key, then it does not start with a slash. Moreover,
+a path always starts with a slash.
+
Note that the default path is not the same as a search path. In particular, the
default path is just a single path. When a partial key is given, only this
single default path is prefixed; |pgfkeys| does not try to look up the key in
@@ -1248,6 +1253,25 @@ directly stored in a key.
and, thus, |\pgfkeysnovalue| will be stored in |/my key|.
To retrieve the value stored in a key, the handler |/.get| is used.
+
+ \medskip
+ \emph{Remark:} A key can both store a value and execute commands%
+ \footnote{This behavior was partially changed in \pgfname{} 3.1.6 and then
+ restored in 3.1.7. For compatibility reasons, this behavior will not be
+ changed in future releases anymore.}.
+ If so, using \meta{key} will \emph{always} execute commands with the passed
+ value, or the default value |\pgfkeysnovalue| if no value is provided.
+ Note that the stored value is never used. To update the stored value, the
+ handler |/.initial| or command |\pgfkeyssetvalue| is used.
+ %
+\begin{codeexample}[]
+\pgfkeys{/my key/.initial=red}
+\pgfkeys{/my key/.code=#1}
+% "/my key" now both stores the value "red" and executes commands
+\pgfkeys{/my key=blue}
+% "/my key" now still stores the value "red"
+\end{codeexample}
+ %
\end{handler}
\begin{handler}{{.get}|=|\meta{macro}}
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-arrows.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-arrows.tex
index ced3a827fe2..91bf2477dae 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-arrows.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-arrows.tex
@@ -329,7 +329,7 @@ context:
As an example, when you write |length=0pt 5|, the length of the arrow will
be exactly five times the current line width. As another example, the
default length of a |Latex| arrow is |length=3pt 4.5 0.8|. Let us ignore
- the 0.8 for a moment; the |4pt 4.5| then means that for the standard line
+ the 0.8 for a moment; the |3pt 4.5| then means that for the standard line
width of |0.4pt|, the length of a |Latex| arrow will be exactly 4.8pt (3pt
plus 4.5 times |0.4pt|).
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-matrices.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-matrices.tex
index 19adb8db0fd..f46ad79b7bc 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-matrices.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-matrices.tex
@@ -557,8 +557,8 @@ However, it is not recommended to override these.
even odd column,
row,
even odd row,
- cell
- }
+ cell,
+ },
}
\end{codeexample}
%
@@ -581,8 +581,8 @@ However, it is not recommended to override these.
column,
row,
cell,
- /tikz/my style
- }
+ /tikz/my style,
+ },
}
\end{codeexample}
%
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-paths.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-paths.tex
index 3a3f524eed5..7e0cae51087 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-paths.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-paths.tex
@@ -94,6 +94,11 @@ which is described in the subsections of the present section.
the path options (like filling and drawing the path due to a |fill| and a
|draw| option somewhere in the \meta{specification}), the nodes are added
in a post-processing step.
+
+ \emph{Note:} When scanning for path operations \tikzname\ expands tokens
+ looking for valid path operations. This however implies that these tokens
+ has to be fully expandable up to the point where it results in a valid path
+ operation.
\end{command}
\begin{key}{/tikz/name=\meta{path name}}
@@ -599,7 +604,7 @@ You can add a grid to the current path using the |grid| path operation.
This operations adds a grid filling a rectangle whose two corners are given
by \meta{corner} and by the previous coordinate. (Instead of a coordinate
you can also say |cycle| to use the position of the last move-to as the
- corner coordinate, but it not very natural to do so.) corner Thus, the
+ corner coordinate, but it not very natural to do so.) Thus, the
typical way in which a grid is drawn is |\draw (1,1) grid (3,3);|, which
yields a grid filling the rectangle whose corners are at $(1,1)$ and
$(3,3)$. All coordinate transformations apply to the grid.
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-pics.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-pics.tex
index 8710e6dc481..1e3645ab734 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-pics.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-pics.tex
@@ -613,7 +613,7 @@ handler that allows us to write even simpler code, namely:
\end{codeexample}
\begin{handler}{{.pic}|=|\meta{some code}}
- This handler can only be used with a key with the prefix |/tikz/|, so just
+ This handler can only be used with a key with the prefix |/tikz/|, so you
should normally use it only as an option to a \tikzname\ command or to the
|\tikzset| command. It takes the \meta{key}'s path and, inside that path,
it replaces |/tikz/| by |/tikz/pics/| (so, basically, it adds the
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-plots.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-plots.tex
index a757b394a2c..c069c1a44be 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-plots.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-plots.tex
@@ -140,7 +140,7 @@ if it is |o| or |u|. In the first case, the point is considered to be an
second case, the point is considered to be \emph{undefined}, which also results
in a new subpath being started. Again, see Section~\ref{section-plot-jumps} on
how to change this, if necessary. (This is exactly the format that
-\textsc{gnuplot} produces when you say |set terminal table|.)
+\textsc{gnuplot} produces when you say |set table|.)
%
\begin{codeexample}[]
\tikz \draw plot[mark=x,smooth] file {plots/pgfmanual-sine.table};
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-shapes.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-shapes.tex
index a712c1a4c9f..eb23cd90d8e 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-shapes.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-shapes.tex
@@ -313,7 +313,7 @@ The syntax for specifying nodes is the following:
\end{codeexample}
%
As the example shows, a \meta{list} can contain ellipses (three dots) to
- indicated that a larger number of numbers is meant. Indeed, you can use the
+ indicate that a larger number of numbers is meant. Indeed, you can use the
full power of the |\foreach| command here, including multiple parameters
and options, see Section~\ref{section-foreach}.
@@ -1853,7 +1853,7 @@ force:
\subsection{Placing Nodes on a Line or Curve Explicitly}
\label{section-nodes-placing-1}
-Until now, we always placed node on a coordinate that is mentioned in the path.
+Until now, we always placed nodes on a coordinate that is mentioned in the path.
Often, however, we wish to place nodes on ``the middle'' of a line and we do
not wish to compute these coordinates ``by hand''. To facilitate such
placements, \tikzname\ allows you to specify that a certain node should be
@@ -1928,7 +1928,7 @@ explicitly by using the |pos| option or implicitly by placing the node
\end{key}
\begin{key}{/tikz/auto=\opt{\meta{direction}} (default \normalfont is scope's setting)}
- This option causes an anchor positions to be calculated automatically
+ This option causes an anchor position to be calculated automatically
according to the following rule. Consider a line between two points. If the
\meta{direction} is |left|, then the anchor is chosen such that the node is
to the left of this line. If the \meta{direction} is |right|, then the node
@@ -2387,7 +2387,7 @@ following library, you get access to an even more concise syntax:
Let us start with the basics of what this library does: Once loaded, inside the
options of a |node| command, instead of the usual \meta{key}|=|\meta{value}
-pairs, you may also provide strings of the following form (the actual syntax
+pairs, you may also provide strings of the following form (the actual syntax is
slightly more general, see the detailed descriptions later on):
%
\begin{quote}
@@ -2435,7 +2435,7 @@ options in curly braces:
\end{tikzpicture}
\end{codeexample}
-Let us now have a more detailed look at what which commands this library
+Let us now have a more detailed look at what commands this library
provides:
\begin{key}{/tikz/quotes mean label}
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-asymptotic-example.gnuplot b/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-asymptotic-example.gnuplot
index 4c854afda9f..fca2b3fd236 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-asymptotic-example.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-asymptotic-example.gnuplot
@@ -1,2 +1,2 @@
-set terminal table; set output "plots/pgf-asymptotic-example.table"; set format "%.5f"
+set table "plots/pgf-asymptotic-example.table"; set format "%.5f"
set samples 200; set parametric; plot [t=0.4:1.5] (t*t*t)*sin(1/(t*t*t)),(t*t*t)*cos(1/(t*t*t))
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-exp.gnuplot b/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-exp.gnuplot
index 1d34e313af8..8109ea408c5 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-exp.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-exp.gnuplot
@@ -1,2 +1,2 @@
-set terminal table; set output "plots/pgf-exp.table"; set format "%.5f"
+set table "plots/pgf-exp.table"; set format "%.5f"
set samples 25; plot [x=0:4] 0.05*exp(x)
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-parametric-example.gnuplot b/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-parametric-example.gnuplot
index e1c3f3b52f2..2c366fe5292 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-parametric-example.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-parametric-example.gnuplot
@@ -1,2 +1,2 @@
-set terminal table; set output "plots/pgf-parametric-example.table"; set format "%.5f"
+set table "plots/pgf-parametric-example.table"; set format "%.5f"
set samples 25; set parametric; plot [t=-3.141:3.141] t*sin(t),t*cos(t)
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-sin.gnuplot b/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-sin.gnuplot
index 884d534bf4a..48df575630c 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-sin.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-sin.gnuplot
@@ -1,2 +1,2 @@
-set terminal table; set output "plots/pgf-sin.table"; set format "%.5f"
+set table "plots/pgf-sin.table"; set format "%.5f"
set samples 25; plot [x=0:4] sin(x)
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-x.gnuplot b/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-x.gnuplot
index bb95994cd89..0e57c0571ad 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-x.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgf-x.gnuplot
@@ -1,2 +1,2 @@
-set terminal table; set output "plots/pgf-x.table"; set format "%.5f"
+set table "plots/pgf-x.table"; set format "%.5f"
set samples 25; plot [x=0:4] x
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgfmanual-sine.gnuplot b/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgfmanual-sine.gnuplot
index 8e3f24b9172..cff802be0a9 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgfmanual-sine.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgfmanual-sine.gnuplot
@@ -1,5 +1,4 @@
-set terminal table
-set output "pgfmanual-sine.table"
+set table "pgfmanual-sine.table"
set format "%.5f"
set samples 20
plot [x=0:10] sin(x)
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgfplotgnuplot-example.gnuplot b/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgfplotgnuplot-example.gnuplot
index 3bd81ae92d1..ebac36dd234 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgfplotgnuplot-example.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/plots/pgfplotgnuplot-example.gnuplot
@@ -1,2 +1,2 @@
-set terminal table; set output "plots/pgfplotgnuplot-example.table"; set format "%.5f"
+set table "plots/pgfplotgnuplot-example.table"; set format "%.5f"
plot [x=0:3.5] x*sin(x)
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-dvipdfm/en/plots/pgfmanual-sine.gnuplot b/Master/texmf-dist/doc/generic/pgf/version-for-dvipdfm/en/plots/pgfmanual-sine.gnuplot
index 8e3f24b9172..cff802be0a9 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-dvipdfm/en/plots/pgfmanual-sine.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-dvipdfm/en/plots/pgfmanual-sine.gnuplot
@@ -1,5 +1,4 @@
-set terminal table
-set output "pgfmanual-sine.table"
+set table "pgfmanual-sine.table"
set format "%.5f"
set samples 20
plot [x=0:10] sin(x)
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-dvipdfmx/en/plots/pgfmanual-sine.gnuplot b/Master/texmf-dist/doc/generic/pgf/version-for-dvipdfmx/en/plots/pgfmanual-sine.gnuplot
index 8e3f24b9172..cff802be0a9 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-dvipdfmx/en/plots/pgfmanual-sine.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-dvipdfmx/en/plots/pgfmanual-sine.gnuplot
@@ -1,5 +1,4 @@
-set terminal table
-set output "pgfmanual-sine.table"
+set table "pgfmanual-sine.table"
set format "%.5f"
set samples 20
plot [x=0:10] sin(x)
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-dvips/en/plots/pgfmanual-sine.gnuplot b/Master/texmf-dist/doc/generic/pgf/version-for-dvips/en/plots/pgfmanual-sine.gnuplot
index 8e3f24b9172..cff802be0a9 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-dvips/en/plots/pgfmanual-sine.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-dvips/en/plots/pgfmanual-sine.gnuplot
@@ -1,5 +1,4 @@
-set terminal table
-set output "pgfmanual-sine.table"
+set table "pgfmanual-sine.table"
set format "%.5f"
set samples 20
plot [x=0:10] sin(x)
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-pdftex/en/plots/pgfmanual-sine.gnuplot b/Master/texmf-dist/doc/generic/pgf/version-for-pdftex/en/plots/pgfmanual-sine.gnuplot
index 8e3f24b9172..cff802be0a9 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-pdftex/en/plots/pgfmanual-sine.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-pdftex/en/plots/pgfmanual-sine.gnuplot
@@ -1,5 +1,4 @@
-set terminal table
-set output "pgfmanual-sine.table"
+set table "pgfmanual-sine.table"
set format "%.5f"
set samples 20
plot [x=0:10] sin(x)
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-asymptotic-example.gnuplot b/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-asymptotic-example.gnuplot
index 4c854afda9f..fca2b3fd236 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-asymptotic-example.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-asymptotic-example.gnuplot
@@ -1,2 +1,2 @@
-set terminal table; set output "plots/pgf-asymptotic-example.table"; set format "%.5f"
+set table "plots/pgf-asymptotic-example.table"; set format "%.5f"
set samples 200; set parametric; plot [t=0.4:1.5] (t*t*t)*sin(1/(t*t*t)),(t*t*t)*cos(1/(t*t*t))
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-exp.gnuplot b/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-exp.gnuplot
index 1d34e313af8..8109ea408c5 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-exp.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-exp.gnuplot
@@ -1,2 +1,2 @@
-set terminal table; set output "plots/pgf-exp.table"; set format "%.5f"
+set table "plots/pgf-exp.table"; set format "%.5f"
set samples 25; plot [x=0:4] 0.05*exp(x)
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-parametric-example.gnuplot b/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-parametric-example.gnuplot
index e1c3f3b52f2..2c366fe5292 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-parametric-example.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-parametric-example.gnuplot
@@ -1,2 +1,2 @@
-set terminal table; set output "plots/pgf-parametric-example.table"; set format "%.5f"
+set table "plots/pgf-parametric-example.table"; set format "%.5f"
set samples 25; set parametric; plot [t=-3.141:3.141] t*sin(t),t*cos(t)
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-sin.gnuplot b/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-sin.gnuplot
index 884d534bf4a..48df575630c 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-sin.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-sin.gnuplot
@@ -1,2 +1,2 @@
-set terminal table; set output "plots/pgf-sin.table"; set format "%.5f"
+set table "plots/pgf-sin.table"; set format "%.5f"
set samples 25; plot [x=0:4] sin(x)
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-x.gnuplot b/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-x.gnuplot
index bb95994cd89..0e57c0571ad 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-x.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgf-x.gnuplot
@@ -1,2 +1,2 @@
-set terminal table; set output "plots/pgf-x.table"; set format "%.5f"
+set table "plots/pgf-x.table"; set format "%.5f"
set samples 25; plot [x=0:4] x
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgfmanual-sine.gnuplot b/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgfmanual-sine.gnuplot
index 8e3f24b9172..cff802be0a9 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgfmanual-sine.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgfmanual-sine.gnuplot
@@ -1,5 +1,4 @@
-set terminal table
-set output "pgfmanual-sine.table"
+set table "pgfmanual-sine.table"
set format "%.5f"
set samples 20
plot [x=0:10] sin(x)
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgfplotgnuplot-example.gnuplot b/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgfplotgnuplot-example.gnuplot
index 3bd81ae92d1..ebac36dd234 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgfplotgnuplot-example.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-tex4ht/en/plots/pgfplotgnuplot-example.gnuplot
@@ -1,2 +1,2 @@
-set terminal table; set output "plots/pgfplotgnuplot-example.table"; set format "%.5f"
+set table "plots/pgfplotgnuplot-example.table"; set format "%.5f"
plot [x=0:3.5] x*sin(x)
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-asymptotic-example.gnuplot b/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-asymptotic-example.gnuplot
index 4c854afda9f..fca2b3fd236 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-asymptotic-example.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-asymptotic-example.gnuplot
@@ -1,2 +1,2 @@
-set terminal table; set output "plots/pgf-asymptotic-example.table"; set format "%.5f"
+set table "plots/pgf-asymptotic-example.table"; set format "%.5f"
set samples 200; set parametric; plot [t=0.4:1.5] (t*t*t)*sin(1/(t*t*t)),(t*t*t)*cos(1/(t*t*t))
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-exp.gnuplot b/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-exp.gnuplot
index 1d34e313af8..8109ea408c5 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-exp.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-exp.gnuplot
@@ -1,2 +1,2 @@
-set terminal table; set output "plots/pgf-exp.table"; set format "%.5f"
+set table "plots/pgf-exp.table"; set format "%.5f"
set samples 25; plot [x=0:4] 0.05*exp(x)
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-parametric-example.gnuplot b/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-parametric-example.gnuplot
index e1c3f3b52f2..2c366fe5292 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-parametric-example.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-parametric-example.gnuplot
@@ -1,2 +1,2 @@
-set terminal table; set output "plots/pgf-parametric-example.table"; set format "%.5f"
+set table "plots/pgf-parametric-example.table"; set format "%.5f"
set samples 25; set parametric; plot [t=-3.141:3.141] t*sin(t),t*cos(t)
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-sin.gnuplot b/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-sin.gnuplot
index 884d534bf4a..48df575630c 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-sin.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-sin.gnuplot
@@ -1,2 +1,2 @@
-set terminal table; set output "plots/pgf-sin.table"; set format "%.5f"
+set table "plots/pgf-sin.table"; set format "%.5f"
set samples 25; plot [x=0:4] sin(x)
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-x.gnuplot b/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-x.gnuplot
index bb95994cd89..0e57c0571ad 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-x.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgf-x.gnuplot
@@ -1,2 +1,2 @@
-set terminal table; set output "plots/pgf-x.table"; set format "%.5f"
+set table "plots/pgf-x.table"; set format "%.5f"
set samples 25; plot [x=0:4] x
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgfmanual-sine.gnuplot b/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgfmanual-sine.gnuplot
index 8e3f24b9172..cff802be0a9 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgfmanual-sine.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgfmanual-sine.gnuplot
@@ -1,5 +1,4 @@
-set terminal table
-set output "pgfmanual-sine.table"
+set table "pgfmanual-sine.table"
set format "%.5f"
set samples 20
plot [x=0:10] sin(x)
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgfplotgnuplot-example.gnuplot b/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgfplotgnuplot-example.gnuplot
index 3bd81ae92d1..ebac36dd234 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgfplotgnuplot-example.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-vtex/en/plots/pgfplotgnuplot-example.gnuplot
@@ -1,2 +1,2 @@
-set terminal table; set output "plots/pgfplotgnuplot-example.table"; set format "%.5f"
+set table "plots/pgfplotgnuplot-example.table"; set format "%.5f"
plot [x=0:3.5] x*sin(x)
diff --git a/Master/texmf-dist/doc/generic/pgf/version-for-xetex/en/plots/pgfmanual-sine.gnuplot b/Master/texmf-dist/doc/generic/pgf/version-for-xetex/en/plots/pgfmanual-sine.gnuplot
index 8e3f24b9172..cff802be0a9 100644
--- a/Master/texmf-dist/doc/generic/pgf/version-for-xetex/en/plots/pgfmanual-sine.gnuplot
+++ b/Master/texmf-dist/doc/generic/pgf/version-for-xetex/en/plots/pgfmanual-sine.gnuplot
@@ -1,5 +1,4 @@
-set terminal table
-set output "pgfmanual-sine.table"
+set table "pgfmanual-sine.table"
set format "%.5f"
set samples 20
plot [x=0:10] sin(x)
diff --git a/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarycalendar.code.tex b/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarycalendar.code.tex
index 3ade8fa1cce..73a47f6574c 100644
--- a/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarycalendar.code.tex
+++ b/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarycalendar.code.tex
@@ -393,7 +393,7 @@ execute before day scope={\ifdate{day of month=1}{%
\pgfutil@next%
}
\def\tikz@lib@cal@expand{%
- \advance\tikz@expandcount by -1%
+ \advance\tikz@expandcount by -1
\ifnum\tikz@expandcount<0\relax%
\tikzerror{Giving up on this calendar}%
\let\pgfutil@next=\tikz@lib@cal@end%
diff --git a/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarytopaths.code.tex b/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarytopaths.code.tex
index 36df6b69efd..ecf850ab40c 100644
--- a/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarytopaths.code.tex
+++ b/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarytopaths.code.tex
@@ -135,6 +135,7 @@
[every curve to]
\pgfextra{\iftikz@to@relative\tikz@to@compute@relative\else\tikz@to@compute\fi}
\tikz@computed@path
+ \pgfextra{\tikz@updatenexttrue\tikz@updatecurrenttrue}%
\tikztonodes%
}
@@ -166,6 +167,9 @@
\def\tikz@first@point{#1}%
\tikz@scan@one@point\tikz@@@to@compute@distance(\tikz@toto)}
\def\tikz@@@to@compute@distance#1{%
+ \iftikz@updatecurrent\else
+ \tikz@updatenextfalse
+ \fi
\def\tikz@second@point{#1}%
\tikz@to@compute@distance@main%
}
diff --git a/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex b/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex
index 70f8da088e0..477418b7167 100644
--- a/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex
+++ b/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex
@@ -2120,10 +2120,15 @@
\else%
\tikz@invoke@collected@onpath%
\fi%
- \afterassignment\tikz@handle\let\pgf@let@token=%
+ \tikz@scan@@next@command
}%
+\def\tikz@scan@@next@command{%
+ \afterassignment\tikz@handle\let\pgf@let@token=%
+}
+
\newcount\tikz@expandcount
\let\tikz@collected@onpath=\pgfutil@empty%
+\edef\tikz@frozen@relax@token{\ifnum0=0\fi}
% Central dispatcher for commands
\def\tikz@handle{%
@@ -2224,7 +2229,7 @@
\ifx\pgf@let@token:%
\let\pgfutil@next=\tikz@colon@char%
\else%
- \let\pgfutil@next=\tikz@expand%
+ \let\pgfutil@next=\tikz@handle@evenmore
\fi%
\fi%
\fi%
@@ -2240,10 +2245,26 @@
\fi%
\fi%
\fi%
- \ifx\pgfutil@next\tikz@expand\else\tikz@expandcount=100\relax\fi%
\pgfutil@next%
}%
+% Continued...
+\def\tikz@handle@evenmore{%
+ % if \pgf@let@token is \relax or frozen \relax, skip it and
+ % scan from the next token
+ \ifx\pgf@let@token\relax
+ \let\pgfutil@next=\tikz@scan@@next@command
+ \else
+ \ifx\pgf@let@token\tikz@frozen@relax@token
+ \let\pgfutil@next=\tikz@scan@@next@command
+ \else
+ \let\pgfutil@next=\tikz@expand
+ \fi
+ \fi
+ \ifx\pgfutil@next\tikz@expand\else\tikz@expandcount=100\relax\fi
+ \pgfutil@next
+}
+
\def\tikz@l@char{%
\pgfutil@ifnextchar e{\tikz@let@command}{%
\pgfutil@ifnextchar i{\tikz@lsystem}{%
@@ -2566,7 +2587,7 @@
\def\tikz@skip#1{\tikz@scan@next@command#1}%
\def\tikz@expand{%
- \advance\tikz@expandcount by -1%
+ \advance\tikz@expandcount by -1
\ifnum\tikz@expandcount<0\relax%
\tikzerror{Giving up on this path. Did you forget a semicolon?}%
\let\pgfutil@next=\tikz@finish%
@@ -2939,7 +2960,7 @@
% -| <point>
\def\tikz@hv@lineto{%
- \pgfutil@ifnextchar n{\tikz@collect@label@onpath\tikz@hv@lineto}{
+ \pgfutil@ifnextchar n{\tikz@collect@label@onpath\tikz@hv@lineto}{%
\pgfutil@ifnextchar p{\tikz@collect@pic@onpath\tikz@hv@lineto}%
{\pgfutil@ifnextchar c{\tikz@collect@coordinate@onpath\tikz@hv@lineto}%
{\tikz@scan@one@point{\tikz@@hv@lineto}}}}}%
@@ -3159,6 +3180,7 @@
\pgf@stop%
\expandafter\tikz@scan@next@command\expandafter%
}\tikz@after@path%
+ \pgfextra{\tikz@updatenexttrue\tikz@updatecurrenttrue}%
}%
@@ -3204,13 +3226,13 @@
\let\tikz@collected@onpath=\pgfutil@empty%
\tikz@edgetoparentcollect%
}%
-\def\tikz@edgetoparentcollect{
+\def\tikz@edgetoparentcollect{%
\pgfutil@ifnextchar n{\tikz@collect@label@onpath\tikz@edgetoparentcollect}%
{%
\expandafter%
\endgroup%
\expandafter\tikz@edgetoparent@rollout\expandafter{\tikz@collected@onpath}%
- }
+ }%
}%
\def\tikz@edgetoparent@rollout#1{%
@@ -3262,7 +3284,9 @@
\else%
\tikzerror{Dot expected}%
\fi%
- \tikz@updatecurrenttrue%
+ \iftikz@updatenext
+ \tikz@updatecurrenttrue%
+ \fi
\tikz@curveCcheck%
}%
\def\tikz@curveCcheck{%
@@ -3840,7 +3864,7 @@
% A label text always ``ends'' the node.
%
\def\tikz@fig ode{%
- \pgfutil@ifnextchar a\tikz@test@also{
+ \pgfutil@ifnextchar a\tikz@test@also{%
\pgfutil@ifnextchar f{\tikz@nodes@start}\tikz@normal@fig}}%
\def\tikz@test@also a{\pgfutil@ifnextchar l\tikz@node@also{\tikz@normal@fig a}}%
\def\tikz@normal@fig{%
@@ -5221,11 +5245,15 @@
\tikz@lastxsaved=\pgf@x\relax%
\tikz@lastysaved=\pgf@y\relax%
\fi%
- \tikz@updatecurrenttrue%
+ \iftikz@updatenext
+ \tikz@updatecurrenttrue%
+ \fi
}%
\newif\iftikz@updatecurrent
\tikz@updatecurrenttrue
+\newif\iftikz@updatenext
+\tikz@updatenexttrue
@@ -5240,7 +5268,7 @@
\def\tikz@scan@absolute#1{%
\pgfutil@ifnextchar({\tikz@scan@@absolute#1}%)
{%
- \advance\tikz@expandcount by -1%
+ \advance\tikz@expandcount by -1
\ifnum\tikz@expandcount<0\relax%
\let\pgfutil@next=\tikz@@scangiveup%
\else%
diff --git a/Master/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/ControlSprings.lua b/Master/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/ControlSprings.lua
index 71005d85274..9b0c1071e37 100644
--- a/Master/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/ControlSprings.lua
+++ b/Master/texmf-dist/tex/generic/pgf/graphdrawing/lua/pgf/gd/force/ControlSprings.lua
@@ -26,14 +26,14 @@ local declare = require("pgf.gd.interface.InterfaceToAlgorithms").declare
-- The following examples shows how a simple graph can be scaled by
-- changing the |node distance|:
-- %
--- \begin{codeexample}[preamble={\usetikzlibrary{graphs,graphdrawing}
+-- \begin{codeexample}[preamble={\usetikzlibrary{graphs.standard,graphdrawing}
-- \usegdlibrary{force}}]
-- \tikz \graph [spring layout, node distance=7mm] { subgraph C_n[n=3] };
-- \tikz \graph [spring layout] { subgraph C_n[n=3] };
-- \tikz \graph [spring layout, node distance=15mm]{ subgraph C_n[n=3] };
-- \end{codeexample}
-- %
--- \begin{codeexample}[preamble={\usetikzlibrary{graphs,graphdrawing}
+-- \begin{codeexample}[preamble={\usetikzlibrary{graphs.standard,graphdrawing}
-- \usegdlibrary{force}}]
-- \tikz \graph [spring electrical layout, node distance=0.7cm] { subgraph C_n[n=3] };
-- \tikz \graph [spring electrical layout] { subgraph C_n[n=3] };
diff --git a/Master/texmf-dist/tex/generic/pgf/libraries/pgflibraryfpu.code.tex b/Master/texmf-dist/tex/generic/pgf/libraries/pgflibraryfpu.code.tex
index 01cbab40f9c..a93fa7f90a3 100644
--- a/Master/texmf-dist/tex/generic/pgf/libraries/pgflibraryfpu.code.tex
+++ b/Master/texmf-dist/tex/generic/pgf/libraries/pgflibraryfpu.code.tex
@@ -89,8 +89,6 @@
},
fpu/rel thresh=1e-4,
fpu/install only/.code={
- \pgfmath@warning{The key `/pgf/fpu/install only' is experimental and might %
- change or disappear at any point!}%
\edef\pgf@list{#1}%
\pgfutil@for\pgf@temp:=\pgf@list\do{%
\expandafter\pgfmath@float@install@singlefunction\expandafter{%
diff --git a/Master/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex b/Master/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex
index 66bdd72b71e..da20ce024f0 100644
--- a/Master/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex
+++ b/Master/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.code.tex
@@ -185,10 +185,11 @@
\c@pgfmath@countc\c@pgfmath@countb%
% OK. Maybe #2 > #3.
\ifnum\c@pgfmath@counta>\c@pgfmath@countb\relax%
- \c@pgfmath@countc\c@pgfmath@countb%
- \c@pgfmath@countb\c@pgfmath@counta%
- \c@pgfmath@counta\c@pgfmath@countc%
+ \c@pgfmath@countc\c@pgfmath@counta%
+ \c@pgfmath@counta\c@pgfmath@countb%
+ \c@pgfmath@countb\c@pgfmath@countc%
\fi%
+ \c@pgfmath@countd\c@pgfmath@counta
\advance\c@pgfmath@countc1\relax%
\advance\c@pgfmath@countc-\c@pgfmath@counta%
\pgfmathgeneratepseudorandomnumber%
@@ -197,7 +198,7 @@
\divide\c@pgfmath@countb\c@pgfmath@countc%
\multiply\c@pgfmath@countb-\c@pgfmath@countc%
\advance\c@pgfmath@counta\c@pgfmath@countb%
- \pgfmathaddtocount\c@pgfmath@counta{#2}%
+ \advance\c@pgfmath@counta\c@pgfmath@countd
\edef\pgfmathresult{\the\c@pgfmath@counta}%
\pgfmath@smuggleone{\pgfmathresult}%
\endgroup%
@@ -209,7 +210,7 @@
% Create a list to be used with \pgfmathrandomelement.
%
% #1 - the name of the list
-% #2 - a list of comma separated elements.
+% #2 - a list of elements (e.g., {item-1}{item-2}...{item-n}).
%
\def\pgfmathdeclarerandomlist#1#2{%
\def\pgfmath@randomlistname{#1}%
diff --git a/Master/texmf-dist/tex/generic/pgf/pgf.revision.tex b/Master/texmf-dist/tex/generic/pgf/pgf.revision.tex
index 081613923a8..a03cfbb9452 100644
--- a/Master/texmf-dist/tex/generic/pgf/pgf.revision.tex
+++ b/Master/texmf-dist/tex/generic/pgf/pgf.revision.tex
@@ -5,10 +5,10 @@
\catcode`\:=12
\catcode`\+=12
\catcode`\-=12
-\gdef\pgfrevision{3.1.7a}
-\gdef\pgfversion{3.1.7a}
-\gdef\pgfversiondatetime{2020-12-01 12:12:01 +0100}
-\gdef\pgfrevisiondatetime{2020-12-01 12:12:01 +0100}
+\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\pgf@glob@TMPa#1-#2-#3 #4\relax{#1/#2/#3}
\xdef\pgfversiondate{\expandafter\pgf@glob@TMPa\pgfversiondatetime\relax}
\xdef\pgfrevisiondate{\expandafter\pgf@glob@TMPa\pgfrevisiondatetime\relax}