texlive[48644] Master/texmf-dist: bezierplot (11sep18)
commits+karl at tug.org
commits+karl at tug.org
Tue Sep 11 23:39:54 CEST 2018
Revision: 48644
http://tug.org/svn/texlive?view=revision&revision=48644
Author: karl
Date: 2018-09-11 23:39:54 +0200 (Tue, 11 Sep 2018)
Log Message:
-----------
bezierplot (11sep18)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/lualatex/bezierplot/README
trunk/Master/texmf-dist/doc/lualatex/bezierplot/bezierplot-doc.pdf
trunk/Master/texmf-dist/doc/lualatex/bezierplot/bezierplot-doc.tex
trunk/Master/texmf-dist/tex/lualatex/bezierplot/bezierplot.lua
trunk/Master/texmf-dist/tex/lualatex/bezierplot/bezierplot.sty
Modified: trunk/Master/texmf-dist/doc/lualatex/bezierplot/README
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/bezierplot/README 2018-09-11 21:39:42 UTC (rev 48643)
+++ trunk/Master/texmf-dist/doc/lualatex/bezierplot/README 2018-09-11 21:39:54 UTC (rev 48644)
@@ -8,7 +8,7 @@
number of used points.
VERSION:
-1.2 2018-07-23
+1.3 2018-09-03
LICENSE:
The package and the program are distributed on CTAN under the terms of
Modified: trunk/Master/texmf-dist/doc/lualatex/bezierplot/bezierplot-doc.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/lualatex/bezierplot/bezierplot-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/bezierplot/bezierplot-doc.tex 2018-09-11 21:39:42 UTC (rev 48643)
+++ trunk/Master/texmf-dist/doc/lualatex/bezierplot/bezierplot-doc.tex 2018-09-11 21:39:54 UTC (rev 48644)
@@ -116,7 +116,7 @@
\end{verbatim}
will return
\begin{verbatim}
-(0,2) .. controls (0.0168,2.1905) and (0.2073,3.0978) .. (1.0004,5.001)
+(0,2) .. controls (0.03,2.282) and (0.268,3.244) .. (1,5)
\end{verbatim}
You can set the window of the graph and the number of samples as follows:
\begin{verbatim}
Modified: trunk/Master/texmf-dist/tex/lualatex/bezierplot/bezierplot.lua
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/bezierplot/bezierplot.lua 2018-09-11 21:39:42 UTC (rev 48643)
+++ trunk/Master/texmf-dist/tex/lualatex/bezierplot/bezierplot.lua 2018-09-11 21:39:54 UTC (rev 48644)
@@ -1,6 +1,6 @@
#!/usr/bin/env lua
-- Linus Romer, published 2018 under LPPL Version 1.3c
--- version 1.2 2018-07-23
+-- version 1.3 2018-09-03
abs = math.abs
acos = math.acos
asin = math.asin
@@ -646,8 +646,8 @@
x = xmax
end
local y = f(x)
- if (y >= ymin-yerror and ymin ~= -huge or y > ymin and ymin == -huge)
- and (y <= ymax+yerror and ymax ~= huge or y < ymax and ymax == huge)
+ if (y >= ymin-.1*yerror and ymin ~= -huge or y > ymin and ymin == -huge)
+ and (y <= ymax+.1*yerror and ymax ~= huge or y < ymax and ymax == huge)
then -- inside
if outside then -- if it was outside before
outside = false
Modified: trunk/Master/texmf-dist/tex/lualatex/bezierplot/bezierplot.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/bezierplot/bezierplot.sty 2018-09-11 21:39:42 UTC (rev 48643)
+++ trunk/Master/texmf-dist/tex/lualatex/bezierplot/bezierplot.sty 2018-09-11 21:39:54 UTC (rev 48644)
@@ -1,5 +1,5 @@
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{bezierplot}[2018/07/23 bezierplot]
+\ProvidesPackage{bezierplot}[2018/09/03 bezierplot]
\RequirePackage{xparse}
\RequirePackage{iftex}
\ifLuaTeX
More information about the tex-live-commits
mailing list