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

sile-typesetter / sile / 6941442205

21 Nov 2023 08:56AM UTC coverage: 63.58% (+1.3%) from 62.266%
6941442205

Pull #1904

github

web-flow
Merge pull request #1891 from sile-typesetter/ot-tate
Pull Request #1904: Merge develop into master (commit to next release being breaking)

67 of 198 new or added lines in 20 files covered. (33.84%)

171 existing lines in 13 files now uncovered.

9907 of 15582 relevant lines covered (63.58%)

6710.82 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