Skip to content

Commit

Permalink
fix(debug): Fix typesetter:debugState() in absence of luastd
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Nov 29, 2022
1 parent ab46bf7 commit 42f6b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typesetters/base.lua
Expand Up @@ -158,7 +158,7 @@ end

function SILE.defaultTypesetter:debugState ()
print("\n---\nI am in "..(self:vmode() and "vertical" or "horizontal").." mode")
print("Writing into " .. self.frame)
print("Writing into " .. tostring(self.frame))
print("Recent contributions: ")
for i = 1, #(self.state.nodes) do
io.stderr:write(self.state.nodes[i].. " ")
Expand Down

0 comments on commit 42f6b0b

Please sign in to comment.