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

sile-typesetter / sile / 7246678005

18 Dec 2023 10:19AM UTC coverage: 67.096% (-7.5%) from 74.62%
7246678005

push

github

web-flow
chore(deps): Bump actions/upload-artifact from 3 to 4 (#1940)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

10583 of 15773 relevant lines covered (67.1%)

3150.6 hits per line

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

0.0
/languages/am.lua
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

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