Skip to content

Closer

Compare
Choose a tag to compare
@michael-brade michael-brade released this 04 Feb 21:54
· 356 commits to master since this release

restructure:

  • implemented \documentclass and parsing the preamble
  • use JS classes for documentclasses: extract article.ls, book.ls, report.ls
  • implemented environments like in LaTeX: any macro can be used in \begin/\end, and therefore, environments can now mostly be implemented without touching the parser

boxes:

  • implemented boxes: \mbox, \makebox, \parbox, \fbox, \framebox, \[rl]lap, \smash, \[vh]phantom
  • implemented lengths (changing CSS variables still TODO)

picture environment:

  • implemented \line, \Line, \vector, \Vector, \circle, and \put

titling:

  • \frontmatter, \mainmatter, \backmatter, \appendix
  • \maketitle, \title, \author, \date
  • titlepage and abstract environments

new CLI features:

  • switch output: full HTML5 or "barely" the <body> contents
  • change default documentclass
  • add custom macros
  • add custom styles

unit tests:

  • support screenshot tests (useful for CSS unit testing)

fonts:

  • set default font size to 10pt
  • \emph and \em are now context-aware
  • regenerated the CM fonts (fixes missing glyphs), fixed missing slanted typewriter
  • more beautiful \underline