summaryrefslogtreecommitdiff
path: root/macros/luatex/generic/luapackageloader/README.md
blob: 0326a4110ddcff1597ae39cf925ddd81dc2f9d2e (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 packages from the default `package.path` and `package.cpath` locations. This could be useful
to load external Lua modules, 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.