summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/hobby/hobby.code.tex4
-rw-r--r--Master/texmf-dist/tex/latex/hobby/tikzlibraryhobby.code.tex8
2 files changed, 7 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/hobby/hobby.code.tex b/Master/texmf-dist/tex/latex/hobby/hobby.code.tex
index 74da1f1e335..fc9655567eb 100644
--- a/Master/texmf-dist/tex/latex/hobby/hobby.code.tex
+++ b/Master/texmf-dist/tex/latex/hobby/hobby.code.tex
@@ -33,8 +33,8 @@
\tl_new:N \g__hobby_version
\tl_new:N \g__hobby_date
-\tl_set:Nn \g__hobby_version {1.7}
-\tl_set:Nn \g__hobby_date {2016-02-19}
+\tl_set:Nn \g__hobby_version {1.8}
+\tl_set:Nn \g__hobby_date {2017-06-01}
\DeclareDocumentCommand \hobbyVersion {}
{
\tl_use:N \g__hobby_version
diff --git a/Master/texmf-dist/tex/latex/hobby/tikzlibraryhobby.code.tex b/Master/texmf-dist/tex/latex/hobby/tikzlibraryhobby.code.tex
index 1a59b037cec..21b75c4958b 100644
--- a/Master/texmf-dist/tex/latex/hobby/tikzlibraryhobby.code.tex
+++ b/Master/texmf-dist/tex/latex/hobby/tikzlibraryhobby.code.tex
@@ -84,12 +84,12 @@
break/.default = true,
invert blank/.default = true,
in angle/.code = {%
- \pgfmathparse{#1*pi/180}%
+ \pgfmathparse{(#1)*pi/180}%
\edef\@temp{in angle=\pgfmathresult,}%
\pgfkeysalso{add option to Hobby path/.expand once=\@temp}%
},
out angle/.code = {%
- \pgfmathparse{#1*pi/180}%
+ \pgfmathparse{(#1)*pi/180}%
\edef\@temp{out angle=\pgfmathresult,}%
\pgfkeysalso{add option to Hobby path/.expand once=\@temp}%
},
@@ -170,6 +170,7 @@
\def\pgf@temp{#1}%
\ifx\pgf@temp\pgfutil@empty
\let\tikz@timer=\tikz@timer@line
+ \expandafter\def\expandafter\hobby@collected@onpath\expandafter{\expandafter{\expandafter}\hobby@collected@onpath}
\else
\hobby@topgf{#1}%
\edef\tikz@timer@cont@one{\noexpand\pgfqpoint{\the\pgf@x}{\the\pgf@y}}%
@@ -344,6 +345,7 @@
\tikz@scan@one@point\hobby@addfromtikz%
}
\def\hobby@finish{%
+ \hobby@restore@tikz@commands
\ifhobby@externalise
\ifx\hobby@path@name\pgfutil@empty
\hobbygenusepath
@@ -358,7 +360,7 @@
\hobbysavepath{\hobby@path@name}%
\fi
\global\let\hobby@path@name=\pgfutil@empty
- \hobby@restore@tikz@commands
+ \tikzset{designated Hobby path=next}%
}
\tikzset{
quick curve through/.style={%