Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/KaTeX/KaTeX

Fast math typesetting for the web.
https://github.com/KaTeX/KaTeX

Add permalink button to test page

Auditors: emily

6dd6032ebcf7fed1e5277ee7ed03f6e078ad05d9 authored about 10 years ago by Ben Alpert <[email protected]>
Switch from using huxley to node-huxley

Huxley had some strange problems where screenshots kept getting messed up by
becoming different ...

a66d285532d269372f8e91dd6d274544fd309bed authored over 10 years ago by Emily Eisenberg <[email protected]>
Add an 'implicit group' parser, use with sizing

Summary:
Implicit groups are objects that act like groups but don't have brackets around
them. T...

02935f7dde07efcf44179e4349304e06e5607378 authored over 10 years ago by Emily Eisenberg <[email protected]>
Ignore whitespace following `\text`

Summary:
In something like `\text {hello, world}` we want to ignore the first space but not the ...

e46dd418b3c6782a82c0f3965101d0a21f12aa5c authored over 10 years ago by Ben Alpert <[email protected]>
Fix typesetting of '

Not 100% sure this is the right fix but it appears to work.

Test Plan: Typeset $x'$ in Perseus....

dc4857ac92e276ac4c0720fcc506e231b709b549 authored over 10 years ago by Ben Alpert <[email protected]>
Fix the struts in IE9

Summary:
For some reason, `vertical-align: top` doesn't work in IE9, or at least doesn't
work th...

16b79a2a4223bef8acdb82c6daf09fba3a55542d authored over 10 years ago by Emily Eisenberg <[email protected]>
Make supsubs work correctly with character boxes

Summary:
In rule 18a. of the TeX book, it says we're supposed to set `u` and `v` to 0 if
the nuc...

3173a6e53eb1da6ad1eab581a95b4e215195afc6 authored over 10 years ago by Emily Eisenberg <[email protected]>
Make rlap test a little easier to find errors in

Summary: See rKATc22d8644cc7f45443c6c0756ab64f2dfc2b454e0.

Reviewers: alpert

Reviewed By: alpe...

5416b92d5daad8c612ab00df2ea042efada293dd authored over 10 years ago by Emily Eisenberg <[email protected]>
lint (definitely not cheating)

eccbeca659bab4a972ca053bef3f011052d573e0 authored over 10 years ago by Emily Eisenberg <[email protected]>
Make errors more informative

Make error messages from the lexing and parsing stages be a bit more helpful. If
provided with t...

e68cc472c638a83bbc0ca5e908f4471af4aaad60 authored over 10 years ago by Emily Eisenberg <[email protected]>
Fix a weird bug with rlap

For some reason, when you have a nested elements that look like
`display: inline-block; > posi...

c22d8644cc7f45443c6c0756ab64f2dfc2b454e0 authored over 10 years ago by Emily Eisenberg <[email protected]>
Fix our getTypeOfGroup function

Add in the missing `'sizing'` entry, put the `'text'` entry in the correct
place, and replace `g...

b5ef06b52d626074d1fd5f4414a952de3b8b3a2c authored over 10 years ago by Emily Eisenberg <[email protected]>
Add tie symbol (~)

Summary:
Add real support for the tie symbol. Also, get rid of any of the
leftover bad support

...

4154c370ec1ac120480dde532dedfbed4b734fd8 authored over 10 years ago by Emily Eisenberg <[email protected]>
Add a \color command for custom colors

Summary:
Keep track of the color inside the style now, and use that when we are
rendering things...

d729ba528171ca1a3d4633cbe0edd018ec62a734 authored over 10 years ago by Emily Eisenberg <[email protected]>
First attempt at `\text` function

Summary:
Make all of the parsing functions keep track of whether they are
parsing in math mode o...

7723d3dcaf3604040b91ed3805de09cb96a9942c authored over 10 years ago by Emily Eisenberg <[email protected]>
Replace our annoying lookup tables with a unified symbol table

