Commit Graph

1012 Commits

Author SHA1 Message Date
Davide P. Cervone
24b57ec75e Fix problem with not having all borders specified. 2014-03-18 12:17:56 -04:00
Davide P. Cervone
1956063ecc Merge remote-tracking branch 'dpvc/issue751' into develop. Issue #751. 2014-03-18 11:50:34 -04:00
Davide P. Cervone
8b4176fc1c Move styling from mtext to merror, and allow the styles to be specified in the configuration. Resolves #387. 2014-03-16 08:55:29 -04:00
Davide P. Cervone
63bbb8f28c Add cache-breaking values (when needed) for all javascript, font, and image files loaded from the CDN. Cache-breaking can be controlled on a file-by-file or global basis. Resolves issue #751. 2014-03-14 10:48:13 -04:00
Davide P. Cervone
cfb40e9190 Add one more font name to check for new web fonts locally. 2014-03-05 09:51:41 -05:00
Davide P. Cervone
81d9cce510 Work around stupid Fedora stix font package that incorrectly aliases all STIXGeneral fonts to STIX-Word fonts. Resolves issue #501. 2014-03-03 18:34:50 -05:00
Davide P. Cervone
4d4db67ad0 Make testCollection properly mark STIX fonts as not having the style characters, and fix testing for STIX or MathJax at beginning of font names. 2014-03-03 18:33:12 -05:00
Davide P. Cervone
ff8e052806 Simplify font selection code for SVG output. 2014-02-23 14:52:44 -05:00
Davide P. Cervone
36194fe36a Add a new fonts parameter for HTML-CSS to simplify font configuration. 2014-02-23 14:52:43 -05:00
Davide P. Cervone
4ea4816553 Simplify handling of new web fonts when selected by menu. 2014-02-23 14:52:43 -05:00
Davide P. Cervone
0d2dc7fe27 Hack to allow new web fonts to be used locally. The naming of the new fonts should be changed to use the same name for both PC and Mac formats, but that is for a future release. Still need to test Linux. 2014-02-23 14:52:43 -05:00
Davide P. Cervone
c9f50f7797 Add extra DIV to prevent Font_Test DIV from adding space to the page, even temporarily. 2014-02-22 14:14:24 -05:00
Davide P. Cervone
d553f18625 Merge branch 'issue576' into develop. Issue #576. 2014-02-22 08:33:41 -05:00
Davide P. Cervone
2de09d8121 Add a check if defaultEm is zero, and retry after a delay if it is. WebKit seems to have this happen sometimes when web fonts are used for the page (though hard to reproduce). Resolves issue #576. 2014-02-21 16:21:09 -05:00
Davide P. Cervone
3614cd1671 Merge branch 'develop' into issue703 2014-02-21 11:06:47 -05:00
Davide P. Cervone
e67c01ca0b Merge branch 'issue376' into develop. Issue #376. 2014-02-21 10:53:07 -05:00
Davide P. Cervone
e66df30f25 Merge branch 'issue743' into develop. Issue #743. 2014-02-21 10:47:16 -05:00
Davide P. Cervone
d33e7c1144 Merge branch 'issue747' into develop. Issue #747. 2014-02-21 10:46:38 -05:00
Davide P. Cervone
f38dc200fc Make annotation NOT be a token element, by adding a new isChars flag to force its contents to be a chars node rather than an mtext node (which is why it was labelled isToken originally). Resolves issue #376. 2014-02-20 15:38:14 -05:00
Davide P. Cervone
4e143688cc Add useMathMLspacing option to AsciiMath input jax. Resolves issue #743 2014-02-20 12:37:03 -05:00
Davide P. Cervone
0b3454ce25 Merge branch 'issue744' into develop. Issue #744. 2014-02-20 10:19:15 -05:00
Davide P. Cervone
6e46adc08f Merge branch 'issue547' into develop. Issue #547. 2014-02-20 10:18:45 -05:00
Davide P. Cervone
2a931136f4 Merge branch 'issue746' into develop. Issue #746. 2014-02-20 10:18:07 -05:00
Davide P. Cervone
23781aa8d6 Merge branch 'issue701' into develop. Issue #701. 2014-02-20 10:17:23 -05:00
Davide P. Cervone
4aa6fa613d Remove incorrect nodeValues for non-text nodes. Resolves issue #747. 2014-02-20 10:12:57 -05:00
Davide P. Cervone
2c303a8850 Change fuzz factor for Chrome square roots. Resolves issue #744. 2014-02-19 19:25:23 -05:00
Davide P. Cervone
7eaedb4639 Handle adding of nulldelimiterspace so taht it is properly included in the width of the fraction. Resolves issue #547. 2014-02-19 19:20:24 -05:00
Davide P. Cervone
f6bc6fa129 Make \\left...\\right be of TeX class INNER. Resolves issue #746. 2014-02-19 19:17:28 -05:00
Davide P. Cervone
1022eecd99 Merge branch 'issue719' into develop. Issue #719. 2014-02-17 11:26:20 -05:00
Davide P. Cervone
bc19088423 Prevent mo's from being stretched more often than needed (check that they aren't already the right size when matching mrow size). Also, allow TeXAtom to stretch properly when part of an embellished operator. Issue #701. 2014-02-17 11:17:29 -05:00
Davide P. Cervone
c855a35eff Don't clip delimiters that stretch farther than they are they supposed to. (This is handled by letting them extend beyond their bounding box, but that means they can overlap the rows above or below. Idealy, this should alter the heights of the rows, but that could require restretching rows when equalrows is set, and could lead to looping to try to get the table to stablize. Resolves issue #701 for now. 2014-02-17 11:15:26 -05:00
Davide P. Cervone
9733c1b614 Make empty rows be the standard height and depth; indeed make ALL rows
have at least this height and depth.  Resolves both problems in issue #719.
2014-02-16 05:58:35 -05:00
Davide P. Cervone
959218f7a9 Adjust positions of extenders for double-lined vertical arrows. (The horizontal position of the extender is off in teh fonts.) Resolves issue #476. 2014-02-15 16:44:49 -05:00
Davide P. Cervone
7313af12c2 Merge branch 'issue353' into develop. Issue #353. 2014-02-15 12:37:52 -05:00
Davide P. Cervone
46ce16d9ba Merge branch 'issue619' into develop. Issue #619. 2014-02-15 12:36:39 -05:00
Davide P. Cervone
92c1a891dd Merge branch 'issue391' into develop. Issue #391. 2014-02-15 12:35:07 -05:00
Davide P. Cervone
8c0f844333 Allow switching of phi and varphi (new fixphi configuration parameter controls this). Resolves issue #353. 2014-02-14 14:56:15 -05:00
Davide P. Cervone
b85d23d9a5 Fix incorrect index in mtable (issue #468 wasn't fixed for SVG), and make bounding box information correct for stretched character. Resolves issue #619. 2014-02-14 11:04:15 -05:00
Davide P. Cervone
86792eaf44 Merge branch 'issue707' into develop. Issue #707. 2014-02-14 10:36:18 -05:00
Davide P. Cervone
c52f0dff76 Don't use info.embellished if the SVGdata isn't available (avoids Math Processing Error). Issue #707. 2014-02-14 10:35:56 -05:00
Davide P. Cervone
3d68051118 Only set width to full for top-level math elements, and make svg.Align() handle expanding the box to accommodate larger lines. Resolves issue #391. 2014-02-14 10:02:06 -05:00
Davide P. Cervone
4cf38304ac Remove unneeded comment 2014-02-14 09:04:51 -05:00
Davide P. Cervone
8cd2eec33d Merge branch 'issue707' into develop. Issue #707. 2014-02-14 08:33:22 -05:00
Davide P. Cervone
6b6623bc5c Merge branch 'issue473' into develop. Issue #473. 2014-02-14 08:32:48 -05:00
Davide P. Cervone
5328112581 Merge branch 'issue632' into develop. Issue #632. 2014-02-14 08:32:20 -05:00
Davide P. Cervone
f01d347bb1 Merge branch 'issue684' into develop. Issue #684. 2014-02-14 08:30:28 -05:00
Davide P. Cervone
cce9256bf9 Change mo to mspace (and remove extra mo) to avoid being an embellished operator more naturally. Issue #707. 2014-02-14 07:58:01 -05:00
Davide P. Cervone
d28ab8b766 Forced explicit linebreak between text elements to not look like an embellished operator. Resolves issue #707. Note however, that Firefox treats this differently (it seems not to treat mtext as space-like in this case). 2014-02-13 20:08:49 -05:00
Davide P. Cervone
a3fd08bb7a Add text-indent:0 to SVG and HTML-CSS output. Resolves issue #473. 2014-02-13 14:29:38 -05:00
Davide P. Cervone
5e3fe17461 Allow \Big and its brethren to have the delimiter in braces. Resolves issue #632. 2014-02-13 12:58:51 -05:00
Davide P. Cervone
002917e559 Make remapping from REMAP and variant.remap work the same, and when string value is used, go back and check for variant changes again. Resolves isse #684. 2014-02-13 06:55:59 -05:00
Davide P. Cervone
ebdbe6f04d Chrome 32 doesn't load bold-italics properly, so use FontFaceBug to get around that. Issue #735. 2014-02-12 11:02:03 -05:00
Davide P. Cervone
126bd1c373 Merge branch 'issue478' into develop. Issue #478. 2014-02-12 10:49:18 -05:00
Davide P. Cervone
6e597f8dca Merge branch 'issue377' into develop. Issue #377. 2014-02-12 10:48:45 -05:00
Davide P. Cervone
641d6698e8 Make mfenced match mrow+mo form, and make U+2223 and U+2225 stretchy in pre- and postfix positions (to match Firefox). Resolves issue #478. 2014-02-11 10:36:02 -05:00
Davide P. Cervone
7bf7ffef3d Merge branch 'hotfix-2.3' into develop. (This not merged into master,
but I don't want to run into merge conflicts later on with develop.)
2014-02-10 09:48:43 -05:00
Davide P. Cervone
8fb4157eb1 Make U+00A0 act as space in math mode. Resolves issue #377. 2014-02-10 09:34:59 -05:00
Davide P. Cervone
ed624f333d Merge branch 'issue459' into develop. Issue #459. 2014-02-10 08:40:06 -05:00
Davide P. Cervone
0c8fdca0e6 Remove unneeded space in class name. 2014-02-10 08:37:53 -05:00
Davide P. Cervone
e1b0093946 Merge branch 'issue469' into develop. Issue #469. 2014-02-10 08:34:25 -05:00
Davide P. Cervone
fc5544fbba Merge branch 'issue561' into develop. Issue #561. 2014-02-10 08:33:48 -05:00
Davide P. Cervone
bcceb08590 Add \texttt and \textsf macros, and make them work with mtextFontInherit. Resolves issue #459. 2014-02-09 13:45:58 -05:00
Davide P. Cervone
eb0cae8612 Fixed default value for mo@symmetric. Resolves issue #469. 2014-02-08 14:26:25 -05:00
Davide P. Cervone
2c2e2135b5 Add phasorangle notation to menclosed. Resolves issue#561. 2014-02-08 13:58:31 -05:00
Davide P. Cervone
70bbd42c9d Handle nested <math> elements without error. Resolves issue #614. 2014-02-08 13:02:56 -05:00
Davide P. Cervone
2afb80176c Merge branch 'issue681' into develop. Issue #681. 2014-02-08 11:28:03 -05:00
Davide P. Cervone
ba238a6393 Fixed accidental switching of true and false when testing for local font. Issue #681. 2014-02-08 11:27:36 -05:00
Davide P. Cervone
6e0a83a437 Merge branch 'issue715' into develop. Issue #715. 2014-02-07 10:09:17 -05:00
Davide P. Cervone
25d6ce9f65 Merge branch 'issue730' into develop. Issue #730. 2014-02-07 10:06:13 -05:00
Davide P. Cervone
3fc0a5762b Merge branch 'issue517' into develop. Issue #517. 2014-02-07 10:03:10 -05:00
Davide P. Cervone
cdcc04d521 Merge branch 'issue580' into develop. Issue #580. 2014-02-07 10:01:53 -05:00
Davide P. Cervone
5cb8bbb968 Merge branch 'issue578' into develop. Issue #578. 2014-02-07 10:00:19 -05:00
Davide P. Cervone
f1f109b586 Remove redundent check (if span is null, then div will be null, so only need to check for div). Issue #730. 2014-02-07 09:39:56 -05:00
Davide P. Cervone
8dc99cef2d Add min and max width and height resets to CSS where appropriate. Resolves issue #517. 2014-02-06 15:20:19 -05:00
Davide P. Cervone
57d85a4f69 Fixed typo in 'important'. 2014-02-06 15:15:46 -05:00
Davide P. Cervone
72f9d5f408 Added '!important' to NativeMML CSS as well. (Issue #580.) 2014-02-06 15:07:35 -05:00
Davide P. Cervone
8f0ac563d6 Remove quoting of lquote and rquote when they appear within the content of the <ms> element. Not sure why this was ever done. Resolves issue #578. 2014-02-06 14:42:32 -05:00
Davide P. Cervone
4f10613b2a Add '!important' to CSS for display property. Resolves issue #580. 2014-02-06 14:31:17 -05:00
Davide P. Cervone
6c50f1dae8 Clear font test div so that its width doesn't affect the page size. resolves issue #681. 2014-02-06 14:02:41 -05:00
Davide P. Cervone
3b35ca9e16 Add more tests to check that the math is still in the page. Should resolve issue #730 (though we don't have their page and can't really test it). 2014-02-06 13:18:04 -05:00
Davide P. Cervone
169c2ed097 Fix size of accents in STIX and STIX-Web fonts. Resolves issue #715. 2014-02-06 12:33:37 -05:00
Davide P. Cervone
65cc50ac5c Fixed font name table to work on Windows as well as Macs with the new web fonts installed locally 2014-01-13 15:49:16 -05:00
Davide P. Cervone
86ac34e91b Fix new web fonts bold-italic variant (issue #716) and STIX-Web lower-case Greek in sans-serif and sans-serif-italic variants (issue #697). 2014-01-13 11:52:39 -05:00
Davide P. Cervone
b9685dd507 Fix incorrect min-width for mtd elements. Resolves issue #699. 2014-01-13 11:50:49 -05:00
Davide P. Cervone
39527d2a34 Fix font names in font-test data so that local versions of the web fonts can be detected. This still has to be tested on Windows and Linux. Issue #711. 2014-01-08 13:32:26 -05:00
Davide P. Cervone
c54ac49108 Scale axis sizes properly for scripts. Issue #703. 2014-01-08 11:44:23 -05:00
Frédéric Wang
9702afba15 Increase version numbers for 2.3 ; update languages. #534 2013-11-11 14:14:08 +01:00
Frédéric Wang
74c270f3c9 ... and now fix the issue myself. #650 2013-11-08 09:47:43 +01:00
Frédéric Wang
767225cd3e Revert third-party fix for lack of CLA #650 2013-11-08 09:42:57 +01:00
Frédéric Wang
a2ca632cac Merge pull request #662 from fred-wang/issue611
Issue611
2013-11-07 08:53:35 -08:00
Frédéric Wang
2fe803cfb1 Regenerate the font data (no longer in sync with the font files!) #611 2013-11-07 16:18:09 +01:00
Chen-Pang He
937434c77d Center display math in XHTML (#650) 2013-11-05 21:39:23 +08:00
Davide P. Cervone
1f013d76b3 Merge pull request #644 from dpvc/issue523
Resolves issue #523
2013-10-30 10:03:01 -07:00
Frédéric Wang
7364fffae2 Add caligraphic-bold and tex-oldstylebold. #612, #611 2013-10-30 16:16:32 +01:00
Frédéric Wang
b3867893b2 Adding remap to latin modern and gyre fonts. #611 2013-10-30 12:57:07 +01:00
Frédéric Wang
e3a431826c Add some remap for Euler fonts. #611 2013-10-30 11:14:10 +01:00
Davide P. Cervone
08ec41cd86 More checks to make sure nesting level doesn't go below zero. Issue #523. 2013-10-28 18:45:21 -04:00
Davide P. Cervone
cd0b88e524 Don't let nesting count go below zero. Resolves issue #523. 2013-10-28 18:30:59 -04:00
Frédéric Wang
62afeb2ad5 Update fontdata to improve the list of stretchy operators. #611 2013-10-23 17:18:04 +02:00
Frédéric Wang
133df1675c Fix many issues with Asana Font. #611 2013-10-23 12:59:04 +02:00
Frédéric Wang
1ca86fbc6b Remove extra comma. #627 2013-10-22 10:11:58 +02:00
Frédéric Wang
90749a7afe Fix WARNINGs generated by the MathJax packer. #534 2013-10-21 14:30:16 +02:00
Frédéric Wang
b73eafd431 Bump version numbers. #534 2013-10-21 13:58:46 +02:00
Frédéric Wang
28afef1a95 mglyph messages: pass the def to the MML.Error function. #627 2013-10-21 12:38:26 +02:00
Frédéric Wang
5828d63598 Merge branch 'master' into bidi 2013-10-21 11:15:58 +02:00
Frédéric Wang
3fee31b7e4 Address review comments #627 2013-10-21 10:04:39 +02:00
Frédéric Wang
6f3051e989 follow-up 2013-10-19 16:13:06 +02:00
Frédéric Wang
c1e33446f2 Address review comments. #612 2013-10-19 15:44:42 +02:00
Frédéric Wang
a2046c05a3 Restore the direction=ltr on the MathJax containers. #627 2013-10-18 14:36:14 +02:00
Frédéric Wang
d2fed27a29 Move FONTDATA from boldsymbol.js to jax/output for STIX and TeX fonts. #612 2013-10-18 14:13:58 +02:00
Frédéric Wang
fdc34e3d88 SVG output: Consider dir=rtl for <mtext> elements that are rendered with an SVG <text> element. #474, #/610, #627 2013-10-18 11:32:28 +02:00
Frédéric Wang
aa8d543a45 follow-up: add directionality on remaining MathML error messages #627 2013-10-18 10:40:38 +02:00
Frédéric Wang
932b7e8f7c Experimental Bidi branch. #474, #/610, #627 2013-10-18 10:04:47 +02:00
Frédéric Wang
95fd93abb0 Remove extra comma and useless newline in fontdata.js #621 2013-10-17 16:42:16 +02:00
Frédéric Wang
c60fdb4149 Neo-Euler: don't remap to italic/bold-italic Plane 1 characters since they are not available in the font. #602 2013-10-11 11:08:01 +02:00
Frédéric Wang
1ad11f6e89 New branch for issue #489 ; regenerate the data. 2013-10-08 11:43:30 +02:00
Davide P. Cervone
ff06343dd0 Merge pull request #598 from dpvc/issue558-loop
Improve width computation for MathML elements (issue #558)
2013-10-07 12:28:47 -07:00
Davide P. Cervone
8599abbc4c Mark the postTranslate call that does chunk updates as a partial one 2013-10-07 07:30:57 -04:00
Davide P. Cervone
2755cbd037 Make web font loop into an extension (first draft) 2013-10-05 08:21:53 -04:00
Davide P. Cervone
a012354f38 Add support for matching web fonts in HTML-CSS. Change the names of the paramters that control it in NativeMML (so both have the same names). Add a global matchWebFonts option to control whether to do the loop to check for web fonts (off by default). Resolves more of issue #558. 2013-09-29 19:44:15 -04:00
Davide P. Cervone
c777547f97 Add a loop to check for font changes due to web fonts either in the math or the surrounding font. Resolves issue #558. 2013-09-29 16:23:42 -04:00
Davide P. Cervone
c05ab62ecc Add config option for matching font heights in NativeMML and HTML-CSS output (can't do it for SVG, since we aren't using native fonts) 2013-09-29 08:51:49 -04:00
Davide P. Cervone
bbf543a840 Add some comments, and clear the list of DOM elements once we are done with it. 2013-09-23 21:19:04 -04:00
Davide P. Cervone
ed932ec458 Properly handle the width of math and mtd elements by explicitly setting the width from the child mrow (works around FF bug that gets these widths wrong). Resolves issue #558. 2013-09-23 20:56:25 -04:00
Frédéric Wang
43d648b21d MathJax fonts: map capital fraktur I to the correct position. #555 2013-09-17 16:08:11 +02:00
Frédéric Wang
492738cb70 Fix placement issues with largeop and munderover. #489 2013-08-27 10:05:07 +02:00
Frédéric Wang
f42ac43cd4 Fix more localization errors and update the test/localization.html accordingly ; Also force all menu items to display in the test. #529 2013-08-08 10:32:51 +02:00
Frédéric Wang
17508905a7 Fix issues reported by Davide. #357 2013-08-07 14:14:31 +02:00
Frédéric Wang
1cf685a3a2 Merge branch 'develop' of github.com:mathjax/MathJax into issue357 2013-08-05 17:33:55 +02:00
Frédéric Wang
227aebed65 Fix some places where localization strings are wrongly used. #504 2013-08-02 14:26:55 +02:00
Davide P. Cervone
4263db98d3 Merge pull request #527 from fred-wang/issue482
This resolves issue #482.
2013-08-02 04:05:13 -07:00
Davide P. Cervone
1326cbdf44 Merge pull request #528 from fred-wang/issue481
This resolves issue #481
2013-08-02 04:03:43 -07:00
Frédéric Wang
108cda6097 Address second review. 2013-08-02 10:15:13 +02:00
Frédéric Wang
4ec11da1f1 Address review comments. 2013-08-02 09:58:58 +02:00
Davide P. Cervone
02261ae99f Merge remote-tracking branch 'dpvc/issue485' into develop
REsolves issue #485.
2013-07-31 15:03:47 -04:00
Frédéric Wang
30cb4b3961 Remove debug logging. Address review comment of issue #485. 2013-06-12 16:11:30 +02:00
Frédéric Wang
1cc5064462 Avoid accessing data[0] with under/over scripts and mlabeledtr too. Address review command of issue #486. 2013-06-12 16:06:56 +02:00
Frédéric Wang
bc9443b252 Expose some annotations to the Show Math As menu. Fix issue #357. 2013-06-03 17:12:11 +02:00
Frédéric Wang
96f16e1868 Address review comments for issue #481. 2013-05-31 09:14:47 +02:00
Frédéric Wang
cc34c39def Replace nonstandard MJX-arrow class by an "updiagonalarrow" menclose notation. Fix issue #481. 2013-05-30 12:17:19 +02:00
Frédéric Wang
d0e795705b WebKit NativeMML: only apply lspace/rspace in non-embellised mrow and set them to 0 otherwise. 2013-05-30 11:26:50 +02:00
Davide P. Cervone
2b1948f252 Force cases environment to use textstyle rather than displaystyle. Resolves issue #485. 2013-05-29 12:32:01 -04:00
Davide P. Cervone
681405debc Avoid accessing data[0] when not defined. Resolves issue #486. 2013-05-29 11:56:41 -04:00
Frédéric Wang
93065ef055 Native MathML: add workarounds for mi, mo (lspace/rspace), mmultiscripts and mspace (width) elements in WebKit. Fix issue #482. 2013-05-29 15:45:58 +02:00
Davide P. Cervone
12bb8ef92a Merge remote-tracking branch 'dpvc/issue468' into v2.2-latest
Resolves issue #468
2013-05-22 15:08:22 -04:00
Davide P. Cervone
4e01303dee Rename mfenced() to fenced() since the mrow is not really equivalent (the mo's are forced to have stretchy=true). Resolves Fred's concerns for issue #475 for now. 2013-05-22 14:03:38 -04:00
Davide P. Cervone
bf14e19cf9 Bump version number for previous commit. 2013-05-21 19:54:36 -04:00
Davide P. Cervone
a147a9ac32 Make sure mfenced delimiters are stretchy. Resolves issue #475. 2013-05-21 19:53:28 -04:00
Davide P. Cervone
2cbb068d9f Make stretchy characters contribute to height/depth of the proper row (was using the wrong index). Resolves issue #468. 2013-05-21 19:45:36 -04:00
Davide P. Cervone
084385b640 Update Safe.js to filter mathsize and not throw error for \mmlToken attributes that are filtered. 2013-05-11 17:02:59 -04:00
Davide P. Cervone
25a10d733d Correct typo in stroke-width (was stroke-thickness). Resolves issue #461. 2013-05-11 15:29:02 -04:00
Davide P. Cervone
f966b736a3 Part of the fix for issue #373 caused ref-test failures. This fixes that regression. 2013-05-03 09:45:51 -04:00
Davide P. Cervone
e724a2559c I have made the style change and noInheritAttribute change requested in pull #433. 2013-05-01 15:42:46 -04:00
Davide P. Cervone
b4dc4d1616 Add Greek Delta to SVG fonts 2013-05-01 15:24:53 -04:00
Davide P. Cervone
6e9199efa1 Add formatting headers to all hand-edited files. 2013-05-01 14:49:11 -04:00
Davide P. Cervone
4053d7acab Set versions to 2.2 and update copyright notice 2013-05-01 14:37:39 -04:00
Davide P. Cervone
4f40c0eed6 Fix some crashes when elements are missing their children. 2013-05-01 13:21:10 -04:00
Davide P. Cervone
7db3195c0b Merge branch 'issue373' into develop
Resolves issue #373.
2013-05-01 09:05:19 -04:00
Davide P. Cervone
5fb89ab1bc Remove extra comma that is confusing IE. 2013-04-30 18:37:14 -04:00
Davide P. Cervone
7968896c8b Fix width problem with zoom box in Firefox. 2013-04-30 16:12:10 -04:00
Davide P. Cervone
ee49484a3f Fix typo in comments 2013-04-30 16:11:54 -04:00
Davide P. Cervone
9394d32571 Handle empty child nodes better. 2013-04-30 15:24:59 -04:00
Davide P. Cervone
6b43f76e6b Avoid infinite loops in \mathchoice Get() calls. Resolves problems reported in issue #373. 2013-04-30 10:34:42 -04:00
Davide P. Cervone
f6d716b444 Add error message for when an evironment closes with unbalanced braces. Resolves issue #454. 2013-04-30 08:49:25 -04:00
Davide P. Cervone
23edb8c49b Fix undefined variable (due to a name change; missed one). Resolves issue #428. 2013-04-30 08:17:16 -04:00
Davide P. Cervone
167d7ab328 Remove b8561b0 accidentaly pasted into the NativeMML/jax.js file 2013-04-30 08:12:01 -04:00
Davide P. Cervone
a7ed50a474 Repack and recombine. Fix some variable scoping and other issued detected by the packer. 2013-04-29 20:14:12 -04:00
Davide P. Cervone
e0dd867713 Merge branch 'safe-mode' into develop
Conflicts:
	unpacked/extensions/TeX/bbox.js
2013-04-29 19:55:33 -04:00
Davide P. Cervone
a843a9494a Fix missing colon in styles 2013-04-29 19:31:56 -04:00
Davide P. Cervone
b8561b07bf Merge branch 'localization' into develop 2013-04-29 19:25:03 -04:00
Davide P. Cervone
cb3542b296 Use a service routine in MathML input to filter attributes (rather than override AddAttributes). Also, make fontsize default allow all (authors can restrict if they want to). 2013-04-29 16:54:53 -04:00
Davide P. Cervone
4f28b81b08 Merge branch 'issue428' into develop
Resolves issue #428.
2013-04-29 16:28:33 -04:00
Davide P. Cervone
8437d9d404 Merge branch 'issue444' into develop
Resolves issue #444.
2013-04-29 16:25:20 -04:00
Davide P. Cervone
9b485668e1 Test value for boolean using toLowerCase() 2013-04-29 16:13:04 -04:00
Davide P. Cervone
05c93de747 Merge branch 'issue451' into develop
Resolves issue #451.
2013-04-29 16:10:54 -04:00
Davide P. Cervone
d09d4d7067 Merge branch 'issue449' into develop
Resolves issue #449.
2013-04-29 16:09:07 -04:00
Davide P. Cervone
62236bb26f Merge branch 'issue364' into develop
Resolves issue #364.
2013-04-29 16:04:18 -04:00
Davide P. Cervone
5c8919bc3c Merge branch 'issue443' into develop
Resolves issue #443.
2013-04-29 16:01:33 -04:00
Davide P. Cervone
0891402b88 Merge branch 'issue359' into develop. Improves MathML rendering for mfenced and mlabeldtr elements. 2013-04-29 15:57:29 -04:00
Davide P. Cervone
de15c6c514 Fixes to make zoom work properly with expressions that have full width (e.g., tagged equations). 2013-04-29 14:06:48 -04:00
Davide P. Cervone
d6b6aa8111 Add min-width to displayed equations with labels so that they cause their containers to have non-zero width (like when they are in a table cell). Resolves issue #428. 2013-04-29 10:48:45 -04:00
Davide P. Cervone
9752fd6e11 Add HTMLCSS.parentNode() that returns a span's parentNode, skipping over <a> tags. Resolves issue #364. 2013-04-28 17:31:34 -04:00
Davide P. Cervone
4c9c6da10c Add a Safe extension that allows you to restrict potentially dangerous features of MathJax when it is used in a shared environment (e.g., href to javascript, styles and classes, etc.) 2013-04-27 07:34:41 -04:00
Davide P. Cervone
9d9fc3d063 Convert true and fals attributes to booleans. Resolves issue #451. 2013-04-26 14:41:42 -04:00
Davide P. Cervone
94e92dcfff Try to isolate MathJax from CSS transitions. Resolves issue #449. 2013-04-26 07:48:52 -04:00
Davide P. Cervone
9d7ff33bd2 Use a single routine to construct the mrow that replaces mfenced. Fix up some uses of var (not using it twice for the same variable in a function). Fix up some spacing and comments. Don't use .trim(). Use firstChild rather than firstElementChild (not supported by all browsers), etc. 2013-04-26 07:01:28 -04:00
Davide P. Cervone
607b1031a3 Merge remote-tracking branch 'fred/content-mathml' into develop
Add Content MathML support.
2013-04-24 15:20:17 -04:00
Frédéric Wang
c3ad51d2e1 Merge branch 'issue356' into issue359
Conflicts:
	unpacked/jax/output/NativeMML/jax.js
2013-04-23 08:28:59 +02:00
Davide P. Cervone
2d33f1d348 Call MATML.Parse.prototype directly rather than make a special flag for preprocessing. Use MATHML variable rather than full reference. 2013-04-22 15:44:58 -04:00
Davide P. Cervone
594043e330 Use ems (rounded to nearest pixel) for Chrome. Rounding makes the placement work more reliably, while still being in relative units. Resolves issue #443. 2013-04-22 08:26:38 -04:00
Davide P. Cervone
f4cc34706a Merge branch 'issue386' into develop
Resolves issue #386.
2013-04-19 09:35:50 -04:00
Davide P. Cervone
ce8c8882ea Merge branch 'issue427' into develop
Resolves issue #427.
2013-04-19 09:31:42 -04:00
Davide P. Cervone
ea849af1ae Merge branch 'issue441' into develop
Resolves issue #441.
2013-04-19 09:27:21 -04:00
Davide P. Cervone
edd353458b Merge branch 'issue380' into develop
Resolves issue #380.
2013-04-19 09:18:33 -04:00
Davide P. Cervone
d758ebcaaa Fixed typo in comments. 2013-04-19 09:16:48 -04:00
Davide P. Cervone
9e5fbb7e6f Merge branch 'issue402' into develop
Resolves issue #402.
2013-04-19 09:11:42 -04:00
Davide P. Cervone
9e65b9ce74 Move mjx-svg-href class to <a> rather than its child. Resolves issue #427. 2013-04-19 08:08:59 -04:00
Davide P. Cervone
5c39699371 Make sure textSVG is attached during zooming (prevents error when math contains characters outside of the MathJax fonts). Resolves issue #441. 2013-04-18 17:11:47 -04:00
Davide P. Cervone
debc24047f Make final math size be in relative units so that it prints even if print media has a different font size. Resolves issue #386. 2013-04-17 17:21:09 -04:00
Davide P. Cervone
486cd40424 Make href class specific to SVG (in case we need to have one for other output jax) 2013-04-17 09:05:24 -04:00
Davide P. Cervone
557e93e505 Allow \color to override link color in SVG output. Resolves issue #427. 2013-04-17 09:02:33 -04:00
Davide P. Cervone
779be27960 Process \$ in \text arguements. Resolves issue #349. 2013-04-17 07:36:28 -04:00
Davide P. Cervone
bea2f8b755 Fix monospace space character to be the same width as the other monospace characters. Resolves issue #380. 2013-04-16 20:17:12 -04:00
Davide P. Cervone
3367b54c3e Remap ` to back-quote. Resolves issue #402. 2013-04-16 19:20:21 -04:00
Davide P. Cervone
173c501eae Fixed localization issues pointed out by fred (this creates some new messages that need to be translated). 2013-04-10 10:16:14 -04:00
Davide P. Cervone
7cd9180b0b Fix a number of message ID's and message texts. Add menuTitle to fr.js file. 2013-04-09 13:13:25 -04:00
Davide P. Cervone
535c033e24 Handle HTML snippets better, and fix up messages in FontWarnings and v1.0-warning extensions. Fix French menu items and a few others (thanks Fred). Fix scale-all-math dialog. 2013-04-05 18:45:50 -04:00
Davide P. Cervone
660f38959a Make constant messages be translated when they are used rather than when they are defined. Rework About box, add menu ID's. Make TeX.Error() and MathML.Error() handle localization. Break up Fred's French data into separate files. Make localization data load on demand. Other miscellaneous updates. 2013-04-03 17:24:14 -04:00
Davide P. Cervone
c4da088220 Merge branch 'issue350' into develop
Resolves issue #350.
2013-04-01 09:05:02 -04:00
Davide P. Cervone
a9c65c3d28 Remove commented out code and bump version number 2013-04-01 08:51:20 -04:00
Davide P. Cervone
ffb9b53034 Merge remote-tracking branch 'fred/issue367-bis' into develop
Resolves issues #367.
2013-04-01 08:38:44 -04:00
Frédéric Wang
8803b00446 Ignore linebreak attribute on mspace when dimensional attributes are set. Fix issue #388. 2013-03-25 16:57:05 +01:00
Frédéric Wang
332642c659 Fix processing errors with various table and menclose attributes. Issue #367. 2013-03-25 15:16:36 +01:00
Frédéric Wang
66ebcf2c46 Fix a processing error when an empty <mo> is used as a fence. #359 2013-03-21 17:32:46 +01:00
Davide P. Cervone
5709ab189b Merge remote-tracking branch 'fred/issue365' into develop
Resolves issue #365.
2013-03-21 09:17:55 -04:00
Davide P. Cervone
a0e0567028 Merge remote-tracking branch 'fred/issue366' into develop
Resolves issue #366.
2013-03-21 09:12:10 -04:00
Frédéric Wang
883d7a9e92 Use this.HTMLzeroBBox instead of the explicit object in the HTML-CSS output. 2013-03-21 11:29:15 +01:00
Davide P. Cervone
3ab428a985 Merge remote-tracking branch 'fred/issue363' into develop
Resolves issue #363.
2013-03-20 17:13:05 -04:00
Davide P. Cervone
06235f4cb5 Merge remote-tracking branch 'fred/issue410' into develop
Resolves issue #410
2013-03-20 16:19:01 -04:00
Davide P. Cervone
0efe5e6f2c Merge branch 'issue383' into develop
Resolves issue #383
2013-03-20 14:00:11 -04:00
Davide P. Cervone
3a5a0a6910 Remove commented code and add comment for change to Ex(). Issue #383. 2013-03-20 13:58:48 -04:00
Davide P. Cervone
7f5097436b Merge remote-tracking branch 'fred/issue362' into develop
Resolves issue #362
2013-03-20 13:54:29 -04:00
Davide P. Cervone
1702034cd8 Merge branch 'issue351' into develop
Resolves issue #351
2013-03-20 13:46:12 -04:00
Davide P. Cervone
e6ba42a94a Merge branch 'issue412' into develop
Resolves issue #412.
2013-03-20 13:40:52 -04:00
Davide P. Cervone
73d7791820 Merge branch 'issue414' into develop 2013-03-20 13:40:04 -04:00
Davide P. Cervone
0724a8ea06 Bump version number and add comments referring to issue #414. 2013-03-20 09:26:08 -04:00
Davide P. Cervone
fd38b7a891 Bump version number and add comment referencing issue #412. 2013-03-20 09:05:20 -04:00
Davide P. Cervone
990e3c6007 Don't scale line thickness for menclose (so lines won't disapear in scripts). Resolves issue #414. 2013-03-19 11:45:23 -04:00
Davide P. Cervone
4a024c2984 Wait for SVG to set the fontDir value before setting up the loadhooks or calling loadCompete. This allows fontdata.js to be included in combined configuration files. Resolves issue #413. 2013-03-18 19:09:54 -04:00
Davide P. Cervone
477e7e96d5 Call setTeXclass on toolips (makes sure they will format properly when rendered). Resolves issue #412. 2013-03-18 19:00:20 -04:00
Frédéric Wang
eeb63895ae Fix Math Processing Error with ApplyFunction (issue 410) 2013-03-14 13:37:33 +01:00
Frédéric Wang
276b7751dc Implement the XSLT for IE <= 8. 2013-03-05 15:15:45 +01:00
Frédéric Wang
ca718359cc Handle parsing of the <math> source better. 2013-03-05 12:30:48 +01:00
Frédéric Wang
1e9ade71bf Update more names to follow our coding style. 2013-02-28 10:19:17 +01:00
Frédéric Wang
503f997064 Finishing to find all the strings to localize 2013-02-25 18:05:33 +01:00
Frédéric Wang
dd019796b0 More translations... 2013-02-25 16:09:17 +01:00
Frédéric Wang
e1761573bf Translation of messages from jax/input/TeX/jax.js 2013-02-22 18:58:16 +01:00
Frédéric Wang
4fdb68a080 More attempts to translate messages. 2013-02-22 13:56:52 +01:00
Frédéric Wang
bf1157fce4 Rename some variables to follow Davide's convention ; use DOM element interface to browse the table. 2013-02-13 14:15:51 +01:00
Frédéric Wang
aeefb6cf5b Save SVG data for an empty mtable. Fix issue392. 2013-02-11 15:46:16 +01:00
Frédéric Wang
d0b024243b Better construct empty frames when maction@selection is invalid 2013-02-11 14:29:09 +01:00
Frédéric Wang
4fefa49080 Do not display maction when the selection is out of range. Fix issue 365. 2013-02-08 16:32:24 +01:00
Frédéric Wang
492f378ff8 Enable the mlabeledtr workaround for Opera 2013-02-06 23:02:01 +01:00
Frédéric Wang
65c9b8234e Better handle mathvariant for unknown/invalid values or values not supported by generic fonts. 2013-02-06 18:10:33 +01:00
Frédéric Wang
4c28f5f7c6 Merge branch 'issue356' into issue359
Conflicts:
	unpacked/jax/output/NativeMML/jax.js
2013-02-06 15:40:28 +01:00
Frédéric Wang
89845b909b Some improvements to Davide's work ; make the rowspacing/columnspacing workaround work on Webkit too. 2013-02-06 15:20:56 +01:00
Frédéric Wang
b9e919499b Add a HTMLCSS.maxStretchyParts property. 2013-02-06 14:29:26 +01:00
Frédéric Wang
684b81a022 Implement rowspacing/columnspacing for the native MathML output, using cell padding. 2013-02-06 12:05:13 +01:00
Frédéric Wang
64a9eb0506 Workaround mfenced support for Opera too ; add open/close properties on the element jax generated by the TeX/MathML input jax ; generate mfenced element for <mrow> elements with open/close properties. 2013-02-04 12:55:49 +01:00
Frédéric Wang
5a5205e013 Make the input TeX jax generate mrow+mo rather than mfenced. 2013-02-01 12:22:55 +01:00