summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hobby
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-06-05 23:12:59 +0000
committerKarl Berry <karl@freefriends.org>2017-06-05 23:12:59 +0000
commit543354e66d53cfba243be523e74d8fabba12e15d (patch)
tree5ada917a08850d18f197542288a8ff9ed0ac3bde /Master/texmf-dist/tex/latex/hobby
parent2f0fbea27b80ff89c321ef2771e588f1cd688516 (diff)
hobby (1jun17)
git-svn-id: svn://tug.org/texlive/trunk@44474 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hobby')
-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={%