Summary:
Before, there were a couple problems:
1. There were similar tables of functions in the ...

2eca338e238e194509a44ff7ffadd7f2163b7cf4 authored over 10 years ago by Emily Eisenberg <[email protected]>
Compile .less on demand for test page

Test Plan: Opened test page in Chrome and IE8, saw math.

Reviewers: emily

Reviewed By: emily

...

bff85c638b10eb112a6c3161913cd5cd964f9e52 authored over 10 years ago by Ben Alpert <[email protected]>
Somehow manage to fix the sizing bugs

Summary:
Remove a single `vertical-align: top`, and somewhow it now works. May
the gods of CSS h...

204270fa0db90b40decbd3daf97a793db9fc871f authored over 10 years ago by Emily Eisenberg <[email protected]>
Don't die if things are already installed

Test Plan:
make

92047d2a840f71b2142ea08cdedf78115101a6a7 authored over 10 years ago by Ben Alpert <[email protected]>
Make marginRight work in firefox

Summary:
`.style["margin-right"]` doesn't work in firefox, but
`.style.marginRight` does.

Test ...

63fda7420213a6839d366d9ccdcb5250725f259d authored over 10 years ago by Emily Eisenberg <[email protected]>
Don't silence webkit2png output

Otherwise you miss useful error messages like this:

```
Fetching http://localhost:7936/test/pdi...

1ae76a481340117e6f44211482858fc364f40df5 authored over 10 years ago by Ben Alpert <[email protected]>
Make the Makefile non-mac friendly

Summary:
Add checks in the makefile to not run mac-only things when not on a
mac. (I've only tes...

f5197ae0a748a70ff4b5178add192acae1ffa887 authored over 10 years ago by Emily Eisenberg <[email protected]>
Add huxley screenshot tests

Summary:
Add in a testing page, which just renders the location hash in the body. Use
this to ma...

a7820b12ff21ca8d608f75cb0fbf67c008da7b0a authored over 10 years ago by Emily Eisenberg <[email protected]>
Add "http://" to links in README

The links didn't parse quite right as it was:
* https://gist.github.com/justinj/c13560efabceb4...

b9bd88764c603a8a89e7b1e0804ec80cfa20de92 authored over 10 years ago by Justin Jaffray <[email protected]>
Add MIT License

Reviewers: alpert

Reviewed By: alpert

Differential Revision: http://phabricator.khanacademy.or...

486d1955b68f41a806dfef7bf04bfdc9e47442ff authored over 10 years ago by Alex Lopatin <[email protected]>
Add \enspace (0.5em space)

Summary:
TeX spacing is complicated - there's \enskip and \enspace and the two are
subtly differ...

ba84964d6fbe342b70a631dd0a31c43d3752b7bd authored over 10 years ago by Alex Lopatin <[email protected]>
Basic perceptual diffing support for KaTeX

Summary:
This commit adds an HTML file for creating perceptual diffs (pdiff.html),
a reference s...

a3663ce17c775987891c585f2ec4f518e166e6a4 authored over 10 years ago by Alex Lopatin <[email protected]>
Added \! (negative thin space)

Test Plan: Parses and renders locally. \!\, and \,\! are now no-ops.

Reviewers: alpert

Reviewe...

50c1242147757ea9c965874f2ec0645cd7768fdb authored over 10 years ago by Alex Lopatin <[email protected]>
Added \cong + fixed comment copypasta.

Test Plan: Parses and renders locally.

Reviewers: alpert

Reviewed By: alpert

Differential Rev...

8c179252c576ad571c9e5e0fa2a2aac0b9e7cc5d authored over 10 years ago by Alex Lopatin <[email protected]>
Add \langle and \rangle

Auditors: alex

fe346f56ca934487bf4bc4556b0668ab21c65974 authored almost 11 years ago by Ben Alpert <[email protected]>
Don't change global prototype: local utils.indexOf

Auditors: eater

99e7710020b27bc657ef67209f55bc9bdcab9350 authored almost 11 years ago by Ben Alpert <[email protected]>
Add an Array.indexOf polyfill and don't depend on underscore.js

Auditors: alpert

ee58c126fb29155360316905a17e0e742b7c2d83 authored almost 11 years ago by Ben Eater <[email protected]>
Don't use native indexOf

Test Plan: Use KaTeX to render "\Large{123}" in IE8

Auditors: alpert

c45685e4ea29aef9a89d28c1fcf595300a57a596 authored almost 11 years ago by Ben Eater <[email protected]>
Shrink space, make exponents look more reasonable

Test Plan:
$x' x^2$

fb58ceaea0d860fd5c08d7e9ceb5fe6348f1aab6 authored almost 11 years ago by Ben Alpert <[email protected]>
Add hacky left margin to superscripts

Auditors: emily, eater

538beaf73749e8ae72f6c38e266a7aa79317f69f authored almost 11 years ago by Ben Alpert <[email protected]>
Add parens to mixins to avoid including in .css

Auditors: emily

1dee172e5dbb1b9b61960fd8201ed769a62e0490 authored almost 11 years ago by Ben Alpert <[email protected]>
Add \le, \ge, \ne symbols

Auditors: eater

330b1f5873a9a36673056c574b96439bc6c427a1 authored almost 11 years ago by Ben Alpert <[email protected]>
Add \in

Auditors: eater

c8ba6a698f25bd7f2e13f66d7e0f4af071805d93 authored almost 11 years ago by Ben Alpert <[email protected]>
Prevent line breaks immediately after math

For whatever reason, `<inline-block/>,` allows a break in between the block and the comma. `<nob...

