diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2019-05-04 07:06:30 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-05-04 01:06:30 -0400 |
commit | 786594b23be4a757e95776f782527c8a98fbaab5 (patch) | |
tree | 6cf961b47a7d9df096be0347497a56c26b160aa8 /pandoc.cabal | |
parent | 4f260c96d9b84fb90d4e9b7c611556b1708b90fe (diff) | |
download | pandoc-786594b23be4a757e95776f782527c8a98fbaab5.tar.gz |
Lua: add `pandoc.system` module (#5468)
The `system` Lua module provides utility functions to interact with the
operating- and file system. E.g.
print(pandoc.system.get_current_directory())
or
pandoc.system.with_temporary_directory('tikz', function (dir)
-- write and compile a TikZ file with pdflatex
end)
Diffstat (limited to 'pandoc.cabal')
-rw-r--r-- | pandoc.cabal | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index c35869891..7d2ae5c06 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -394,6 +394,7 @@ library blaze-markup >= 0.8 && < 0.9, vector >= 0.10 && < 0.13, hslua >= 1.0.1 && < 1.1, + hslua-module-system >= 0.2 && < 0.3, hslua-module-text >= 0.2 && < 0.3, binary >= 0.5 && < 0.11, SHA >= 1.6 && < 1.7, @@ -591,6 +592,7 @@ library Text.Pandoc.Lua.Marshaling.ReaderOptions, Text.Pandoc.Lua.Module.MediaBag, Text.Pandoc.Lua.Module.Pandoc, + Text.Pandoc.Lua.Module.System, Text.Pandoc.Lua.Module.Utils, Text.Pandoc.Lua.Packages, Text.Pandoc.Lua.Util, |