| 1 |
-- |
| 2 |
-- This is file `lualibs-basic.lua', |
| 3 |
-- generated with the docstrip utility. |
| 4 |
-- |
| 5 |
-- The original source files were: |
| 6 |
-- |
| 7 |
-- lualibs.dtx (with options: `basic') |
| 8 |
-- This is a generated file. |
| 9 |
-- |
| 10 |
-- Copyright (C) 2009--2021 by |
| 11 |
-- PRAGMA ADE / ConTeXt Development Team |
| 12 |
-- The LaTeX Project Team |
| 13 |
-- |
| 14 |
-- See ConTeXt's mreadme.pdf for the license. |
| 15 |
-- |
| 16 |
-- This work consists of the main source file lualibs.dtx |
| 17 |
-- and the derived files lualibs.lua, lualibs-basic.lua, |
| 18 |
-- and lualibs-extended.lua. |
| 19 |
-- |
| 20 |
-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 21 |
-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 22 |
-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 23 |
-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 24 |
-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 25 |
-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 26 |
lualibs = lualibs or { } |
| 27 |
local info = lualibs.info |
| 28 |
local loadmodule = lualibs.loadmodule |
| 29 |
|
| 30 |
local lualibs_basic_module = { |
| 31 |
name = "lualibs-basic", |
| 32 |
version = "2.76", --TAGVERSION |
| 33 |
date = "2023-07-13", --TAGDATE |
| 34 |
description = "ConTeXt Lua libraries -- basic collection.", |
| 35 |
author = "Hans Hagen, PRAGMA-ADE, Hasselt NL & Elie Roux & Philipp Gesang", |
| 36 |
copyright = "PRAGMA ADE / ConTeXt Development Team", |
| 37 |
license = "See ConTeXt's mreadme.pdf for the license", |
| 38 |
} |
| 39 |
|
| 40 |
local loaded = false --- track success of package loading |
| 41 |
|
| 42 |
if lualibs.prefer_merged then |
| 43 |
info"Loading merged package for collection “basic”." |
| 44 |
loaded = loadmodule('lualibs-basic-merged.lua') |
| 45 |
else |
| 46 |
info"Ignoring merged packages." |
| 47 |
info"Falling back to individual libraries from collection “basic”." |
| 48 |
end |
| 49 |
|
| 50 |
|
| 51 |
if loaded == false then |
| 52 |
loadmodule("lualibs-lua.lua") |
| 53 |
loadmodule("lualibs-package.lua") |
| 54 |
loadmodule("lualibs-lpeg.lua") |
| 55 |
loadmodule("lualibs-function.lua") |
| 56 |
loadmodule("lualibs-string.lua") |
| 57 |
loadmodule("lualibs-table.lua") |
| 58 |
loadmodule("lualibs-boolean.lua") |
| 59 |
loadmodule("lualibs-number.lua") |
| 60 |
loadmodule("lualibs-math.lua") |
| 61 |
loadmodule("lualibs-io.lua") |
| 62 |
loadmodule("lualibs-os.lua") |
| 63 |
loadmodule("lualibs-file.lua") |
| 64 |
loadmodule("lualibs-md5.lua") |
| 65 |
loadmodule("lualibs-dir.lua") |
| 66 |
loadmodule("lualibs-unicode.lua") |
| 67 |
loadmodule("lualibs-url.lua") |
| 68 |
loadmodule("lualibs-set.lua") |
| 69 |
end |
| 70 |
|
| 71 |
lualibs.basic_loaded = true |
| 72 |
-- vim:tw=71:sw=2:ts=2:expandtab |
| 73 |
|
| 74 |
-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 75 |
-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 76 |
-- |
| 77 |
-- End of File `lualibs-basic.lua'. |