diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2017-12-02 23:07:29 +0100 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2017-12-02 23:07:29 +0100 |
commit | d5b1c7b767a24bda592ea35902b8e1dc971d6d80 (patch) | |
tree | 3c39efd50b1390ad4dd447cd5a4c1ee14ae1184a /pandoc.cabal | |
parent | a7953a60b984474b6937e153c62f51b560e6f994 (diff) |
Lua filters: refactor lua module handling
The integration with Lua's package/module system is improved: A
pandoc-specific package searcher is prepended to the searchers in
`package.searchers`. The modules `pandoc` and `pandoc.mediabag` can now
be loaded via `require`.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r-- | pandoc.cabal | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index 8bf3a2c28..2e6f0b339 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -111,7 +111,7 @@ data-files: -- pandoc lua module data/pandoc.lua -- lua List module - data/List.lua + data/pandoc.List.lua -- sample highlighting theme data/default.theme -- bash completion template @@ -478,6 +478,7 @@ library Text.Pandoc.Readers.Org.ParserState, Text.Pandoc.Readers.Org.Parsing, Text.Pandoc.Readers.Org.Shared, + Text.Pandoc.Lua.Packages, Text.Pandoc.Lua.PandocModule, Text.Pandoc.Lua.Filter, Text.Pandoc.Lua.StackInstances, |