20994d73517ae696d96bc5556ee3e11a4a6dad20 authored almost 11 years ago by Ben Alpert <[email protected]>
Add \approx as a symbol

This is important because the interactive graph labels use \approx now for polygon sides and it ...

302f5502ef8cd048808caf2ffb027ff330bca392 authored almost 11 years ago by Ben Alpert <[email protected]>
Empty the output element before parsing the input

If there's an exception while parsing (because it's something katex doesn't support), the output...

62af02bd4e8ec99ddfcae0b0e11998591e92ba2f authored almost 11 years ago by Ben Eater <[email protected]>
Update browserify

For more deterministic builds, maybe.

Auditors: emily

d17c0922e4f0ff2ec1eaf5da96c0d1c8fb7ef45b authored about 11 years ago by Ben Alpert <[email protected]>
Add percent sign

Auditors: emily

f3225ee7ee887b0597788d7e130d08390533b8a0 authored about 11 years ago by Ben Alpert <[email protected]>
Add \triangle

Auditors: emily

2efa794fd31b6a3b13253ba94b738640d402c690 authored about 11 years ago by Ben Alpert <[email protected]>
Fix sizing

Make sizing blocks inline-block

Auditors: alpert

8a8a9505cba691f60f3c1f022c508fc884eca376 authored about 11 years ago by Emily Eisenberg <[email protected]>
Add sizing functions (like \small)

Summary:
Right now, when the size gets bigger, this still doesn't work, so there's a
check to pr...

387c159a8e37ee0c7207d25e899e4f70b3b60f50 authored about 11 years ago by Emily Eisenberg <[email protected]>
Make supsub work with empty nucleus

Auditors: emily

944b55a6b00b46708bbb16983f234fc08b5bd42f authored about 11 years ago by Ben Alpert <[email protected]>
Don't import fonts.css

Otherwise, when we copy into the main repo, it messes things up.

Auditors: alpert

f58f582aa586dbfc350c5cbc4ee7b26dd11be5f0 authored about 11 years ago by Emily Eisenberg <[email protected]>
Add some AMS characters

Summary:
\nleq and \ngeq are AMS characters, so add support for parsing and
showing those. Also,...

920dd0bef9acd133409026a0922fd0c7ae8de8c5 authored about 11 years ago by Emily Eisenberg <[email protected]>
Parse metrics directly from .ttf files

