Commit Graph

19 Commits

Author SHA1 Message Date
Emily Eisenberg
0d901b4da4 Make the lexer errors actually work
Auditors: spicyj
2013-07-08 15:37:26 -07:00
Emily Eisenberg
f97aad13b7 Make large fractions actually work
Summary:
Also, rename it to '\dfrac', because it's more like a display fraction

Auditors: spicyj
2013-07-07 22:43:16 -07:00
Ben Alpert
2643f72a9d Tweaks to lexer, incl. matching func all at once
Reviewers: xymostech

Reviewed By: xymostech

Differential Revision: http://phabricator.benalpert.com/D42
2013-07-07 21:27:08 -07:00
Emily Eisenberg
eab3322db3 Use our own local (awesome) fonts
Summary: Build or own fonts from MathJax's repo, and use those instead.

Test Plan: Use the new fonts, enjoy!

Reviewers: spicyj

Reviewed By: spicyj

Differential Revision: http://phabricator.benalpert.com/D41
2013-07-07 21:20:22 -07:00
Emily Eisenberg
8f99433c80 Use our own lexer, not jison's
Summary:
Build our own lexer and inject it into jison's parser, because jison's
lexer notation is confusing and annoying, and it doesn't let us do some fun
stuff.

Test Plan: Run stuff, make sure it still works.

Reviewers: spicyj

Reviewed By: spicyj

Differential Revision: http://phabricator.benalpert.com/D40
2013-07-07 21:13:43 -07:00
Ben Alpert
33625f7b08 Catch server errors and return 500
Reviewers: xymostech

Reviewed By: xymostech

Differential Revision: http://phabricator.benalpert.com/D39
2013-07-07 14:13:25 -07:00
Emily Eisenberg
3caccbf933 Get rid of some forgotten elems
Auditors: alpert
2013-07-07 12:15:32 -07:00
Emily Eisenberg
00d775f420 Don't make undefined classNames
Auditors: spicyj
2013-07-06 00:52:25 -07:00
Ben Alpert
4bc599966f Create node server to replace 'make watch'
Reviewers: xymostech

Reviewed By: xymostech

Differential Revision: http://phabricator.benalpert.com/D38
2013-07-05 22:55:10 -07:00
Ben Alpert
afb29f5df3 Use browserify and "modules"
Reviewers: xymostech

Reviewed By: xymostech

Differential Revision: http://phabricator.benalpert.com/D37
2013-07-05 21:44:44 -07:00
Ben Alpert
97dc1bf1da Add \pm, \div
Reviewers: xymostech

Reviewed By: xymostech

Differential Revision: http://phabricator.benalpert.com/D36
2013-07-05 21:44:17 -07:00
Ben Alpert
29949b500a Make clearNode screaming-fast-er
Reviewers: xymostech

Reviewed By: xymostech

Differential Revision: http://phabricator.benalpert.com/D35
2013-07-05 21:24:39 -07:00
Ben Alpert
8f26740010 Add bin + open, close + bin spacing styles
Summary: Closes T2.

Reviewers: xymostech

Reviewed By: xymostech

Maniphest Tasks: T2

Differential Revision: http://phabricator.benalpert.com/D34
2013-07-05 21:24:26 -07:00
Ben Alpert
d436e09d07 Make |, \lvert, \rvert work
Test Plan: .

Reviewers: xymostech

Reviewed By: xymostech

Differential Revision: http://phabricator.benalpert.com/D33
2013-07-05 21:20:04 -07:00
Emily Eisenberg
96733c279c Use mathit less, so things are less italic
Auditors: alpert
2013-07-05 21:14:04 -07:00
Emily Eisenberg
37355b82d1 Make the makefile more helpful
Auditors: spicyj
2013-07-05 20:55:25 -07:00
Emily Eisenberg
d2fa50c836 Refactor most of the javascript
Summary: Move MJLite into its own file, make a module. Now includes underscore.

Test Plan: Make sure it still parses stuff.

Reviewers: spicyj

Reviewed By: spicyj

CC: divad12

Differential Revision: http://phabricator.benalpert.com/D32
2013-07-05 20:34:24 -07:00
Emily Eisenberg
506c0b389b Add an arcconfig 2013-07-05 16:43:44 -07:00
Emily Eisenberg
708a36502b Initial commit 2013-07-05 02:05:33 -07:00