Skip to content

Commit

Permalink
Merge 4689a43 into 49780d5
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Dec 12, 2022
2 parents 49780d5 + 4689a43 commit cbcacd2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/sile.lua
Expand Up @@ -321,10 +321,12 @@ function SILE.processFile (filename, format, options)
end
doc = file:read("*a")
end
local cpf = SILE.currentlyProcessingFile
SILE.currentlyProcessingFile = filename
local pId = SILE.traceStack:pushDocument(filename, doc)
local ret = SILE.processString(doc, format, filename, options)
SILE.traceStack:pop(pId)
SILE.currentlyProcessingFile = cpf
return ret
end

Expand Down

0 comments on commit cbcacd2

Please sign in to comment.