texlive[44474] Master/texmf-dist: hobby (1jun17)

commits+karl at tug.org commits+karl at tug.org
Tue Jun 6 01:12:59 CEST 2017


Revision: 44474
          http://tug.org/svn/texlive?view=revision&revision=44474
Author:   karl
Date:     2017-06-06 01:12:59 +0200 (Tue, 06 Jun 2017)
Log Message:
-----------
hobby (1jun17)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/hobby/hobby.pdf
    trunk/Master/texmf-dist/doc/latex/hobby/hobby_code.pdf
    trunk/Master/texmf-dist/source/latex/hobby/hobby.dtx
    trunk/Master/texmf-dist/tex/latex/hobby/hobby.code.tex
    trunk/Master/texmf-dist/tex/latex/hobby/tikzlibraryhobby.code.tex

Modified: trunk/Master/texmf-dist/doc/latex/hobby/hobby.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/hobby/hobby_code.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/hobby/hobby.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/hobby/hobby.dtx	2017-06-05 23:11:45 UTC (rev 44473)
+++ trunk/Master/texmf-dist/source/latex/hobby/hobby.dtx	2017-06-05 23:12:59 UTC (rev 44474)
@@ -111,7 +111,7 @@
 %</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 @@
 
 \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 @@
   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 @@
   \def\pgf at temp{#1}%
   \ifx\pgf at temp\pgfutil at empty
     \let\tikz at timer=\tikz at timer@line
+  \expandafter\def\expandafter\hobby at collected@onpath\expandafter{\expandafter{\expandafter}\hobby at collected@onpath}
   \else
     \hobby at topgf{#1}%
     \edef\tikz at timer@cont at one{\noexpand\pgfqpoint{\the\pgf at x}{\the\pgf at y}}%
@@ -2567,6 +2568,7 @@
 % \begin{macro}{\hobby at finish}
 %    \begin{macrocode}
 \def\hobby at finish{%
+  \hobby at restore@tikz at commands
   \ifhobby at externalise
     \ifx\hobby at path@name\pgfutil at empty
       \hobbygenusepath
@@ -2581,7 +2583,7 @@
     \hobbysavepath{\hobby at path@name}%
   \fi
   \global\let\hobby at path@name=\pgfutil at empty
-  \hobby at restore@tikz at commands
+  \tikzset{designated Hobby path=next}%
 }
 %    \end{macrocode}
 % \end{macro}

Modified: trunk/Master/texmf-dist/tex/latex/hobby/hobby.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/hobby/hobby.code.tex	2017-06-05 23:11:45 UTC (rev 44473)
+++ trunk/Master/texmf-dist/tex/latex/hobby/hobby.code.tex	2017-06-05 23:12:59 UTC (rev 44474)
@@ -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

Modified: trunk/Master/texmf-dist/tex/latex/hobby/tikzlibraryhobby.code.tex
===================================================================
--- trunk/Master/texmf-dist/tex/latex/hobby/tikzlibraryhobby.code.tex	2017-06-05 23:11:45 UTC (rev 44473)
+++ trunk/Master/texmf-dist/tex/latex/hobby/tikzlibraryhobby.code.tex	2017-06-05 23:12:59 UTC (rev 44474)
@@ -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 at temp{#1}%
   \ifx\pgf at temp\pgfutil at empty
     \let\tikz at timer=\tikz at timer@line
+  \expandafter\def\expandafter\hobby at collected@onpath\expandafter{\expandafter{\expandafter}\hobby at collected@onpath}
   \else
     \hobby at topgf{#1}%
     \edef\tikz at timer@cont at one{\noexpand\pgfqpoint{\the\pgf at x}{\the\pgf at y}}%
@@ -344,6 +345,7 @@
   \tikz at scan@one at point\hobby at addfromtikz%
 }
 \def\hobby at finish{%
+  \hobby at restore@tikz at commands
   \ifhobby at externalise
     \ifx\hobby at path@name\pgfutil at empty
       \hobbygenusepath
@@ -358,7 +360,7 @@
     \hobbysavepath{\hobby at path@name}%
   \fi
   \global\let\hobby at path@name=\pgfutil at empty
-  \hobby at restore@tikz at commands
+  \tikzset{designated Hobby path=next}%
 }
 \tikzset{
   quick curve through/.style={%



More information about the tex-live-commits mailing list