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

sile-typesetter / sile / 9428435077

08 Jun 2024 11:35AM UTC coverage: 64.56% (-9.9%) from 74.46%
9428435077

push

github

web-flow
Merge pull request #2047 from alerque/end-pars

23 of 46 new or added lines in 5 files covered. (50.0%)

1684 existing lines in 60 files now uncovered.

11145 of 17263 relevant lines covered (64.56%)

4562.45 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
×
40
         self:makeLetterSpaceGlue()
×
41
      end
UNCOV
42
      self:makeToken()
×
43
   end)
44
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