live 7 ˆl–äY>””Ò~ê‚ÀãO©‹Fÿ�þ[•¡,ÙHó2¾"¼ã@þÈ „L¼çÇÆÅ?÷ -- -- This is file `ltluatex.lua', -- generated with the docstrip utility. -- -- The original source files were: -- -- ltluatex.dtx (with options: `lua') -- -- This is a generated file. -- -- The source is maintained by the LaTeX Project team and bug -- reports for it can be opened at https://latex-project.org/bugs.html -- (but please observe conditions on bug reports sent to that address!) -- -- -- Copyright (C) 2015-2022 -- The LaTeX Project and any individual authors listed elsewhere -- in this file. -- -- This file was generated from file(s) of the LaTeX base system. -- -------------------------------------------------------------- -- -- It may be distributed and/or modified under the -- conditions of the LaTeX Project Public License, either version 1.3c -- of this license or (at your option) any later version. -- The latest version of this license is in -- https://www.latex-project.org/lppl.txt -- and version 1.3c or later is part of all distributions of LaTeX -- version 2008 or later. -- -- This file has the LPPL maintenance status "maintained". -- -- This file may only be distributed together with a copy of the LaTeX -- base system. You may however distribute the LaTeX base system without -- such generated files. -- -- The list of all files belonging to the LaTeX base distribution is -- given in the file `manifest.txt'. See also `legal.txt' for additional -- information. -- -- The list of derived (unpacked) files belonging to the distribution -- and covered by LPPL is defined by the unpacking scripts (with -- extension .ins) which are part of the distribution. luatexbase = luatexbase or { } local luatexbase = luatexbase local string_gsub = string.gsub local tex_count = tex.count local tex_setattribute = tex.setattribute local tex_setcount = tex.setcount local texio_write_nl = texio.write_nl local flush_list = node.flush_list local luatexbase_warning local luatexbase_error local modules = modules or { } local function luatexbase_log(text) texio_write_nl("log", text) end local function provides_module(info) if not (info and info.name) then luatexbase_error("Missing module name for provides_module") end local function spaced(text) return text and (" " .. text) or "" end luatexbase_log( "Lua module: " .. info.name .. spaced(info.date) .. spaced(info.version) .. spaced(info.description) ) modules[info.name] = info end luatexbase.provides_module = provides_module local function msg_format(mod, msg_type, text) local leader = "" local cont local first_head if mod == "LaTeX" then cont = string_gsub(leader, ".", " ") first_head = leader .. "LaTeX: " else first_head = leader .. "Module " .. msg_type cont = "(" .. mod .. ")" .. string_gsub(first_head, ".", " ") first_head = leader .. "Module " .. mod .. " " .. msg_type .. ":" end if msg_type == "Error" then first_head = "\n" .. first_head end if string.sub(text,-1) ~= "\n" then text = text .. " " end return first_head .. " " .. string_gsub( text .. "on input line " .. tex.inputlineno, "\n", "\n" .. cont .. " " ) .. "\n" end local function module_info(mod, text) texio_write_nl("log", msg_format(mod, "Info", text)) end luatexbase.module_info = module_info local function module_warning(mod, text) texio_write_nl("term and log",msg_format(mod, "Warning", text)) end luatexbase.module_warning = module_warning local function module_error(mod, text) error(msg_format(mod, "Error", text)) end luatexbase.module_error = module_error function luatexbase_warning(text) module_warning("luatexbase", text) end function luatexbase_error(text) module_error("luatexbase", text) end local luaregisterbasetable = { } local registermap = { attributezero = "assign_attr" , charzero = "char_given" , CountZero = "assign_int" , dimenzero = "assign_dimen" , mathcharzero = "math_given" , muskipzero