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

xymostech / XymosTeX / 83 / 3
82%
master: 82%

Build:
DEFAULT BRANCH: master
Ran 27 Jun 2021 06:36AM UTC
Files 41
Run time 2s
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

27 Jun 2021 06:16AM UTC coverage: 90.762% (-0.2%) from 90.954%
83.3

push

travis-ci-com

xymostech
Allow \prevdepth assignments in vertical modes

When trying to generate a duplicate version of the output of
superscript+subscript combos using `\hbox{}` and `\vbox{}` I ran into
a new issue of interline glue. Because of interline glue, it's
difficult to construt exactly the `\vbox{}` that I desire for the
tests to compare against. There is a way to disable interline glue, by
setting `\prevdepth=-1000pt`. However, I wasn't handling `\prevdepth`
assignments, so I looked into implementing those.

After reading through the TeXbook chapter 24 several times, I finally
wrapped my head around how these kinds of assignments are supposed to
work. I believe that the place I currently have my prev_depth value
stored, in the routine for parsing vertical lists, is the correct
place, because it's not supposed to be stored in the global state but
is still local to each vertical box. However, I needed to give access
to the value for assignment purposes.

I decided to just pass in a mutable reference to that specific
variable to the assignment routine and let that routine operate on
it. There are other values that are going to be operated on in similar
ways, so I put these into a struct to handle all of them. There are
few enough of them that this should work fine.

6357 of 7004 relevant lines covered (90.76%)

2.18 hits per line

Source Files on job 83.3
  • Tree
  • List 0
  • Changed 21
  • Source Changed 12
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 46
  • Travis Job 83.3
  • 362313a0 on github
  • Prev Job for on master (#82.3)
  • Next Job for on master (#84.3)
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