From cdf8c69fb94aeae4f0284a6b534321552d4bed2a Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Tue, 13 Dec 2022 12:45:36 +0100 Subject: Lua: add module `pandoc.structure`. Adds support for table of contents and chunks handling. The function `make_sections` has been given a friendlier interface and was moved to the new module; the old `pandoc.utils.make_sections` has been deprecated. --- pandoc-lua-engine/pandoc-lua-engine.cabal | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pandoc-lua-engine/pandoc-lua-engine.cabal') diff --git a/pandoc-lua-engine/pandoc-lua-engine.cabal b/pandoc-lua-engine/pandoc-lua-engine.cabal index 0c136fe9d..55cc37fc1 100644 --- a/pandoc-lua-engine/pandoc-lua-engine.cabal +++ b/pandoc-lua-engine/pandoc-lua-engine.cabal @@ -69,6 +69,7 @@ library , Text.Pandoc.Lua.Filter , Text.Pandoc.Lua.Global , Text.Pandoc.Lua.Init + , Text.Pandoc.Lua.Marshal.Chunks , Text.Pandoc.Lua.Marshal.CommonState , Text.Pandoc.Lua.Marshal.Context , Text.Pandoc.Lua.Marshal.Format @@ -83,6 +84,7 @@ library , Text.Pandoc.Lua.Module.MediaBag , Text.Pandoc.Lua.Module.Pandoc , Text.Pandoc.Lua.Module.Scaffolding + , Text.Pandoc.Lua.Module.Structure , Text.Pandoc.Lua.Module.System , Text.Pandoc.Lua.Module.Template , Text.Pandoc.Lua.Module.Types -- cgit v1.2.3