Commit Graph

116 Commits

Author SHA1 Message Date
Davide P. Cervone
7a9833becd Add semantics annotation to NativeMML output. This is done in the NativeMML output jax rather than the input jax so that it can be done for any input format (that provides an encoding for it). Also, it avoids having the Show As MathML output include the annotation. Resolves issue #814. 2014-05-28 10:30:03 -04:00
Davide P. Cervone
b84f7772f4 Fix zoom box sizes for tagged equations in HTML-CSS and NativeMML output. Issue #824. 2014-05-22 18:04:59 -04:00
Davide P. Cervone
e92f3f2718 Change copyright and version numbers 2014-05-07 17:02:28 -04:00
Davide P. Cervone
085c80054c Add option to not show MathPlayer alert (helps with testsuite) 2014-05-05 07:55:16 -04: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
25d6ce9f65 Merge branch 'issue730' into develop. Issue #730. 2014-02-07 10:06:13 -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
72f9d5f408 Added '!important' to NativeMML CSS as well. (Issue #580.) 2014-02-06 15:07:35 -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
b9685dd507 Fix incorrect min-width for mtd elements. Resolves issue #699. 2014-01-13 11:50:49 -05:00
Frédéric Wang
90749a7afe Fix WARNINGs generated by the MathJax packer. #534 2013-10-21 14:30:16 +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
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
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
4ec11da1f1 Address review comments. 2013-08-02 09:58:58 +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
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
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
4053d7acab Set versions to 2.2 and update copyright notice 2013-05-01 14:37:39 -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
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
b8561b07bf Merge branch 'localization' into develop 2013-04-29 19:25:03 -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
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
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
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
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
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
dd019796b0 More translations... 2013-02-25 16:09:17 +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
492f378ff8 Enable the mlabeledtr workaround for Opera 2013-02-06 23:02:01 +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
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
Davide P. Cervone
6c1dd91f13 Handle mlabeledtr in Firefox and other browsers by making a more complicated table with extra columns. 2013-01-31 15:33:25 -05:00
Davide P. Cervone
0ed5d463e5 Merge branch 'issue217' into develop 2012-09-08 10:36:30 -04:00
Davide P. Cervone
bf680988b9 Merge branch 'develop' into IE10 2012-09-04 09:33:06 -04:00
Davide P. Cervone
651b99eb96 Merge branch 'issue274' into develop 2012-09-03 09:08:22 -04:00
Davide P. Cervone
ecf512e73a Previous commit in this branch was too agressive about setting display to in-line; now use span.MathJax_MathML and div.MathJax_MathML to get it right. Issue #274. 2012-09-03 09:01:35 -04:00