v0.12.0
版本发布时间: 2019-06-23 21:00:40
michael-brade/LaTeX.js最新发布版本:v0.12.6(2023-04-24 01:57:24)
parser:
- fixed url chars according to RFC3986
- implemented key-value lists
- implemented csv groups
- use
_
instead ofskip_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 thatHtmlGenerator
only needs to worry about the DOM - refactor: macros.ls -> latex.ltx.ls
- import symbols from packages and custom macros
- introduced
Length
andVector
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