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

sile-typesetter / sile / 9474085178

11 Jun 2024 10:59PM UTC coverage: 69.177% (+13.9%) from 55.259%
9474085178

push

github

alerque
style(classes): Restyle with stylua

1 of 1 new or added line in 1 file covered. (100.0%)

104 existing lines in 9 files now uncovered.

11978 of 17315 relevant lines covered (69.18%)

4307.68 hits per line

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

0.0
/classes/triglot.lua
1
--- triglot document class.
2
-- @use classes.triglot
3

UNCOV
4
local book = require("classes.book")
×
5

UNCOV
6
local class = pl.class(book)
×
UNCOV
7
class._name = "triglot"
×
8

UNCOV
9
function class:_init (options)
×
UNCOV
10
   book._init(self, options)
×
UNCOV
11
   self:loadPackage("counters")
×
12

UNCOV
13
   self:registerPostinit(function ()
×
UNCOV
14
      SILE.scratch.counters.folio = { value = 1, display = "arabic" }
×
15
   end)
16

UNCOV
17
   self:declareFrame("a", {
×
18
      left = "5%pw",
19
      right = "28%pw",
20
      top = "11.6%ph",
21
      bottom = "80%ph",
22
   })
UNCOV
23
   self:declareFrame("b", {
×
24
      left = "33%pw",
25
      right = "60%pw",
26
      top = "top(a)",
27
      bottom = "bottom(a)",
28
   })
UNCOV
29
   self:declareFrame("c", {
×
30
      left = "66%pw",
31
      right = "95%pw",
32
      top = "top(a)",
33
      bottom = "bottom(a)",
34
   })
UNCOV
35
   self:declareFrame("folio", {
×
36
      left = "left(a)",
37
      right = "right(b)",
38
      top = "bottom(a)+3%pw",
39
      bottom = "bottom(a)+8%ph",
40
   })
UNCOV
41
   self:loadPackage("parallel", {
×
UNCOV
42
      frames = {
×
43
         left = "a",
44
         middle = "b",
45
         right = "c",
46
      },
47
   })
48

UNCOV
49
   SILE.settings:set("linebreak.tolerance", 5000)
×
UNCOV
50
   SILE.settings:set("document.parindent", SILE.types.node.glue())
×
51
end
52

UNCOV
53
return class
×
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