texlive[68883] Master: luacomplex, luamaths, luaset (17nov23)

commits+karl at tug.org commits+karl at tug.org
Fri Nov 17 23:04:28 CET 2023


Revision: 68883
          https://tug.org/svn/texlive?view=revision&revision=68883
Author:   karl
Date:     2023-11-17 23:04:28 +0100 (Fri, 17 Nov 2023)
Log Message:
-----------
luacomplex, luamaths, luaset (17nov23)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/lualatex/luacomplex/README.txt
    trunk/Master/texmf-dist/doc/lualatex/luacomplex/luacomplex.pdf
    trunk/Master/texmf-dist/doc/lualatex/luamaths/README.txt
    trunk/Master/texmf-dist/doc/lualatex/luamaths/luamaths.pdf
    trunk/Master/texmf-dist/doc/lualatex/luaset/README.txt
    trunk/Master/texmf-dist/doc/lualatex/luaset/luaset.pdf
    trunk/Master/texmf-dist/doc/lualatex/luaset/luaset.tex
    trunk/Master/texmf-dist/tex/lualatex/luacomplex/luacomplex.sty
    trunk/Master/texmf-dist/tex/lualatex/luamaths/luamaths.sty
    trunk/Master/texmf-dist/tex/lualatex/luaset/luaset.sty
    trunk/Master/tlpkg/bin/c2lx

Modified: trunk/Master/texmf-dist/doc/lualatex/luacomplex/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/luacomplex/README.txt	2023-11-17 22:03:07 UTC (rev 68882)
+++ trunk/Master/texmf-dist/doc/lualatex/luacomplex/README.txt	2023-11-17 22:04:28 UTC (rev 68883)
@@ -1,5 +1,5 @@
 # The luacomplex package
-# version 1.3
+# version 1.4
 # Authors: Chetan Shirore and Ajit Kumar
 # Email: mathsbeauty at gmail.com
 

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

Modified: trunk/Master/texmf-dist/doc/lualatex/luamaths/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/luamaths/README.txt	2023-11-17 22:03:07 UTC (rev 68882)
+++ trunk/Master/texmf-dist/doc/lualatex/luamaths/README.txt	2023-11-17 22:04:28 UTC (rev 68883)
@@ -1,5 +1,5 @@
 # The luamaths package
-# version 1.5
+# version 1.6
 # Authors: Chetan Shirore and Ajit Kumar
 # Email: mathsbeauty at gmail.com
 

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

Modified: trunk/Master/texmf-dist/doc/lualatex/luaset/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/luaset/README.txt	2023-11-17 22:03:07 UTC (rev 68882)
+++ trunk/Master/texmf-dist/doc/lualatex/luaset/README.txt	2023-11-17 22:04:28 UTC (rev 68883)
@@ -1,3 +1,8 @@
+# The luaset package
+# version 1.1
+# Authors: Chetan Shirore and Ajit Kumar
+# Email: mathsbeauty at gmail.com
+
 # Introduction
 The luaset package is developed to define finite sets and perform operations on them inside LaTeX documents. 
 There is no particular environment in the package for performing set operations. 

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

Modified: trunk/Master/texmf-dist/doc/lualatex/luaset/luaset.tex
===================================================================
--- trunk/Master/texmf-dist/doc/lualatex/luaset/luaset.tex	2023-11-17 22:03:07 UTC (rev 68882)
+++ trunk/Master/texmf-dist/doc/lualatex/luaset/luaset.tex	2023-11-17 22:04:28 UTC (rev 68883)
@@ -19,7 +19,7 @@
 \usepackage[backend=bibtex]{biblatex}
 \begin{document}
 \title{The luaset Package in LaTeX}
-\author{Chetan Shirore and Dr. Ajit Kumar}
+\author{Chetan Shirore\thanks{Email id: mathsbeauty at gmail.com} \space  and Ajit Kumar}
 \maketitle
 \section{Introduction}\label{section:introduction}
 The \verb|luaset| package is developed to define finite sets and perform operations on finite sets inside LaTeX documents. There is no particular environment in the package for performing set operations. The package commands can be used in any environment (including the mathematics environment). It is written in Lua, and tex file is to be compiled with the LuaLaTeX engine. The time required for performing set operations is not an issue while compiling with LuaLaTeX. There is no need to install Lua on the users' system as tex distributions (TeXLive or MikTeX) come bundled with LuaLaTeX. The package is helps to perform set operations (union, intersection, difference, etcetera) in LaTeX documents. It may also save the users' efforts to copy sets from other software (which may not be in LaTeX compatible format) and to use them in a tex file. The package supports the nesting of commands for multiple operations. 

