aboutsummaryrefslogtreecommitdiff
path: root/pandoc/filters/include-files.lua
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2026-10-04 14:57:47 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2026-10-04 14:57:47 +0200
commitc04021211548123287ea6e55c2a82c6557e6b2e1 (patch)
treef4ff7afaa7b89dbe5afa2f3ba6ef0cd6bdde9ee9 /pandoc/filters/include-files.lua
parent5750c240be8aea6ac3635c901eb13119594d6fc2 (diff)
downloadunterricht-c04021211548123287ea6e55c2a82c6557e6b2e1.tar.gz
unterricht-c04021211548123287ea6e55c2a82c6557e6b2e1.zip
pandoc: remove debug output from include-files filter
Diffstat (limited to 'pandoc/filters/include-files.lua')
-rw-r--r--pandoc/filters/include-files.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/pandoc/filters/include-files.lua b/pandoc/filters/include-files.lua
index a42ae1ec..a9ce8121 100644
--- a/pandoc/filters/include-files.lua
+++ b/pandoc/filters/include-files.lua
@@ -43,12 +43,10 @@ local function update_contents(blocks, shift_by, include_path)
end,
-- If tex input paths are relative then prepend include file path
RawBlock = function (el)
- io.stderr:write("include-filter: Raw Block found.\n")
-- Only handle tex RawBlocks
if el.format ~= 'tex' then
return el
end
- io.stderr:write("include-filter: Raw Tex Block found.\n")
el.text = el.text:gsub('\\input{([^}]+)}', function(match)
local input_path = match