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

xymostech / XymosTeX / 82
82%

Build:
DEFAULT BRANCH: master
Ran 27 Jun 2021 06:12AM 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
82

push

travis-ci-com

xymostech
Add translation of superscripts, misc requirements for superscripts

This adds support for converting math expressions with superscripts in
them (e.g. `$a^b$`) into horizontal lists. There were many steps
involved in getting this to work, like adding access to font
dimensions and adding some helper methods to mathstyles.

I also realized that the "first pass" translation that happens when
converting a math list into a horizontal list doesn't produce a normal
math list again, and in fact it was impossible to convert the result
to a math list. I made a separate, intermediate step format for
capturing this intermediate data, which also cleaned things up because
some of the assumptions that are made in the second pass can be baked
into the types.

I uncovered a problem with how I handle font metrics, where if I held
onto a font metrics reference while I was trying to load the font
metrics for a new font, this would cause a crash. I realized that I
need to hold onto font metrics references for as short as possible to
prevent this, so I added a helper function to make this easier.

The infrastructure is also now in place to convert subscripts and
superscript/subscript pairs, so I'll work on those next.

6264 of 6887 relevant lines covered (90.95%)

2.2 hits per line

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