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

plastex / plastex / 267
45%

Build:
DEFAULT BRANCH: master
Ran 25 Apr 2020 04:19PM UTC
Jobs 4
Files 764
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
267

push

travis-ci

PatrickMassot
Fix counter presentation

Previously, TheCounter yanks any counter value that is 0. This is the
desired behaviour in classes such as \thefigure in book or report, which
wants to convert Figure 0.1 to Figure 1. However, this is generally
undesirable. It turns subsection 0.1 to subsection 1, and even worse,
4.0.3 to 4.3.

This commit modifies the behaviour in two ways. Firstly, the yanking
behaviour is opt-in. Secondly, it only removes instances of "0." at the
beginning of the counter value, instead of everywhere.

Fixes #172

33930 of 62011 relevant lines covered (54.72%)

0.55 hits per line

Jobs
ID Job ID Ran Files Coverage
1 267.1 25 Apr 2020 04:19PM UTC 0
54.61
Travis Job 267.1
2 267.2 25 Apr 2020 04:19PM UTC 0
54.61
Travis Job 267.2
3 267.3 25 Apr 2020 04:19PM UTC 0
54.61
Travis Job 267.3
4 267.4 25 Apr 2020 04:19PM UTC 0
55.05
Travis Job 267.4
Source Files on build 267
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #267
  • a9c1467d on github
  • Prev Build on master (#266)
  • Next Build on master (#268)
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