Summary:
Fixes T1325.

This has the advantage of not having to do the mapping manually. Also it ...

7f25fd7dc951930ac4440eb16ccddddb87a46839 authored about 11 years ago by Ben Alpert <[email protected]>
Add italic correction

Summary: Add margin to the right of characters that have italic correction.

Test Plan:
Look at ...

9fc357b8a1cd0abd559848313db51c076c1ff849 authored about 11 years ago by Emily Eisenberg <[email protected]>
Oops, forgot about commas

ab1b2d6fdc18bcecba2488181bc2d420bc961a4e authored about 11 years ago by Emily Eisenberg <[email protected]>
Add ability to calculate heights/depths

Summary:
This diff does a couple different things:

- There is now a metrics/ folder, which con...

0a3a2271f4b207feb14fe366cb4e72e48d79dd93 authored about 11 years ago by Emily Eisenberg <[email protected]>
Get rid of `make copy`

Auditors: alpert

c583d23a7c7911b6dddecbc8e0993c0788555d3f authored about 11 years ago by Emily Eisenberg <[email protected]>
Do bin -> ord for all the correct types

Fixes T1303

Auditors: alpert

5788a76dcf99a51074d2ec6c996d4cbf867b9481 authored about 11 years ago by Emily Eisenberg <[email protected]>
Add the \KaTeX command

Summary:
Add a command to print out a TeX-style logo for KaTeX. I think the
code is okay, but su...

7e5e6a90d30e50cd819e259fd99245ccd5a36636 authored about 11 years ago by Emily Eisenberg <[email protected]>
Refactor some stuff

Summary:
Pull node making into a separate module, make an "options" param for
the make_ function...

cfb9f2b31b9b2558a3d7173a90efb293ebe84a47 authored about 11 years ago by Emily Eisenberg <[email protected]>
Copy to the right place in khan-exercises

Auditors: emily

5d98bf6544314780519c03d8f7ab53f0c47a0455 authored about 11 years ago by Ben Alpert <[email protected]>
Apply nowrap to .katex

Fixes T1243.

Auditors: emily

60ddb2d90389af0e91c7af59f47749250bd7ccde authored about 11 years ago by Ben Alpert <[email protected]>
Look at WebKit version instead of checking Safari

Reviewers: emily

Reviewed By: emily

Differential Revision: http://phabricator.khanacademy.org/...

6883017bc4d058999a9f44fa511c741fc633401d authored about 11 years ago by Ben Alpert <[email protected]>
Add a setup rule to Makefile

It installs npm prerequisites.

aa4e05a7cf2b954ee6283730c1c2d8550039fcfd authored about 11 years ago by Joel Burget <[email protected]>
Always throw real ParseErrors

Also sneak in a colon.

Auditors: emily

cab5af40b6a63208c20fbca8aebce4b359604983 authored about 11 years ago by Ben Alpert <[email protected]>
Improve the makefile

