v0.7.1 - restore support for Bower and CDN

@gagern gagern released this Jan 21, 2017 · 40 commits to master since this release

Bug fixes:

  • Restored creation of dist directory during release process. Should fix Bower support (#613) and cdnjs integration (#641).

Downloads

New features:

  • Allow specifying macros (without arguments) in the settings object
  • Add \kern
  • Add \mod, \bmod, \pmod, and \pod
  • Add \middle
  • Add \ldots, \textellipsis, and \mathellipsis
  • Add \#, \&, \$, \%, \_, \{, and \} in text mode
  • Add \stackrel
  • Add \atop
  • Add --, ---, ```, ', , `''`, `\degree`, `\pounds`, `\maltese`
  • Add \mathord, \mathbin, \mathrel, \mathopen, \mathclose, \mathpunct, \mathinner, and \mathop
  • Add \textrm, \textit, \textbf, \texttt, \textsf, and \textnormal

Other changes:

  • Combine adjacent spans in text mode (performance)
  • Don't apply italic correction in text mode (bug fix)
  • Fix the MathML fence attribute on delimiters (bug fix)
  • Fix converting bins to ords (bug fix)
  • Make \llap and \rlap produce ords (bug fix)
  • Fix spacing around \color, \mathbf, and in other places (bug fix)
  • Add per-style font metrics (bug fix)
  • Complain when trying to render a non-string (bug fix)
  • Fix subscript positioning with changed-font bases (bug fix)
  • Fix superscript/subscript centering in fractions (bug fix)

Infrastructure changes:

  • Improved Docker on Mac support
  • Clone screenshot fonts only once
  • Fix texcmp issues related to bit depth and kerning
  • Keep un-minified katex.js and katex.css files
  • Automatically call npm install when package.json changes
  • Upgrade less

Misc:

  • Added a code of conduct

Downloads

v0.6.0 - aligned, \gt, \lt, \underline, and infrastructure work

@kevinbarabash kevinbarabash released this Apr 16, 2016 · 102 commits to master since this release

New features:

  • Introduce the aligned environment.
  • Add \gt and \lt.
  • Bundle CSS and fonts in npm package.
  • Fix sub- and super-scripts not being centered inside of math display.
  • Add \underline support.

Other changes:

  • Remove 3px border around rules (bug fix).
  • Set the greediness of font functions to 2 so that e^\mathbf{x} will parse (bug fix).

Infrastructure changes:

  • Refactor function and symbol tables.
  • Add calling convention for functions and environments.
  • Make mode and position part of the internal state.
  • Check screenshots on Travis using Docker and Selenium and changes to increase the robustness of these tests.
  • Add unit tests for error messages.

Special thanks to @gagern for all of the infrastructure changes.

Downloads

v0.5.1 - Add font commands, \limits/\nolimits

@xymostech xymostech released this Sep 2, 2015 · 178 commits to master since this release

New features:

  • Add the font changing functions \mathrm, \mathit, \mathbf, \mathbb, \mathcal, \mathfrak, \mathscr, \mathsf, \mathtt, \Bbb, \bold, and \frak.
  • Add the \limits and \nolimits functions.
  • Add a throwOnError option to allow generating red error text when rendering invalid commands instead of throwing errors, and a corresponding errorColor option to decide the color of invalid commands.
  • Add support for | column delimiters in the array environment.
  • Add \lVert and \rVert symbols.

Other changes:

  • Allow \lvert, \rvert, \lVert, \rVert, \lgroup, \rgroup, \lmoustache, and \rmoustache in delimiters.
  • Fix the spacing of the \ulcorner, \urcorner, \llcorner, \lrcorner, \barwedge, \veebar, \circledcirc, \boxdot, \uparrow, \Uparrow, \downarrow, \Downarrow, \updownarrow, \Updownarrow, and \ldots symbols.

Downloads

v0.5.0

@xymostech xymostech released this Jul 16, 2015 · 217 commits to master since this release

New features:

  • Add the cases and Bmatrix environments.
  • Add \checkmark and \circledR symbols.

Other changes:

  • Run ttfautohint on our fonts, to produce better results at small font sizes.
  • Improve the spacing inside fractions.
  • Correctly set environments to the ord type.

Infrastructure changes:

  • Redo our screenshot tests to use standard selenium images, and add Chrome screenshots.
  • Improve our metrics generation pipeline.
  • Fix make dist on Macs.

Downloads

v0.4.3 - Fix bower install

@xymostech xymostech released this Jun 20, 2015 · 255 commits to master since this release

Changes:

  • Fix bower.json to include a "main" entry

Downloads

v0.4.0 - Arrays and matrices, optional \sqrt arguments, and more

@xymostech xymostech released this Jun 18, 2015 · 259 commits to master since this release

New Features:

  • Added support for some \begin/\end environments, including support for array, matrix, pmatrix, bmatrix, vmatrix, and Vmatrix
  • Added support for optional \sqrt arguments, e.g. \sqrt[3]{x}
  • Bower package is now available: run bower install katex to download the built files

Other changes:

  • Add a display mode flag to the cli
  • Expose an unstable __parse method for retrieving the parse tree
  • Prevent elements from inheriting text-indent

Downloads

v0.3.0

@xymostech xymostech released this Apr 1, 2015 · 281 commits to master since this release

Breaking changes:

  • The greediness of the \color function has changed to maintain compatibility with MathJax, so expressions like \color{red}\text{a} will no longer work and instead need to be rewritten as \color{red}{\text{a}}

New features:

  • Add an auto-render extension for automatically rendering math on a page
  • Add support for \phantom
  • Add \#, \&

Other changes:

  • Fixed spacing for \odot, \oplus, \otimes, \oslash, \bigtriangleup, \bigtriangledown, \dagger, \diamond, \star, \triangleleft, \triangleright
  • Fixed MathML handling of text operators
  • Removed !important from MathML hiding rules, so they can be overridden

Downloads

v0.2.0 - More symbols and accessibility

@xymostech xymostech released this Mar 2, 2015 · 295 commits to master since this release

New features:

  • Added accessibility through the use of MathML
  • Added the ability to render math in display mode, centered on a single line in display style
  • Add support for new symbols: \aleph, \amalg, \approxeq, \ast, \asymp, \backepsilon, \backprime, \backsim, \backsimeq, \Bbbk, \because, \beth, \between, \bigcirc, \bigstar, \blacklozenge, \blacksquare, \blacktriangle, \blacktriangledown, \blacktriangleleft, \blacktriangleright, \bowtie, \Box, \boxminus, \boxplus, \boxtimes, \bullet, \bumpeq, \Bumpeq, \Cap, \cdotp, \centerdot, \circeq, \circlearrowleft, \circlearrowright, \circledast, \circleddash, \circledS, \clubsuit, \complement, \Cup, \curlyeqprec, \curlyeqsucc, \curlyvee, \curlywedge, \curvearrowleft, \curvearrowright, \dag, \daleth, \dashleftarrow, \dashrightarrow, \dashv, \ddag, \ddagger, \diagdown, \diagup, \Diamond, \diamondsuit, \digamma, \divideontimes, \doteq, \Doteq, \doteqdot, \dotplus, \doublebarwedge, \doublecap, \doublecup, \downdownarrows, \downharpoonleft, \downharpoonright, \ell, \eqcirc, \eqsim, \eqslantgtr, \eqslantless, \equiv, \eth, \exists, \fallingdotseq, \Finv, \flat, \forall, \frown, \Game, \geqq, \geqslant, \gg, \ggg, \gggtr, \gimel, \gnapprox, \gneq, \gneqq, \gnsim, \gtrapprox, \gtrdot, \gtreqless, \gtreqqless, \gtrless, \gtrsim, \gvertneqq, \hbar, \heartsuit, \hookleftarrow, \hookrightarrow, \hslash, \Im, \intercal, \Join, \ldotp, \leadsto, \Leftarrow, \leftarrowtail, \leftharpoondown, \leftharpoonup, \leftleftarrows, \leftrightarrow, \Leftrightarrow, \leftrightarrows, \leftrightharpoons, \leftrightsquigarrow, \leftthreetimes, \leqq, \leqslant, \lessapprox, \lessdot, \lesseqgtr, \lesseqqgtr, \lessgtr, \lesssim, \lgroup, \lhd, \ll, \llcorner, \Lleftarrow, \lll, \llless, \lmoustache, \lnapprox, \lneq, \lneqq, \lnsim, \longleftarrow, \Longleftarrow, \longleftrightarrow, \Longleftrightarrow, \longmapsto, \longrightarrow, \Longrightarrow, \looparrowleft, \looparrowright, \lozenge, \lrcorner, \Lsh, \ltimes, \lvertneqq, \mapsto, \measuredangle, \mho, \mid, \mp, \multimap, \nabla, \natural, \ncong, \nearrow, \nexists, \ngeqq, \ngeqslant, \ngtr, \ni, \nleftarrow, \nLeftarrow, \nleftrightarrow, \nLeftrightarrow, \nleqq, \nleqslant, \nless, \nmid, \nparallel, \nprec, \npreceq, \nrightarrow, \nRightarrow, \nshortmid, \nshortparallel, \nsim, \nsubseteqq, \nsucc, \nsucceq, \nsupseteqq, \ntriangleleft, \ntrianglelefteq, \ntriangleright, \ntrianglerighteq, \nvdash, \nvDash, \nVdash, \nVDash, \nwarrow, \ominus, \owns, \parallel, \perp, \pitchfork, \prec, \precapprox, \preccurlyeq, \preceq, \precnapprox, \precneqq, \precnsim, \precsim, \propto, \Re, \restriction, \rgroup, \rhd, \Rightarrow, \rightarrowtail, \rightharpoondown, \rightharpoonup, \rightleftarrows, \rightleftharpoons, \rightrightarrows, \rightsquigarrow, \rightthreetimes, \risingdotseq, \rmoustache, \Rrightarrow, \Rsh, \rtimes, \searrow, \sharp, \shortmid, \shortparallel, \sim, \simeq, \smallfrown, \smallsetminus, \smallsmile, \smile, \spadesuit, \sphericalangle, \sqcap, \sqcup, \sqsubset, \sqsubseteq, \sqsupset, \sqsupseteq, \square, \Subset, \subseteqq, \subsetneq, \subsetneqq, \succ, \succapprox, \succcurlyeq, \succeq, \succnapprox, \succneqq, \succnsim, \succsim, \Supset, \supseteqq, \supsetneq, \supsetneqq, \swarrow, \therefore, \thickapprox, \thicksim, \triangledown, \trianglelefteq, \triangleq, \trianglerighteq, \twoheadleftarrow, \twoheadrightarrow, \ulcorner, \unlhd, \unrhd, \upharpoonleft, \upharpoonright, \uplus, \upuparrows, \urcorner, \varkappa, \varpropto, \varsubsetneq, \varsubsetneqq, \varsupsetneq, \varsupsetneqq, \vartriangle, \vartriangleleft, \vartriangleright, \vdash, \vDash, \Vdash, \Vvdash, \wp, \wr, \yen

Other changes

  • Removed unused greek fonts

Downloads

v0.1.1

@spicyj spicyj released this Oct 16, 2014 · 310 commits to master since this release

New features

  • Add support for \binom
  • Add support for \over and \choose
  • Add \partial, \subset, \supset, \subseteq, \supseteq, \cap, \cup, \setminus, \neg, \lnot, \top, \bot, \emptyset, \varnothing, \land, \lor, \wedge, \vee, \notin, \nsubseteq, \nsupseteq, \models
  • Add simple katex command-line binary to convert TeX to HTML on the server
  • Add WOFF2 fonts for faster downloads in Chrome and Opera

Other changes

  • Correctly throws on \sqrt[3]{x} to indicate lack of support
  • Fixed spacing for \iint and \iiint
  • Built files now only use ASCII characters to avoid character encoding problems
  • Warn when in quirks mode (i.e., missing a <!DOCTYPE html> declaration)

Downloads