Modified: trunk/Master/texmf-dist/tex/lualatex/luacomplex/luacomplex.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/luacomplex/luacomplex.sty	2023-11-17 22:03:07 UTC (rev 68882)
+++ trunk/Master/texmf-dist/tex/lualatex/luacomplex/luacomplex.sty	2023-11-17 22:04:28 UTC (rev 68883)
@@ -1,9 +1,9 @@
 % The luacomplex package
-% Version 1.3 Date: 08-Aug-2023
+% Version 1.4 Date: 17-Nov-2023
 % 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{luacomplex}[1.3]
+\ProvidesPackage{luacomplex}[1.4]
 \RequirePackage{xkeyval}
 \RequirePackage{amsmath}
 \RequirePackage{luacode}
@@ -19,9 +19,9 @@
         return setmetatable(cp,mt)
       end
      
-      -- create constant 'i'
+      -- create constant 'i'.
       CM.i = CM.new(0, 1)
-
+	  -- adding functions to the CM module.
       function CM.add (c1, c2)
         return CM.new(c1.r + c2.r, c1.i + c2.i)
       end

Modified: trunk/Master/texmf-dist/tex/lualatex/luamaths/luamaths.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/luamaths/luamaths.sty	2023-11-17 22:03:07 UTC (rev 68882)
+++ trunk/Master/texmf-dist/tex/lualatex/luamaths/luamaths.sty	2023-11-17 22:04:28 UTC (rev 68883)
@@ -1,21 +1,22 @@
 % The luamaths package
-% version 1.5
+% version 1.6
 % 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{luamaths}[1.5]
+\ProvidesPackage{luamaths}[1.6]
 \RequirePackage{xkeyval}
 \RequirePackage{amsmath}
 \RequirePackage{luacode}
 \begin{luacode*}
+--load luamaths-complex and luamaths-fractions modules.
 local complex = require "luamaths-complex"
 local lfrac = require "luamaths-fractions"
-
+--define lua function for evaluating expressions.
 function mathop(...)
 inf = math.huge
 return ...
 end
-
+--define lua function for rounding numbers.
 function mathround(num, numDecimalPlaces)
     if num==math.floor(num) then
      return math.floor(num)

Modified: trunk/Master/texmf-dist/tex/lualatex/luaset/luaset.sty
===================================================================
--- trunk/Master/texmf-dist/tex/lualatex/luaset/luaset.sty	2023-11-17 22:03:07 UTC (rev 68882)
+++ trunk/Master/texmf-dist/tex/lualatex/luaset/luaset.sty	2023-11-17 22:04:28 UTC (rev 68883)
@@ -1,23 +1,23 @@
 % luaset package
-% version 1.0
+% version 1.1
 % Authors: Chetan Shirore and Ajit Kumar
 % 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{luaset}[1.0]
+\ProvidesPackage{luaset}[1.1]
 \RequirePackage{xkeyval}
 \RequirePackage{amsmath}
 \RequirePackage{luacode}
 \RequirePackage{luamaths}
 \begin{luacode*}
-sets = {}
-Set = {} 
+sets = {} -- global registry for sets.
+Set = {} -- the module.
 local mt = {
     __tostring = function(self)
         return "\\{" .. table.concat(table.sortedkeys(self), ", ") .. "\\}"
     end
 }
-
+-- Adding functions to the module.
 function Set.new(str)
     str = str or ""
     local set = {}

Modified: trunk/Master/tlpkg/bin/c2lx
===================================================================
--- trunk/Master/tlpkg/bin/c2lx	2023-11-17 22:03:07 UTC (rev 68882)
+++ trunk/Master/tlpkg/bin/c2lx	2023-11-17 22:04:28 UTC (rev 68883)
@@ -38,6 +38,9 @@
   shift; label=jxu
   pkgs="beaulivre colorist einfart lebhart mindflow minimalist simplivre"
   pkgs="$pkgs create-theorem crefthe projlib q-and-a"
+elif test "x$1" = xluamath-all; then
+  shift; label=luamath-all # not really all
+  pkgs="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.