summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/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/source/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/source/latex/hobby')
-rw-r--r--Master/texmf-dist/source/latex/hobby/hobby.dtx14
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/latex/hobby/hobby.dtx b/Master/texmf-dist/source/latex/hobby/hobby.dtx
index e5937b7f202..d555a5b2f36 100644
--- a/Master/texmf-dist/source/latex/hobby/hobby.dtx
+++ b/Master/texmf-dist/source/latex/hobby/hobby.dtx
@@ -111,7 +111,7 @@ and the derived files hobby.code.tex
%</driver>
% \fi
%
-% \CheckSum{3373}
+% \CheckSum{3382}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -183,8 +183,8 @@ and the derived files hobby.code.tex
\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
@@ -2209,12 +2209,12 @@ sin ( (\array_get:Nn \l_hobby_angles_array {##1})
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}%
},
@@ -2306,6 +2306,7 @@ sin ( (\array_get:Nn \l_hobby_angles_array {##1})
\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}}%
@@ -2567,6 +2568,7 @@ sin ( (\array_get:Nn \l_hobby_angles_array {##1})
% \begin{macro}{\hobby@finish}
% \begin{macrocode}
\def\hobby@finish{%
+ \hobby@restore@tikz@commands
\ifhobby@externalise
\ifx\hobby@path@name\pgfutil@empty
\hobbygenusepath
@@ -2581,7 +2583,7 @@ sin ( (\array_get:Nn \l_hobby_angles_array {##1})
\hobbysavepath{\hobby@path@name}%
\fi
\global\let\hobby@path@name=\pgfutil@empty
- \hobby@restore@tikz@commands
+ \tikzset{designated Hobby path=next}%
}
% \end{macrocode}
% \end{macro}