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

sile-typesetter / sile / 6915746301

18 Nov 2023 07:02PM UTC coverage: 56.433% (-12.3%) from 68.751%
6915746301

push

github

web-flow
Merge 8b3fdc301 into f64e235fa

8729 of 15468 relevant lines covered (56.43%)

932.75 hits per line

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

0.0
/classes/triglot.lua
1
local book = require("classes.book")
×
2

3
local class = pl.class(book)
×
4
class._name = "triglot"
×
5

6
function class:_init (options)
×
7
  book._init(self, options)
×
8
  self:loadPackage("counters")
×
9

10
  self:registerPostinit(function ()
×
11
    SILE.scratch.counters.folio = { value = 1, display = "arabic" }
×
12
  end)
13

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

46
  SILE.settings:set("linebreak.tolerance", 5000)
×
47
  SILE.settings:set("document.parindent", SILE.nodefactory.glue())
×
48

49
end
50

51
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