Skip to content

Commit

Permalink
fix(backends): Always output pdf on finish() even if no content
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed May 26, 2022
1 parent 8a1bec3 commit 3af7a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/libtexpdf-output.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ SILE.outputters.libtexpdf = {

finish = function (self)
_deprecationCheck(self)
if not started then return end
ensureInit()
pdf.endpage()
pdf.finish()
started = false
Expand Down

0 comments on commit 3af7a94

Please sign in to comment.