diff options
author | Karl Berry <karl@freefriends.org> | 2023-11-18 20:57:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-11-18 20:57:26 +0000 |
commit | 26d6f3fd916b1baebe24ab80e72212299d4f42fd (patch) | |
tree | 3c9f422f4caf0b4cfc592242ceaab00ab5fecab4 /Master/texmf-dist/tex/lualatex/luatruthtable | |
parent | 20a29963ee878b99f56b77e7e8b62ff9e6fcf10c (diff) |
luagcd, luamodulartables, luatruthtable (18nov23)
git-svn-id: svn://tug.org/texlive/trunk@68893 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/lualatex/luatruthtable')
-rw-r--r-- | Master/texmf-dist/tex/lualatex/luatruthtable/luatruthtable.sty | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/lualatex/luatruthtable/luatruthtable.sty b/Master/texmf-dist/tex/lualatex/luatruthtable/luatruthtable.sty index c839b98700c..a3a44818596 100644 --- a/Master/texmf-dist/tex/lualatex/luatruthtable/luatruthtable.sty +++ b/Master/texmf-dist/tex/lualatex/luatruthtable/luatruthtable.sty @@ -1,13 +1,14 @@ % The luatruthtable package % Authors: Chetan Shirore and Ajit Kumar -% Version 1.2, Date=15-Aug-2023 +% Version 1.3, 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. -\ProvidesPackage{luatruthtable}[1.2] +\ProvidesPackage{luatruthtable}[1.3] \RequirePackage{xkeyval} \RequirePackage{amsmath} \RequirePackage{luacode} \begin{luacode*} +-- Function to convert decimal number to binary number. local function toBinary(x,y) y = y or math.max(1, select(2, math.frexp(x))) local res = {} @@ -17,7 +18,7 @@ local function toBinary(x,y) end return res end - +-- Define logical operators. local function _not(a) if a ==0 then return 1 else return 0 end |