@prinsss/dvi2html
v0.0.1
Published
Convert DVI to HTML5/CSS
Downloads
251
Readme
DVI Parser
This package is build on top of the work of @artisticat1, @drgrice1 and @kisonecat. Thanks to them for their great work!
What I did is to build and publish the package on npm to make it easier to use in other projects.
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
- [x] DVI Parser
- [X] TFM Parser
- [X] Metric management (right now, fonts are found using
kpsewhich
) - [X] HTML/CSS/JS conversion
Building
Run
npm install
Not that this will automatically run npm run build
after all node packages are installed.