dvi2html

Convert DVI to HTML5/CSS

Usage no npm install needed!

<script type="module">
  import dvi2html from 'https://cdn.skypack.dev/dvi2html';
</script>

README

DVI Parser

A live demo is available at https://people.math.osu.edu/fowler.291/latex/

Built using https://github.com/FabriceSalvaire/PyDVI and the work of @tmanderson

The goal with this project is to eventually have a complete DVI toolset written in node. Once complete, this will hopefully be used to implement TeX document conversions completely in node (particularly a highly configurable HTML/CSS/JS output).

I'll also be updating the Wiki for those that are interested. Currently, I there's a DVI Specification Explained section that I put together for my own benefit (sourced from a few different online pages).

TODO

  • DVI Parser
  • TFM Parser
  • Metric management (right now, fonts are found using kpsewhich)
  • HTML/CSS/JS conversion

Building