Commit Graph

1012 Commits

Author SHA1 Message Date
Davide P. Cervone
dac51a9f69 Fix problem with empty scripts in SVG output. Issue #949. 2015-01-14 11:12:22 -05:00
Davide P. Cervone
0182094a37 Merge branch 'issue1002' into develop. Issue #1002. 2015-01-12 09:37:56 -05:00
Davide P. Cervone
24bfd6baf2 Merge branch 'issue997' into develop. Issue #997. 2015-01-12 09:37:34 -05:00
Davide P. Cervone
a2c3b7cdc2 Use currentColor rather than black for SVG output. Resolves issue #1002. 2015-01-11 09:51:17 -05:00
Davide P. Cervone
856d839ce9 Don't set tabindex, as it causes unwanted focus outlines. Revisit this later when we do accessibility update. Resolves issue #997. 2015-01-11 09:25:41 -05:00
Davide P. Cervone
2431a90a9f Rename variable used for displayIndent so it doesn't conflict with previous usage. Also, handle '0em' and similar values as '0'. Resolves issue #1000. 2015-01-11 09:20:30 -05:00
Davide P. Cervone
cce02ddfde Don't produce doube exponent/subscript errors for UnderOver constructs like \underline and \overbrace. Resolves issue reported on StackExchange. 2015-01-06 17:47:48 -05:00
Davide P. Cervone
9fd243d9bd Make NativeMML attributes work the same as toMathML ones (makes sure href/style/etc are passed on properly). 2015-01-05 10:57:07 -05:00
Davide P. Cervone
dfb8b48e9a Update AsciiMath jax to current version of AsciiMathML.js. Resolves issue#857. 2014-12-31 17:01:42 -05:00
Davide P. Cervone
9d153e3a11 Make sure that tagged equations get mtables with the correct displaystyle (now that displaystyle is no longer inherited, see issue #839.) 2014-12-31 10:10:50 -05:00
Davide P. Cervone
88a96372c0 Update version numbers for 2.5.0-beta 2014-12-30 18:27:01 -05:00
Davide P. Cervone
8a1db4b859 Make HTML-CSS measure the final math element so that the right amount of place is left for it (particularly a problem in Safari). 2014-12-30 18:21:05 -05:00
Davide P. Cervone
3f5730a59f Merge branch 'CHTML-preview' into develop 2014-12-30 17:55:48 -05:00
Davide P. Cervone
0c2107dc75 Force actiontype to be output even when equal to the default 2014-12-28 19:03:24 -05:00
Davide P. Cervone
519ff32aae Handle mstyle defaults properly for attribute input/output. 2014-12-28 18:03:16 -05:00
Davide P. Cervone
2ea8bf10d5 Firefox 33 implemented column and row-spacing, so don't do the hack to get around it. 2014-12-28 16:42:10 -05:00
Davide P. Cervone
0da7c458ea Don't include attributes that are their defaults in NativeMML output 2014-12-28 15:54:33 -05:00
Davide P. Cervone
edce81f691 Prevent use of id's in previews from confusing HTMLspanElement() calls. 2014-12-28 12:02:34 -05:00
Davide P. Cervone
81b87c1ea3 Fix wrong error message for double exponents 2014-12-28 07:17:47 -05:00
Davide P. Cervone
de9c66f927 Escape braces in mathPalette (avoids error with \brace). 2014-12-28 06:30:18 -05:00
Davide P. Cervone
91875b3558 Don't show attributes that don't have default values (e.g., open/close for mrow). 2014-12-28 06:29:38 -05:00
Davide P. Cervone
bdd370b037 Merge branch 'issue949' into develop. Issue #949. 2014-12-27 12:51:09 -05:00
Davide P. Cervone
8fd8bf258b Handle linebreaking in a base with empty superscript or subscript. Resolves issue #949. 2014-12-27 11:59:15 -05:00
Davide P. Cervone
0529b5d78c Take base.x into account for positioning of super ans subscripts. Resolves issue #966. 2014-12-27 08:56:58 -05:00
Davide P. Cervone
301ee4f300 Merge branch 'issue950' into develop. Issue #950. 2014-12-07 07:10:09 -05:00
Davide P. Cervone
f6bf4c13e3 Merge branch 'issue931' into develop. Issue #931. 2014-12-07 07:09:49 -05:00
Davide P. Cervone
e33e00bfaf Merge branch 'issue971' into develop. Issue #971. 2014-12-07 07:09:27 -05:00
Davide P. Cervone
3cd6cf59e3 Merge branch 'issue937' into develop. Issue #937. 2014-12-07 07:08:45 -05:00
Davide P. Cervone
b937bee874 Merge branch 'issue969' into develop. Issue #969. 2014-12-07 07:08:11 -05:00
Davide P. Cervone
3f3f27005a IE9+ has a name limits of 31 for font-family, so the long names cause problems; fortunately, FontFaceBug is only needed for IE8 and below, so make that be version dependent. Resolves issue #950. 2014-12-06 20:24:41 -05:00
Davide P. Cervone
ae0f3fe3b3 Add more version information for Safari, and use Em rounding for Safari 8.0 (also 6.2, 7.1, which have the same WebKit version). Resolves issue #931. 2014-12-06 18:00:31 -05:00
Davide P. Cervone
a714a91dc6 Add a flag to Get() to look up only the inherited value, not the one from the element itself, so that toMathML() doesn't have to delete and replace the attibutes. Resolves issue #971. 2014-12-06 17:36:23 -05:00
Davide P. Cervone
252fda6762 Merge branch 'common-html' into CHTML-preview 2014-12-06 10:24:03 -05:00
Davide P. Cervone
da37204eb2 Handle moveable limits on munderover. Resolves issue #970. 2014-12-06 10:22:01 -05:00
Davide P. Cervone
2cbe3ebb92 Merge branch 'common-html' into CHTML-preview 2014-12-06 09:57:16 -05:00
Davide P. Cervone
1fe80b441a Handle <mlabeledtr> by dropping the label for now. Resolves issue #968. 2014-12-06 09:54:45 -05:00
Davide P. Cervone
bf3d52af54 Fix incorrect width for minus sign in delimiter data, and don't modify depth of the minus sign (was being done for arrow extenders, but do that for the extenders only). Resolves issue #937. 2014-12-06 08:18:42 -05:00
Davide P. Cervone
9a3f435a99 Make fractions be TeX class ORD rather than INNER (as appears to be the case with TeX, despite the claims in the TeXbook to the contrary). Also, fix a problem with getting the correct form attribute for mo elements. Resolves issue #969. 2014-12-05 20:54:15 -05:00
Davide P. Cervone
f6293beea6 Add the SVG transform for flipping characters AFTER we have added colors and borders (since they can alter the svg.element, moving it lower in the chain and even removing it). Resolves issue #930. 2014-12-04 16:56:35 -05:00
Davide P. Cervone
9cefee80f9 Fixes for IE7 and 8. 2014-11-17 19:42:45 -05:00
Davide P. Cervone
8c616789ef Fix some local/global variable issues detected by doing the compression. 2014-11-08 09:30:24 -05:00
Davide P. Cervone
2babc14e1b Merge branch 'issue860' into develop. Issue #860. 2014-11-02 09:27:27 -05:00
Davide P. Cervone
ff8637377f Merge branch 'issue804' into develop. Issue #804. 2014-11-02 09:26:36 -05:00
Davide P. Cervone
771fc3981e Merge branch 'issue807' into develop. Issue #807. 2014-11-02 09:25:45 -05:00
Davide P. Cervone
c1a457ff9e Merge branch 'issue912' into develop. Issue #912. 2014-10-12 16:59:12 -04:00
Davide P. Cervone
01bec60e5a Merge branch 'issue839' into develop. Issue #839. 2014-10-12 16:58:10 -04:00
Davide P. Cervone
69a57f4da4 Make displaystyle and scriptlevel be forced only if they are in the list of default properties. Resolves issue #912 better than before. 2014-10-12 16:57:18 -04:00
Davide P. Cervone
4238dc5734 Don't do the scriptlevel adjustment, as per discussion on w3c math list. 2014-10-12 10:43:49 -04:00
Davide P. Cervone
b137d2e65d Add support for mfenced, and refactor mrow code to allow reuse of some pieces. 2014-09-20 14:07:27 -04:00
Davide P. Cervone
ff970b8af0 Add fake content so that the size of the box will be normalized for text. This may have to be fixed in the future if the space causes problems (perhaps a zero-width space would be better). 2014-09-19 10:46:15 -04:00