Skip to content

v0.12.0: this brings packages

Compare
Choose a tag to compare
@michael-brade michael-brade released this 23 Jun 13:00
· 124 commits to master since this release

parser:

  • fixed url chars according to RFC3986
  • implemented key-value lists
  • implemented csv groups
  • use _ instead of skip_space to make to code more readable

core:

  • documentclasses: implemented inheritance of options
  • implemented standard documentclass options, allow any font size option (e.g. 26pt)
  • implemented \usepackage, added first packages
  • refactor: added Generator class with TeX logic so that HtmlGenerator only needs to worry about the DOM
  • refactor: macros.ls -> latex.ltx.ls
  • import symbols from packages and custom macros
  • introduced Length and Vector classes
  • fixed \oval{} and \circle*
  • update to KaTeX 0.10.0, SVG.js 3.0

HtmlGenerator:

  • added precision option, default is 3 digits

new packages:

  • hyperref
  • echo
  • multicol
  • latexsym
  • textgreek
  • stix
  • gensymb
  • textcomp

CSS:

  • fixed layout bug: do not make html and body a grid! Otherwise we'll have nested grids.
  • set font properties at the root (<html>)
  • set CSS variables on the root element (also for webcomponent), this is important for the root font size
  • webcomponent: @font-face doesn't work inside a shadow DOM, so add cmu.css to parent document

tests

  • fixed fixure loading (#21)
  • refactored screenshot code
  • don't instrument screenshot tests for code coverage
  • refactor loading fixtures from subdirectories to allow grouping them by package, for instance

build

  • swiched to rollup, get rid of babel, uglify-js
  • parallelize build
  • output ES modules and UMD packages

playground:

  • use split-grid and CSS grid for layout