summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-11-17 22:04:28 +0000
committerKarl Berry <karl@freefriends.org>2023-11-17 22:04:28 +0000
commitaeb7497eda15cbf667226a1ad2e8e76d048d3343 (patch)
tree9ade899b85e127584724fe95c4d4d8c127d0ed83
parente237f11686b90fadbb89f7a4376711ea865f0ffa (diff)
luacomplex, luamaths, luaset (17nov23)
git-svn-id: svn://tug.org/texlive/trunk@68883 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/lualatex/luacomplex/README.txt2
-rw-r--r--Master/texmf-dist/doc/lualatex/luacomplex/luacomplex.pdfbin109293 -> 109270 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/luamaths/README.txt2
-rw-r--r--Master/texmf-dist/doc/lualatex/luamaths/luamaths.pdfbin146829 -> 146948 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/luaset/README.txt5
-rw-r--r--Master/texmf-dist/doc/lualatex/luaset/luaset.pdfbin134778 -> 98351 bytes
-rw-r--r--Master/texmf-dist/doc/lualatex/luaset/luaset.tex2
-rw-r--r--Master/texmf-dist/tex/lualatex/luacomplex/luacomplex.sty8
-rw-r--r--Master/texmf-dist/tex/lualatex/luamaths/luamaths.sty9
-rw-r--r--Master/texmf-dist/tex/lualatex/luaset/luaset.sty10
-rwxr-xr-xMaster/tlpkg/bin/c2lx3
11 files changed, 25 insertions, 16 deletions
diff --git a/Master/texmf-dist/doc/lualatex/luacomplex/README.txt b/Master/texmf-dist/doc/lualatex/luacomplex/README.txt
index 6445382ed64..c61ae7ead84 100644
--- a/Master/texmf-dist/doc/lualatex/luacomplex/README.txt
+++ b/Master/texmf-dist/doc/lualatex/luacomplex/README.txt
@@ -1,5 +1,5 @@
# The luacomplex package
-# version 1.3
+# version 1.4
# Authors: Chetan Shirore and Ajit Kumar
# Email: mathsbeauty@gmail.com
diff --git a/Master/texmf-dist/doc/lualatex/luacomplex/luacomplex.pdf b/Master/texmf-dist/doc/lualatex/luacomplex/luacomplex.pdf
index fba9194c8db..66fdc006455 100644
--- a/Master/texmf-dist/doc/lualatex/luacomplex/luacomplex.pdf
+++ b/Master/texmf-dist/doc/lualatex/luacomplex/luacomplex.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/luamaths/README.txt b/Master/texmf-dist/doc/lualatex/luamaths/README.txt
index 30ceca23014..bee9f34303d 100644
--- a/Master/texmf-dist/doc/lualatex/luamaths/README.txt
+++ b/Master/texmf-dist/doc/lualatex/luamaths/README.txt
@@ -1,5 +1,5 @@
# The luamaths package
-# version 1.5
+# version 1.6
# Authors: Chetan Shirore and Ajit Kumar
# Email: mathsbeauty@gmail.com
diff --git a/Master/texmf-dist/doc/lualatex/luamaths/luamaths.pdf b/Master/texmf-dist/doc/lualatex/luamaths/luamaths.pdf
index 5713dfa7de5..ef4f5efdad9 100644
--- a/Master/texmf-dist/doc/lualatex/luamaths/luamaths.pdf
+++ b/Master/texmf-dist/doc/lualatex/luamaths/luamaths.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/luaset/README.txt b/Master/texmf-dist/doc/lualatex/luaset/README.txt
index ca7ffb38609..aafb0297cd9 100644
--- a/Master/texmf-dist/doc/lualatex/luaset/README.txt
+++ b/Master/texmf-dist/doc/lualatex/luaset/README.txt
@@ -1,3 +1,8 @@
+# The luaset package
+# version 1.1
+# Authors: Chetan Shirore and Ajit Kumar
+# Email: mathsbeauty@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.
diff --git a/Master/texmf-dist/doc/lualatex/luaset/luaset.pdf b/Master/texmf-dist/doc/lualatex/luaset/luaset.pdf
index 4e4545be846..48e89f284b4 100644
--- a/Master/texmf-dist/doc/lualatex/luaset/luaset.pdf
+++ b/Master/texmf-dist/doc/lualatex/luaset/luaset.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/lualatex/luaset/luaset.tex b/Master/texmf-dist/doc/lualatex/luaset/luaset.tex
index 5a1a08534a5..69643111b9c 100644
--- a/Master/texmf-dist/doc/lualatex/luaset/luaset.tex
+++ b/Master/texmf-dist/doc/lualatex/luaset/luaset.tex
@@ -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@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.
diff --git a/Master/texmf-dist/tex/lualatex/luacomplex/luacomplex.sty b/Master/texmf-dist/tex/lualatex/luacomplex/luacomplex.sty
index c863f5cd0f4..334fa1f75f7 100644
--- a/Master/texmf-dist/tex/lualatex/luacomplex/luacomplex.sty
+++ b/Master/texmf-dist/tex/lualatex/luacomplex/luacomplex.sty
@@ -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 @@ setmetatable(_ENV, {__index = complexZ})
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
diff --git a/Master/texmf-dist/tex/lualatex/luamaths/luamaths.sty b/Master/texmf-dist/tex/lualatex/luamaths/luamaths.sty
index 48c285b61b0..59fd29f4345 100644
--- a/Master/texmf-dist/tex/lualatex/luamaths/luamaths.sty
+++ b/Master/texmf-dist/tex/lualatex/luamaths/luamaths.sty
@@ -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)
diff --git a/Master/texmf-dist/tex/lualatex/luaset/luaset.sty b/Master/texmf-dist/tex/lualatex/luaset/luaset.sty
index 2a4821d3652..4b2fac6655b 100644
--- a/Master/texmf-dist/tex/lualatex/luaset/luaset.sty
+++ b/Master/texmf-dist/tex/lualatex/luaset/luaset.sty
@@ -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 = {}
diff --git a/Master/tlpkg/bin/c2lx b/Master/tlpkg/bin/c2lx
index 3dcb982fe58..70db55e0993 100755
--- a/Master/tlpkg/bin/c2lx
+++ b/Master/tlpkg/bin/c2lx
@@ -38,6 +38,9 @@ elif test "x$1" = xjxu; then
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"