• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sile-typesetter / sile / 9304049654

30 May 2024 02:12PM UTC coverage: 60.021% (-14.7%) from 74.707%
9304049654

push

github

web-flow
Merge 1a26b4f22 into a1fd105f8

6743 of 12900 new or added lines in 186 files covered. (52.27%)

347 existing lines in 49 files now uncovered.

10311 of 17179 relevant lines covered (60.02%)

3307.34 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/packages/debug/init.lua
1
local base = require("packages.base")
×
2

3
local package = pl.class(base)
×
4
package._name = "debug"
×
5

6
function package:registerCommands ()
×
NEW
7
   self:registerCommand("debug", function (options, _)
×
NEW
8
      for k, v in pairs(options) do
×
NEW
9
         SILE.debugFlags[k] = SU.boolean(v, true)
×
10
      end
11
   end)
12

NEW
13
   self:registerCommand("disable-pushback", function (_, _)
×
NEW
14
      SILE.typesetter.pushBack = function () end
×
15
   end)
16
end
17

18
package.documentation = [[
19
\begin{document}
20
This package provides two commands: \autodoc:command{\debug}, which turns on and off SILE’s internal debugging flags (similar to using \code{--debug=...} on the command line), and \autodoc:command{\disable-pushback} which is used by SILE’s developers to turn off the typesetter’s pushback routine, because we don’t really trust it very much.
21
\end{document}
22
]]
×
23

24
return package
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc