diff options
| author | Albert Krewinkel <[email protected]> | 2019-05-04 07:06:30 +0200 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2019-05-04 01:06:30 -0400 |
| commit | 786594b23be4a757e95776f782527c8a98fbaab5 (patch) | |
| tree | 6cf961b47a7d9df096be0347497a56c26b160aa8 /stack.yaml | |
| parent | 4f260c96d9b84fb90d4e9b7c611556b1708b90fe (diff) | |
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 'stack.yaml')
| -rw-r--r-- | stack.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stack.yaml b/stack.yaml index dc28bf0db..d07793f28 100644 --- a/stack.yaml +++ b/stack.yaml @@ -14,6 +14,7 @@ extra-deps: - pandoc-citeproc-0.16.2 - ipynb-0.1 - cmark-gfm-0.2.0 +- hslua-module-system-0.2.0 ghc-options: "$locals": -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -Wincomplete-uni-patterns -Widentities -Wcpp-undef -fhide-source-paths resolver: lts-13.17 |
