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

xymostech / XymosTeX / 83
82%

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

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

Jobs
ID Job ID Ran Files Coverage
3 83.3 27 Jun 2021 06:36AM UTC 0
90.76
Travis Job 83.3
Source Files on build 83
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #83
  • 362313a0 on github
  • Prev Build on master (#82)
  • Next Build on master (#84)
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