texlive[68918] Master: luamath-all (20nov23)

commits+karl at tug.org commits+karl at tug.org
Mon Nov 20 21:49:38 CET 2023


Revision: 68918
          https://tug.org/svn/texlive?view=revision&revision=68918
Author:   karl
Date:     2023-11-20 21:49:38 +0100 (Mon, 20 Nov 2023)
Log Message:
-----------
luamath-all (20nov23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/lualatex/lualinalg/README.txt
    trunk/Master/texmf-dist/doc/lualatex/lualinalg/lualinalg.pdf
    trunk/Master/texmf-dist/doc/lualatex/luanumint/README.txt
    trunk/Master/texmf-dist/doc/lualatex/luanumint/luanumint.pdf
    trunk/Master/texmf-dist/doc/lualatex/luaplot/README.txt
    trunk/Master/texmf-dist/doc/lualatex/luaplot/luaplot.pdf
    trunk/Master/texmf-dist/doc/lualatex/luaplot/luaplot.tex
    trunk/Master/texmf-dist/tex/lualatex/lualinalg/lualinalg.sty
    trunk/Master/texmf-dist/tex/lualatex/luanumint/luanumint.sty
    trunk/Master/texmf-dist/tex/lualatex/luaplot/luaplot.sty
    trunk/Master/tlpkg/bin/c2lx

Modified: trunk/Master/texmf-dist/doc/lualatex/lualinalg/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/lualinalg/README.txt	2023-11-20 20:48:48 UTC (rev 68917)
+++ trunk/Master/texmf-dist/doc/lualatex/lualinalg/README.txt	2023-11-20 20:49:38 UTC (rev 68918)
@@ -1,5 +1,5 @@
 # The lualinalg package
-# version 1.8
+# version 1.9
 # Authors: Chetan Shirore and Ajit Kumar
 # Email: mathsbeauty at gmail.com
 

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

Modified: trunk/Master/texmf-dist/doc/lualatex/luanumint/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/luanumint/README.txt	2023-11-20 20:48:48 UTC (rev 68917)
+++ trunk/Master/texmf-dist/doc/lualatex/luanumint/README.txt	2023-11-20 20:49:38 UTC (rev 68918)
@@ -1,5 +1,5 @@
 # The luanumint package
-# version 1.1 
+# version 1.2 
 # Authors: Chetan Shirore and Ajit Kumar
 # Email: mathsbeauty at gmail.com
 

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

Modified: trunk/Master/texmf-dist/doc/lualatex/luaplot/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/luaplot/README.txt	2023-11-20 20:48:48 UTC (rev 68917)
+++ trunk/Master/texmf-dist/doc/lualatex/luaplot/README.txt	2023-11-20 20:49:38 UTC (rev 68918)
@@ -1,8 +1,7 @@
-# The luaplot package
-
-# version 1.4
-
+# The luplot package.
+# version 1.5
 # Authors: Chetan Shirore and Ajit Kumar
+# Email: mathsbeauty at gmail.com
 
 # Introduction
 The luaplot package is developed using Lua to plot graphs of real-valued functions of a real variable in LaTeX. It is developed with the  MetaPost system  and luamplib and luacode packages. It provides an easy way for plotting graphs of standard mathematical functions. There is no particular environment in the package for plotting graphs. It also works inside floating environments of LaTeX like tables and figures. The compilation time to plot several graphs in LaTeX using the luaplot package is significantly less with LuaLaTeX engine.

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

Modified: trunk/Master/texmf-dist/doc/lualatex/luaplot/luaplot.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/luaplot/luaplot.tex	2023-11-20 20:48:48 UTC (rev 68917)
+++ trunk/Master/texmf-dist/doc/lualatex/luaplot/luaplot.tex	2023-11-20 20:49:38 UTC (rev 68918)
@@ -22,7 +22,7 @@
 \addbibresource{luaplot}
 \begin{document}
 \title{The luaplot package in LaTeX}
-\author{Chetan Shirore and Ajit Kumar}
+\author{Chetan Shirore\thanks{Email id: mathsbeauty at gmail.com} \space  and Ajit Kumar}
 \maketitle
 
 \section{Introduction} 

Modified: trunk/Master/texmf-dist/tex/lualatex/lualinalg/lualinalg.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/lualinalg/lualinalg.sty	2023-11-20 20:48:48 UTC (rev 68917)
+++ trunk/Master/texmf-dist/tex/lualatex/lualinalg/lualinalg.sty	2023-11-20 20:49:38 UTC (rev 68918)
@@ -1,9 +1,9 @@
-% The	lualinalg	package
+% The	lualinalg	package.
 % Authors:  Chetan  Shirore  and  Ajit  Kumar
-% Version 1.8, Date=23-Aug-2023
+% Version 1.9.
 % Licensed under LaTeX Project Public License v1.3c or later. The complete license text is available at http://www.latex-project.org/lppl.txt.
 
-\ProvidesPackage{lualinalg}[1.8]
+\ProvidesPackage{lualinalg}[1.9]
 \RequirePackage{xkeyval}
 \RequirePackage{amsmath}
 \RequirePackage{luamaths}
@@ -11,12 +11,12 @@
 \begin{luacode*}
 
 -- matrices part
-matrices = {}
+matrices = {} -- global registry to store matrices.
 
 matrix = {} --module
 
 local matrix_meta = {}
-
+-- Adding functions to the matrix module.
 function matrix.new(matrix, rows, columns, str)
    if type(rows) == "table" then
       for i = 1, #rows do
@@ -895,7 +895,7 @@
    return true
 end
 
-
+-- Setting Meta-operations in the matrix module.
 matrix_meta.__tostring = function(...)
    return matrix.show(...)
 end
@@ -948,12 +948,12 @@
 
 -- vector part
 
-vectors = {}
+vectors = {} -- global registry to store vectors.
 
-vector = {} --module
+vector = {} --module.
 
 local vector_meta = {}
-
+-- Adding functions to the vector module.
 function vector.new(vector, rows, columns, n)
     if columns ~= "e" and columns ~= "zero" then
         local tbl = {}
@@ -1267,7 +1267,7 @@
     end
    return true
 end
-
+-- Setting Meta-operations in the vector module.
 vector_meta.__tostring = function(...)
     return vector.show(...)
 end

Modified: trunk/Master/texmf-dist/tex/lualatex/luanumint/luanumint.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/luanumint/luanumint.sty	2023-11-20 20:48:48 UTC (rev 68917)
+++ trunk/Master/texmf-dist/tex/lualatex/luanumint/luanumint.sty	2023-11-20 20:49:38 UTC (rev 68918)
@@ -1,9 +1,9 @@
 % The luanumint package
-% version 1.1
+% version 1.2
 % Licensed under LaTeX Project Public License v1.3c or later. The complete license text is available at http://www.latex-project.org/lppl.txt.
 %Authors: Chetan Shirore and Ajit Kumar
 
-\ProvidesPackage{luanumint}[1.1]
+\ProvidesPackage{luanumint}[1.2]
 \RequirePackage{luacode,breqn,xkeyval}
 \begin{luacode*}
 function checksign(x)
@@ -13,12 +13,12 @@
       return ''
    end
 end
-
+-- Function to round off numbers.
 function mathrnd(num, numDecimalPlaces)
    local mult = 10^(numDecimalPlaces or 0)
    return math.floor(num * mult + 0.5) / mult
 end
-
+-- Function for the midpoint rule.
 function luamidpt (f,a,b,n,trun)
    local trun = trun or 4
    local h = (b - a) / n
@@ -30,7 +30,7 @@
    end
    return mathrnd(sum*h,trun)
 end
-
+-- Function for the midpoint rule with steps.
 function luamidptSteps (f,a,b,n,nm,trun)
    local trun = trun or 4
    local nm = nm or "f"
@@ -54,7 +54,7 @@
    end
    return str .."\\right] \\\\ = "..otstr.."\\right) \\\\ = "..mathrnd(sum*mathrnd(h,trun),trun)
 end
-
+-- Function for the Trapezoidal rule.
 function luatrapz (f,a,b,n,trun)
    local trun = trun or 4
    local h = (b - a) / n
@@ -70,7 +70,7 @@
    end
    return mathrnd(sum*h/2,trun)
 end
-
+-- Function for the Trapezoidal rule with Steps.
 function luatrapzsteps (f,a,b,n,nm,trun)
    local trun = trun or 4
    local nm = nm or "f"
@@ -99,7 +99,7 @@
    end
    return str .."\\right] \\\\ = "..otstr.."\\right) \\\\ = "..mathrnd(sum*mathrnd(h/2,trun),trun)
 end
-
+-- Function for the Simpsons one-third rule.
 function luasimpsononethird (f,a,b,n,trun)
    if (not(n % 2 == 0)) then error("Number of subintervals should be even.") end
    local trun = trun or 4
@@ -120,7 +120,7 @@
    end
    return mathrnd(sum*h/3,trun)
 end
-
+-- Function for the Simpsons one-third rule with steps.
 function luasimpsononethirdsteps (f,a,b,n,nm,trun)
    if (not(n % 2 == 0)) then error("Number of subintervals should be even.") end
    local trun = trun or 4
@@ -155,7 +155,7 @@
    end
    return str .."\\right] \\\\ = "..otstr.."\\right) \\\\ = "..mathrnd(sum*mathrnd(h/3,trun),trun)
 end
-
+-- Function for the Simpsons three-eighth rule.
 function luasimpsonthreight (f,a,b,n,trun)
    if (not(n % 3 == 0)) then error("No. of sub-intervals should be multiple of 3.") end
    local trun = trun or 4
@@ -177,7 +177,7 @@
    end
    return mathrnd(sum*3*h/8,trun)
 end
-
+-- Function for the Simpsons three-eighth rule with steps.
 function luasimpsonthreightsteps (f,a,b,n,nm,trun)
    if (not(n % 3 == 0)) then error("No. of sub-intervals should be multip.") end
    local trun = trun or 4

Modified: trunk/Master/texmf-dist/tex/lualatex/luaplot/luaplot.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/luaplot/luaplot.sty	2023-11-20 20:48:48 UTC (rev 68917)
+++ trunk/Master/texmf-dist/tex/lualatex/luaplot/luaplot.sty	2023-11-20 20:49:38 UTC (rev 68918)
@@ -1,15 +1,15 @@
-% luaplot package
-% version 1.4
+% The luaplot package.
+% Version 1.5.
 % Licensed under LaTeX Project Public License v1.3c or later. The complete license text is available at http://www.latex-project.org/lppl.txt.
 %Authors: Chetan Shirore and Ajit Kumar
 
-\ProvidesPackage{luaplot}[1.4]
+\ProvidesPackage{luaplot}[1.5]
 \RequirePackage{xkeyval}
 \RequirePackage{luacode}
 \RequirePackage{tikz}
 \RequirePackage{luamplib}
 \begin{luacode}
-
+-- compatibility of number formats with the MetaPost system.
 function checknumber(x)
    if string.find(x, "e") then
       return string.format("%.12f",x)
@@ -17,7 +17,7 @@
       return x
    end
 end
-
+-- Determining plot points with Lua for the MetaPost system.
 function luapath (f,a,b,n,myclr)
    local mytbl ={}
    local s = ""
@@ -50,7 +50,7 @@
    end
    return finalstr
 end
-
+-- Determining plot points with Lua for the tikz package.
 function luatikzpath (f,a,b,n)
    local s = ""
    s = s.."(" .. a .."," .. f(a) ..")"

Modified: trunk/Master/tlpkg/bin/c2lx
===================================================================
--- trunk/Master/tlpkg/bin/c2lx	2023-11-20 20:48:48 UTC (rev 68917)
+++ trunk/Master/tlpkg/bin/c2lx	2023-11-20 20:49:38 UTC (rev 68918)
@@ -40,7 +40,8 @@
   pkgs="$pkgs create-theorem crefthe projlib q-and-a"
 elif test "x$1" = xluamath-all; then
   shift; label=luamath-all # not really all
-  pkgs="luagcd luamodulartables luatruthtable" #luacomplex luamaths luaset
+  pkgs="lualinalg luanumint luaplot"
+  #luagcd luamodulartables luatruthtable luacomplex luamaths luaset
 elif test "x$1" = xminim-all; then
   shift; label=minim
   pkgs="minim-hatching minim-math minim-mp minim-pdf minim-xmp minim"



More information about the tex-live-commits mailing list.