aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/LaTeX
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2021-11-17 08:47:30 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2021-11-17 10:03:04 +0100
commitcd91f72843359c5305842fa8afbec4a2d72629fa (patch)
treefbce914ef589cd7173d36bd572466bbfd36ab803 /src/Text/Pandoc/Writers/LaTeX
parent3ac7deadce6cf2fbf6aaa3c7bacebaacb5c68214 (diff)
downloadpandoc-cd91f72843359c5305842fa8afbec4a2d72629fa.tar.gz
Lua: set `lpeg`, `re` as globals; allow shared lib access via require
The `lpeg` and `re` modules are loaded into globals of the respective name, but they are not necessarily registered as loaded packages. This ensures that - the built-in library versions are preferred when setting the globals, - a shared library is used if pandoc has been compiled without `lpeg`, and - the `require` mechanism can be used to load the shared library if available, falling back to the internal version if possible and necessary.
Diffstat (limited to 'src/Text/Pandoc/Writers/LaTeX')
0 files changed, 0 insertions, 0 deletions