Commit Graph

306 Commits

Author SHA1 Message Date
Davide P. Cervone
24b01d336b Looks like the global variable i was removed, so no need for this line any more. 2016-08-31 11:40:59 -04:00
Davide P. Cervone
e60c792e10 Update versions and copyrights 2016-08-31 11:24:33 -04:00
Davide P. Cervone
351616984b Merge pull request #1606 from dpvc/issue1605
Update AsciiMath to include changes since v2.6.  #1605
2016-08-29 10:19:59 -04:00
Davide P. Cervone
10dc11e689 Update AsciiMath to include changes since v2.6. Resolves issue #1605 2016-08-26 17:09:46 -04:00
Davide P. Cervone
d9ebbae56b Add MathJax.Object.isArray, and change most 'instanceof Array' to use it (unless the arrays are only going to generated by MathJax internals). Resolves issue #1584. 2016-08-24 12:05:53 -04:00
Davide P. Cervone
d536272781 Merge pull request #1602 from dpvc/issue1589
Handle \ref properly when there is a <base> tag.  #1589
2016-08-24 09:53:48 -04:00
Davide P. Cervone
1e9f423e29 Merge pull request #1587 from dpvc/issue1586
Make sure trimSpaces() doesn't remove tailing space in '\ '.  #1586
2016-08-24 09:41:24 -04:00
Davide P. Cervone
33ee93dbb3 Handle references properly when there is a <base> tag. Resolves issue #1589. 2016-08-24 08:06:37 -04:00
Davide P. Cervone
0a4a4d8fa5 Convert booleans in math and mstyle elements (since we can't tell what the defaults should be, punt). 2016-08-22 07:15:02 -04:00
Davide P. Cervone
172e8a8727 Make sure trimSpaces() doesn't remove tailing space in '\ '. Resolves issue #1586 (and handles #1563 better). 2016-08-17 13:44:42 -04:00
Davide P. Cervone
4120eb146c Merge pull request #1529 from dpvc/font-fixes
Font fixes
2016-07-08 08:54:28 -04:00
Davide P. Cervone
189239a9eb Fix conflicts with develop. 2016-07-06 14:20:49 -04:00
Davide P. Cervone
cb7314d9e8 Merge pull request #1523 from dpvc/issue1468
Don't copy environment into array environments.  #1468
2016-07-06 14:03:55 -04:00
Davide P. Cervone
d29f299c35 Merge pull request #1511 from dpvc/issue1356
Don't convert attribute to boolean unless the default is a boolean.  #1356
2016-07-06 13:59:57 -04:00
Davide P. Cervone
c0331703f4 Merge pull request #1509 from dpvc/issue1084
Make delimiters symmetric for \left and \right.  #1084
2016-07-06 13:50:45 -04:00
Davide P. Cervone
a2a62be374 Use U+007C and U+2016 for delimiters rather than U+2223 and U+2225. Resolves issue #1175. 2016-06-16 10:01:13 -04:00
Davide P. Cervone
dbc70acd58 Make copyEnv a shared constant. 2016-06-14 14:59:49 -04:00
Davide P. Cervone
fcda005c56 Don't copy environment into array environments. Resolves issue #1468. 2016-06-14 14:22:51 -04:00
Davide P. Cervone
9779801c51 Merge pull request #1508 from dpvc/issue1023
Fix problems with \middle.  #1023
2016-06-08 07:13:05 -04:00
Davide P. Cervone
f067eccd30 Don't unwrap mrow when created fenced elements (in case attributes have been attached to the mrow). Resolves issue #1415. 2016-06-07 16:01:23 -04:00
Davide P. Cervone
a6b7700c18 Don't convert attribute to boolean unless the default is a boolean. Resolves issue #1356. 2016-06-07 11:25:26 -04:00
Davide P. Cervone
cfeaa8668f Mark delimters are symmetric when used with \left and \right. Resolves issue #1084. 2016-06-07 10:23:01 -04:00
Davide P. Cervone
00864b0635 surround \middle with OPEN and CLOSE TeXAtoms, so that the spacing will be consistent with TeX's version (e.g., \mathrel{}\middle|\mathrel{} will produce the right spacing). As a side effect, this resolves the problem with the quotes, sot this resolves issue #1023. 2016-06-07 10:14:51 -04:00
Davide P. Cervone
ab7d436bb1 Mark accented operators as not having movable limits. Resolves issue #1469. 2016-05-17 19:07:17 -04:00
Davide P. Cervone
a63aa92102 Add a dummy resetEquationNumbers() function that is replaced by AMS. Resolves issue #1419. 2016-05-04 08:45:28 -04:00
Davide P. Cervone
11b5897959 Update version numbers of changed files 2016-02-07 15:34:12 -05:00
Davide P. Cervone
0740dd4735 Only set movablelimits for nodes of class OP 2016-01-30 08:44:31 -05:00
Davide P. Cervone
b11a9b1b65 Handle movablelimits on TeXAtom of class OP in toMathML, NativeMML, and MathML input. 2016-01-29 14:12:42 -05:00
Davide P. Cervone
9ec8e34ee5 Remove lspace and rspace from being used by renderers other than NativeMML. 2016-01-28 16:52:24 -05:00
Davide P. Cervone
54ac450144 Fix spacing for operators with movablelimits that are converted to <mo> 2016-01-28 16:38:59 -05:00
Davide P. Cervone
e8186ee317 Fix #1259 for \mathop and \operatorname as well. 2016-01-27 14:52:24 -05:00
Davide P. Cervone
1f570173b5 Merge branch 'issue1197' into develop. Issue #1197. 2016-01-25 13:55:09 -05:00
Davide P. Cervone
618f8d0466 Merge branch 'issue1259' into develop. Issue #1259. 2016-01-25 13:54:45 -05:00
Davide P. Cervone
dc450d6bc7 Handle movablelimits on TeXAtom elements. Resolves issue #1197. 2016-01-24 18:26:50 -05:00
Davide P. Cervone
404c73c30a Don't allow movablelimits in the base of \underset and \overset. Resolves issue #1259. 2016-01-24 15:32:12 -05:00
Davide P. Cervone
6eddcc8f5d Don't pass font to math inside text boxes. Resolves issue #1321. 2016-01-24 15:25:36 -05:00
Davide P. Cervone
ba0de5c8a0 Update version numbers to 2.6.0 2015-12-29 09:36:52 -05:00
Davide P. Cervone
38007fdc5b Update AsciiMath to include changes since MathJax 2.5 2015-12-28 15:59:15 -05:00
Davide P. Cervone
a1460f8993 Update version numbers for 2.6.0-beta.2 2015-12-14 10:14:34 -05:00
Davide P. Cervone
a729427ca6 Remove debugging log messages. 2015-12-06 11:02:27 -05:00
Davide P. Cervone
58d698f355 More improvements to function-apply with operators. Issue #1312 2015-12-06 08:16:25 -05:00
Davide P. Cervone
e47e221afa Merge branch 'issue1312' into develop. Issue #1312. 2015-12-04 14:37:32 -05:00
Davide P. Cervone
3ff16901e6 Undo change in \underline (remove accent=false) since this produces poor results. Issue #1255. 2015-12-04 10:31:51 -05:00
Davide P. Cervone
458cd7a760 Improve heuristics for adding function-apply following operators. Issue #1312. 2015-12-03 07:43:00 -05:00
Davide P. Cervone
3cdcd73b01 Merge branch 'issue1295' into develop. Issue #1295. 2015-12-02 11:19:58 -05:00
Davide P. Cervone
ea98a6e562 Make height/depth of horizontal stretchy characters be maximum of the height/depth of the component parts, rather than TeX's approach of using the extender's height and depth. Also, make over-brace and other over macros not set accent=false so they match TeX and the under versions better. Resolves #1255. 2015-11-02 09:22:36 -05:00
Davide P. Cervone
7c39f064d0 Handle scriptlevel set on arrays via an mstyle node (affects smallmatrix). Resolves issue #1295. 2015-11-01 19:22:11 -05:00
Davide P. Cervone
2557ccedae Update version number to 2.6-beta for beta release 2015-09-19 10:08:08 -04:00
Davide P. Cervone
3fdbe03b2a Update AsciiMath to current version. Issue #1247. 2015-09-03 09:39:55 -04:00
Davide P. Cervone
3f4c47b4d7 Make maligngroup and malignmark be self-closing in MathML input, and make them produce no output in SVG mode. Resolves issue #1233. 2015-08-09 15:07:42 -04:00