summaryrefslogtreecommitdiff
path: root/macros/luatex/generic/luapackageloader/README.md
blob: 1e0479fd6c85c64dd27f9cc42ed1c616e26acf72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# luapackageloader
CTAN package to allow LuaTeX to load modules from the default `package.path` and `package.cpath` locations. This could be used
to load external Lua modules outside the TEXMF tree, including modules installed via [LuaRocks](https://luarocks.org).

## Usage
See the [PDF documentation](luapackageloader.pdf) for details.

Here is a quick TeX example:

```tex
\input luapackageloader

% Now we proceed to load a LuaRocks package
\directlua{
  local spt = require("serpent")
}
```

## License
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

This work is "maintained" (as per LPPL maintenance status) by Deepak Jois.