From fde8635a181a6ed0cec2a1756fc3e35fee39d29d Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 19 Oct 2022 09:11:34 -0700 Subject: Split Text.Pandoc.Version from Text.Pandoc.Shared. This new module exports `pandocVersion` and `pandocVersionText`, which are no longer exported from Text.Pandoc.Shared. [API change] Also, we now set the `pandoc-version` variable centrally rather than in the writers. One effect is the man writer now emits a comment with the pandoc version (this was intended before, judging from the template, but it didn't happen because the vairable wasn't set). --- pandoc-lua-engine/src/Text/Pandoc/Lua/Global.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pandoc-lua-engine/src') diff --git a/pandoc-lua-engine/src/Text/Pandoc/Lua/Global.hs b/pandoc-lua-engine/src/Text/Pandoc/Lua/Global.hs index 5ec7ced64..304ad8695 100644 --- a/pandoc-lua-engine/src/Text/Pandoc/Lua/Global.hs +++ b/pandoc-lua-engine/src/Text/Pandoc/Lua/Global.hs @@ -25,7 +25,7 @@ import Text.Pandoc.Lua.Marshal.ReaderOptions (pushReaderOptionsReadonly) import Text.Pandoc.Lua.Marshal.WriterOptions (pushWriterOptions) import Text.Pandoc.Lua.PandocLua () import Text.Pandoc.Options (ReaderOptions, WriterOptions) -import Text.Pandoc.Shared (pandocVersion) +import Text.Pandoc.Version (pandocVersion) import qualified Data.Text as Text -- cgit v1.2.3