Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.59 KB

README.md

File metadata and controls

39 lines (28 loc) · 1.59 KB

DVI Parser

This version of dvi2html is modified for the tikzjax project.

Note that the opentype bakoma fonts are used instead of the truetype fonts because of a glyph issue in the truetype fonts. The unicode character U+00AD is used to index one of the glyphs in the truetype fonts. That is a soft hyphen which is a character that browsers will not show even though that is not what the character is in the font. The opentype bakoma fonts also have a glyph issue. They contain invalid out of range glyph indices. As such, to use them the invalid glyphs need to be removed. This is done in the tikzjax project.

Building

Run

npm install
npm run build

General Project Comments

The original code in this project is based on code from the PyDVI and the work of @tmanderson

The goal with this project is to eventually have a complete DVI tool set 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).

There is a DVI Specification Explained section on the wiki of tmanderson/dviparser (sourced from a few different online pages) for reference.

TODO

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