Debian Codegraph @

texmf-dist/doc/luatex/luapackageloader/README.md

raw
1 # luapackageloader
2 CTAN package to allow LuaTeX to load modules from the default `package.path` and `package.cpath` locations. This could be used
3 to load external Lua modules outside the TEXMF tree, including modules installed via [LuaRocks](https://luarocks.org).
4
5 ## Usage
6 See the [PDF documentation](luapackageloader.pdf) for details.
7
8 Here is a quick TeX example:
9
10 ```tex
11 \input luapackageloader
12
13 % Now we proceed to load a LuaRocks package
14 \directlua{
15 local spt = require("serpent")
16 }
17 ```
18
19 ## License
20 Distributable under the LaTeX Project Public License, version 1.3c or higher (your choice). The latest version of this license is at: http://www.latex-project.org/lppl.txt
21
22 This work is "maintained" (as per LPPL maintenance status) by Deepak Jois.