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

sile-typesetter / sile / 7232859119

16 Dec 2023 03:49PM UTC coverage: 66.878% (-7.7%) from 74.62%
7232859119

push

github

web-flow
Merge 05d75c2a3 into 8686730e4

0 of 4 new or added lines in 1 file covered. (0.0%)

1201 existing lines in 56 files now uncovered.

10550 of 15775 relevant lines covered (66.88%)

3347.52 hits per line

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

0.0
/languages/am.lua
UNCOV
1
SILE.settings:declare({
×
2
  parameter = "languages.am.justification",
3
  type = "string",
4
  default = "left",
5
  help = "Justification method for Ethiopic word separators: left or centered"
×
6
})
7

UNCOV
8
SILE.nodeMakers.am = pl.class(SILE.nodeMakers.unicode)
×
UNCOV
9
function SILE.nodeMakers.am:iterator (items)
×
UNCOV
10
  local ics = SILE.settings:get("document.letterspaceglue")
×
UNCOV
11
  local style = SILE.settings:get("languages.am.justification")
×
UNCOV
12
  return coroutine.wrap(function ()
×
UNCOV
13
    for i = 1, #items do
×
UNCOV
14
      local item = items[i]
×
UNCOV
15
      local char = items[i].text
×
UNCOV
16
      local cp = SU.codepoint(char)
×
UNCOV
17
      if cp == 0x1361 then -- ETHIOPIC WORDSPACE
×
UNCOV
18
        if style == "centered" then
×
UNCOV
19
          self:makeToken()
×
UNCOV
20
          self:makeGlue(item)
×
21
        end
UNCOV
22
        self:addToken(char, item)
×
UNCOV
23
        self:makeToken()
×
UNCOV
24
        self:makeGlue(item)
×
UNCOV
25
      elseif cp == 0x1362 then -- ETHIOPIC FULL STOP
×
UNCOV
26
        if style == "centered" then
×
UNCOV
27
          self:makeToken()
×
UNCOV
28
          self:makeGlue(item)
×
29
        end
UNCOV
30
        self:addToken(char, item)
×
UNCOV
31
        self:makeToken()
×
UNCOV
32
        self:makeGlue(item)
×
UNCOV
33
        self:makePenalty() -- This is cheating. We should really make double width glue
×
UNCOV
34
        self:makeGlue(item)
×
35
      else
UNCOV
36
        self:dealWith(items[i])
×
37
      end
38
    end
UNCOV
39
    if ics then self:makeLetterSpaceGlue() end
×
UNCOV
40
    self:makeToken()
×
41
  end)
42
end
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