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

sile-typesetter / sile / 9432254829

08 Jun 2024 11:20PM UTC coverage: 60.675% (+3.5%) from 57.223%
9432254829

push

github

alerque
fix(build): Bundle all assets in source distribution

...even when configured for doing a static binary build with embedded
assets. They don't get installed, but they should be in the dist file in
case the good folks building want to configure it a different way.

10441 of 17208 relevant lines covered (60.68%)

1913.98 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

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

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

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

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

17
   self:declareFrame("a", {
×
18
      left = "5%pw",
19
      right = "28%pw",
20
      top = "11.6%ph",
21
      bottom = "80%ph",
22
   })
23
   self:declareFrame("b", {
×
24
      left = "33%pw",
25
      right = "60%pw",
26
      top = "top(a)",
27
      bottom = "bottom(a)",
28
   })
29
   self:declareFrame("c", {
×
30
      left = "66%pw",
31
      right = "95%pw",
32
      top = "top(a)",
33
      bottom = "bottom(a)",
34
   })
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
   })
41
   self:loadPackage("parallel", {
×
42
      frames = {
×
43
         left = "a",
44
         middle = "b",
45
         right = "c",
46
      },
47
   })
48

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

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