Module globals

Global library provisions.

Fields

pl Penlight od-demand loader.
luautf8 UTF-8 string library.
fluent Fluent localization library.


Fields

pl
Penlight od-demand loader. The Lua language adopts a "no batteries included" philosophy by providing a minimal standard library. Penlight is a widely used set libraries for making it easier to work with common tasks. Loading SILE implies that the PEnlight on-demand module loader is available, allowing any Penlight functions to be accessed using the pl prefix. Consult the Penlight documentation for specifics of the utilities available.
luautf8
UTF-8 string library. LuaJIT 5.1 and 5.2's string module only handle strings as bytes. Lua 5.3+ has a UTF-8 safe string module, but its feature set is somewhat underwhelming. This module includes more functions and levels the playing field no matter which Lua VM is being used. See luautf8 docs for more details.
fluent
Fluent localization library. For handling messages in various languages SILE provides an implementation of Project Fluent's localization system (originally developed by Mozilla for use in Firefox). This global is an instantiated interface to fluent-lua pre-loaded with resources for all the langugaes and regions SILE has support for.
generated by LDoc 1.5.0 Last updated 1980-01-01 00:00:00