From 543354e66d53cfba243be523e74d8fabba12e15d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 5 Jun 2017 23:12:59 +0000 Subject: hobby (1jun17) git-svn-id: svn://tug.org/texlive/trunk@44474 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/hobby/hobby.code.tex | 4 ++-- Master/texmf-dist/tex/latex/hobby/tikzlibraryhobby.code.tex | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/tex') 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={% -- cgit v1.2.3