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

sile-typesetter / sile / 9304060604

30 May 2024 02:07PM UTC coverage: 74.124% (-0.6%) from 74.707%
9304060604

push

github

alerque
style: Reformat Lua with stylua

8104 of 11995 new or added lines in 184 files covered. (67.56%)

15 existing lines in 11 files now uncovered.

12444 of 16788 relevant lines covered (74.12%)

7175.1 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

© 2025 Coveralls, Inc