Summary: Make the makefile copy files into the correct places in all
three repos. (note, the kha...

3b69354fd6e8750464460a3519b0565c34d1cc70 authored about 11 years ago by Emily Eisenberg <[email protected]>
Move main node cleanup back

Summary: If someone wants the node to be cleared out, they will have to
do it themselves.

Audit...

e744b02090a6f6280380e0c584780a3d4646643b authored about 11 years ago by Emily Eisenberg <[email protected]>
Make safari only break on fractions

Summary: Also, make errors on the initial parse not prevent further
parses.

Auditors: alpert

62b4e68a1c5d325f663a49472295530c82fa980a authored about 11 years ago by Emily Eisenberg <[email protected]>
Don't run in Safari

Summary: Safari has weird bugs associated with inline-table and
vertical-align, so we just won't...

905fb7fb7130fb3ae9ac7b542601e1df158c1561 authored about 11 years ago by Emily Eisenberg <[email protected]>
Make the linter happy

Auditors: alpert

79a50b3abebee9613b227e96717d2842f133cd3c authored about 11 years ago by Emily Eisenberg <[email protected]>
Make katex always clean up after itself

Summary: This makes it more annoying to use locally, because it goes
away when you type somethin...

fa101db4e19cef140f51fda49289bcb4adee135c authored about 11 years ago by Emily Eisenberg <[email protected]>
Add new fonts, with correct font face names

Auditors: alpert

138facd7853ba4b444d1893c4244ce8008681a3a authored about 11 years ago by Emily Eisenberg <[email protected]>
Make ParseErrors differentiable from other Errors

Auditors: alpert

1430ebaf067f7420030651774224f28602814b88 authored about 11 years ago by Emily Eisenberg <[email protected]>
Dollar sign

Auditors: emily

dd8923deca67c7584eb9c99629363423639ab9b4 authored about 11 years ago by Ben Alpert <[email protected]>
Make uppercase Greek letters use roman font

Fixes T1228.

Test Plan:
In `\Omega \omega`, Omega is roman and omega is italic.

Auditors: emily

41ad81d831d0c7989f4c93cdaf9d3248f9d14eac authored over 11 years ago by Ben Alpert <[email protected]>
Sync with Khan-exercises

Summary:
Add some things in to make this more useful to khan-exercises.
Notably, make KaTeX.proc...

383ca01434a85d6bdf0ecbf6013fcc12e5a608f9 authored over 11 years ago by Emily Eisenberg <[email protected]>
printf not echo -n

Auditors: emily

b101582aac464fc2e705ebe6ce4f6d894172e4e6 authored over 11 years ago by Ben Alpert <[email protected]>
Parse single superscripts and subscripts

Summary:
Add the ability to parse lone `^x` and `_y`, etc. This basically just
involves more che...

c08fadfaa93b22016c05cdb3905bd4973e91339b authored over 11 years ago by Ben Alpert <[email protected]>
Fix the failing frac test

Summary: Also add some more frac tests

Auditors: alpert

bcd6e8687f114169a9e3463ea07ff6008d3f76e6 authored over 11 years ago by Emily Eisenberg <[email protected]>
Fix some minor things

Summary: Fix llap/rlap again, fix lexing errors

Auditors: alpert

975234e8131a5639a738a2d761a44741b8127ad5 authored over 11 years ago by Emily Eisenberg <[email protected]>
Add Greek letters

Summary: Fixes T1190.

Test Plan: `\alpha \beta \gamma \delta \epsilon \varepsilon \zeta \eta \t...

09311de8146bfcfb6e93f22efc00ae86aad9e87e authored over 11 years ago by Ben Alpert <[email protected]>
Add more symbols

Summary:
', \angle, \circ, \gets, \infty, \leftarrow, \prime, \rightarrow, \times, \to

Fixes T1...

a5840aae4bb5d9a12eea80d371e758d4e82397aa authored over 11 years ago by Ben Alpert <[email protected]>
Make contains() actually work in IE8

Summary: IE8 doesn't have indexOf on arrays!

Reviewers: emily

Reviewed By: emily

Differential...

c774b69de8ab4229a621ddbcc84c1156f8578d89 authored over 11 years ago by Ben Alpert <[email protected]>
Inherit fraction bar color from surrounding text

Test Plan: Fractions look okay in Chrome, Firefox, IE.

Reviewers: emily

Reviewed By: emily

Di...

ed9d62d98c9713b90b83844ffc2185d071c0ce5b authored over 11 years ago by Ben Alpert <[email protected]>
Grosser color support for prettier results

Test Plan: `\orange{x}\blue{-4}`, `\orange{x-}\blue{-4}` look the same after desaturation as `x-...

e29fe0c6831dfca47e4450a384a822a4c7e96c0e authored over 11 years ago by Ben Alpert <[email protected]>
Add TeX style support

Test Plan:
`\blue\frac12 + \frac{2(y-z)}{2+\frac1{7+\frac31}} \div \orange{\arctan x^{2+\frac43}...

e472b0ba9d5785fb4ef6f475f1950127fa350577 authored over 11 years ago by Ben Alpert <[email protected]>
Non-capturing regex, don't catch some exceptions

Auditors: alpert

ed82784cba9421769177c5053000d778e6ed7755 authored over 11 years ago by Emily Eisenberg <[email protected]>
Remove dependency on underscore

Summary:
Remove all uses of underscore. For the things we actually need, make a
"util" file and ...

a831e94a5114bfa231f6242dd862642a8959dda5 authored over 11 years ago by Emily Eisenberg <[email protected]>
Remove Parser options usage

Summary: Now, have katex catch and print exceptions instead of the
parser

Auditors: alpert

0da85483c4c6f2cf775d0bdfaeed94a4e07a4bf3 authored over 11 years ago by Emily Eisenberg <[email protected]>
Add \ in front of functions in the parser

Auditors: alpert

20658a95b699b29203e5411201db4273b5b26926 authored over 11 years ago by Emily Eisenberg <[email protected]>
Allow some functions to have letters after them

Summary: Allow there to be letters immediately after \ , \;, \,, \:.

Test Plan: Run the tests

...

38e2d600fd20c556a332f69e6b4c5c6f88d57173 authored over 11 years ago by Emily Eisenberg <[email protected]>
Fix typo, so we actually test x_x_x

Auditors: alpert

5871d1756f72e779f3eb938b0168e7e57f5b4dae authored over 11 years ago by Emily Eisenberg <[email protected]>
Rewrite the parser

Summary:
Make our own parser that doesn't use jison, so that we can handle
funny TeX syntax, and...

4122fa2b99d57b9b43a0cec580d5783bcb8589a1 authored over 11 years ago by Emily Eisenberg <[email protected]>
Add some basic testing using jasmine

Summary:
Make some tests that test the parser. So far, there are no DOM tests,
but maybe later.
...

507a552ffd35f910162732b8d6bb0e9ece0b5e75 authored over 11 years ago by Emily Eisenberg <[email protected]>
Rename everything to KaTeX

Summary: Rename all instances of mjlite -> katex

Test Plan: Run the local server, make sure thi...

adb8b5d67126f69e12823af1343bdeebeb72e7de authored over 11 years ago by Emily Eisenberg <[email protected]>
Un-combine ords

Auditors: alpert

c9c305d3040ca88b18748856a50b5bfeb58b4b60 authored over 11 years ago by Emily Eisenberg <[email protected]>
Split out backtick because it's special

Auditors: spicyj

a9d79e58c4cbe7c3d1c41ea80e9a13dc56f5ec3d authored over 11 years ago by Emily Eisenberg <[email protected]>
Add some more symbols to appropriate categories

Auditors: spicyj

d747063d42d19b06338a42f5751e2e087f0efd1b authored over 11 years ago by Emily Eisenberg <[email protected]>
Attempt to merge ords together

Summary:
Try not to waste spans by putting a bunch of numbers or letters
together into the same ...

90dfae69247f4357009a9317dda726636f44e96b authored over 11 years ago by Emily Eisenberg <[email protected]>
Add ops

Summary: Add named functions like \sin, \cos, etc.

Reviewers: spicyj

Reviewed By: spicyj

Diff...

42cc8b1a124d6d8227d6dcb1771212465c8baad6 authored over 11 years ago by Emily Eisenberg <[email protected]>
Remove accidental second arguments

Auditors: spicyj

4a3ed8dce00d53f9285c6ceee163ebc453f36a4a authored over 11 years ago by Emily Eisenberg <[email protected]>
Make {} turn things into ords

Auditors: spicyj

a95b93789abb0b7e7121a3f33f7b73af821865d3 authored over 11 years ago by Emily Eisenberg <[email protected]>
Correctly style fracs as inners

Summary:
Turn fracs into inners like they should be, instead of using the
previous dumb hack.

T...

29fde5d36451a7f863d096fa9a0185454c4fa818 authored over 11 years ago by Emily Eisenberg <[email protected]>