Commit Graph

1632 Commits

Author SHA1 Message Date
Davide P. Cervone
6ab067a14c Switch beta.mathjax.org to cdn.mathjax.org (since https users will never get this beta MathJax.js anyway). 2014-06-01 11:37:08 -04:00
Davide P. Cervone
d92ae61db1 Fix variable reference turned up by packer 2014-06-01 10:54:47 -04:00
Davide P. Cervone
2e9b3c7c60 Make this rev=2.4-beta-2, and turn rackspace https into beta.mathjax.org (this will need to be changed to cdn.mathjax.org for the final release). 2014-06-01 10:41:27 -04:00
Davide P. Cervone
7c47e03240 Merge branch 'stretchy' into v2.4-beta 2014-06-01 10:26:26 -04:00
Davide P. Cervone
beeb356308 Merge branch 'issue729' into v2.4-beta. Issue #729. 2014-06-01 10:25:17 -04:00
Davide P. Cervone
d24b750cbf Don't add stretchy=dalse if it is not needed 2014-05-30 12:25:01 -04:00
Davide P. Cervone
668585f591 Fix several problems with stretchy delimiters in SVG output (minsize didn't always get processed, stretched characters weren't marked as such). 2014-05-30 12:17:09 -04:00
Davide P. Cervone
8eb029478e Fix bounding box problem in Firefox with stretchy delimiters (and remove alignment hack that doesn't seem to be needed any longer). resolves issue #729. 2014-05-30 12:15:25 -04:00
Davide P. Cervone
3a8afa4dcb Add support for semantics annotations to toMathML, and use a menu item to control it. 2014-05-29 15:37:59 -04:00
Davide P. Cervone
a314139f59 Merge branch 'issue814' into v2.4-beta. Issue #814. 2014-05-29 11:56:07 -04:00
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
e1f4656783 Remove some NativeMML work-arounds for FF >= 29 (apparently fixed in this version). Resolves issue #813. 2014-05-28 06:02:26 -04:00
Davide P. Cervone
0ebff03dc1 Merge branch 'issue820' into v2.4-beta. Issue #820. 2014-05-27 15:18:55 -04:00
Davide P. Cervone
7d9db89c8b Merge branch 'issue821' into v2.4-beta. Issue 821. 2014-05-27 15:18:47 -04:00
Davide P. Cervone
4e3977082d Remove fonts from default VARIANT values, which where causing -smallOP to no inherit the normal fonts; this caused \int in STIX (and other fonts) not to be found, and so default to unknown character bboxes. Resolves issue #820. 2014-05-22 19:43:30 -04:00
Davide P. Cervone
71f731cbbb Trap error reading cookies. Resolves issue #821. 2014-05-22 18:10:35 -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
ae3197913b Merge branch 'issue815' into v2.4-beta. Issue #815. 2014-05-22 15:28:22 -04:00
Davide P. Cervone
6c244ce4dd Merge branch 'issue811' into v2.4-beta. Issue #811. 2014-05-22 15:27:44 -04:00
Davide P. Cervone
11e4ba5101 Make glyph data be part of BBOX.GLYPH, and make sure that resets don't increment the counter for local <defs> elements. 2014-05-22 13:14:29 -04:00
Davide P. Cervone
b2ce6ef0a0 Make fallback parser clear itself after use, so there isn't an extra <math> element left over at the end (typsetting again causes problems). 2014-05-17 13:48:44 -04:00
Davide P. Cervone
3c98ab81dd Change where ID is modified so that the cache properly accounts for it. 2014-05-17 13:47:58 -04:00
Christian Perfect
0e0444ec3f Merge remote-tracking branch 'mathjax/develop' into ctop
Conflicts:
	unpacked/extensions/MathML/content-mathml.js
2014-05-16 14:18:39 +01:00
Christian Perfect
82dc8af1ae content-mathml: make it compatible with IE8; code style fixes 2014-05-16 14:15:53 +01:00
Davide P. Cervone
2a11309edd Add options useFontCache and useGlobalCache to control use of <use> elements. Also add Fixed() method to make shorter values for scale and viewport. 2014-05-14 14:30:28 -04:00
Davide P. Cervone
267a9a90eb Use width and height attributes rather than styles. 2014-05-14 09:30:05 -04:00
Davide P. Cervone
2c3a5f0b79 Apparently, node.js uses uppercase nodeName, so use toLowerCase() to change it. 2014-05-14 09:29:09 -04:00
Davide P. Cervone
18e0b76b17 Set cache-breaking revision number. 2014-05-13 20:34:05 -04:00
Davide P. Cervone
5538982def Remove space around accent operators (resolves issue #815). 2014-05-12 15:47:01 -04:00
Davide P. Cervone
713d536a68 Handle spacing for AMS alignments better (0 space between columns, but add space to left of operators. 2014-05-12 15:43:50 -04:00
Davide P. Cervone
48f6c06df4 More repacking and recombining (the jax.js files didn't get updated, since they don't have dates that were changed) 2014-05-07 18:59:00 -04:00
Davide P. Cervone
3b3cbeece4 Repack and recombine 2014-05-07 17:16:20 -04:00
Davide P. Cervone
e92f3f2718 Change copyright and version numbers 2014-05-07 17:02:28 -04:00
Davide P. Cervone
1424afb792 Fix up variable issues identified by packer 2014-05-07 16:01:13 -04:00
Davide P. Cervone
ad0d7760f0 Improve handling of removal of &nbsp; for IE in AlignBox 2014-05-07 05:29:31 -04:00
Davide P. Cervone
214a230504 Make sure svg is defined before using its width 2014-05-06 07:00:29 -04:00
Davide P. Cervone
3ebb153763 Ignore mathsize for non-token elements when figuring scales. 2014-05-05 11:18:44 -04:00
Davide P. Cervone
ab3a7e429f Always use start marker in IE (fixes sizes of background colors, see mphantom color test). 2014-05-05 11:06:10 -04:00
Davide P. Cervone
0b4ee45777 Remove &nbsp; when msiePlaceBoxBug is in effect 2014-05-05 09:14:49 -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
49ede41339 Handle MSIE padding bug properly when linebreaking mmultiscripts and when adding nulldelimiterspace wround fractions. 2014-05-04 17:46:34 -04:00
Davide P. Cervone
db87f413bb Avoid IE10 compatibility mode (which says v7.0) but documentMode = 9 problem with transformNode() call. 2014-05-04 15:52:53 -04:00
Davide P. Cervone
1e9dcb81f8 Mark functions that are turned into TEXCLASS.OP so that spacing can be improved for things that look like \left...\right. 2014-05-04 15:27:39 -04:00
Davide P. Cervone
09ce98092b Move generic font and fontdata to main jax object so that we are sure to have one (it will be overwritten when the actual font data are loaded). 2014-05-04 15:24:49 -04:00
Davide P. Cervone
81cec74252 Fix scaling problem with mpadded. 2014-05-04 15:23:50 -04:00
Christian Perfect
c17c4e6dfa content-mathml extension: load config from MathJax.Hub.Config
Config is loaded from `MathML.content-mathml`, and extends the CToP.settings object.
2014-05-02 15:44:58 +01:00
Christian Perfect
86a6c173cf Content-MathML extension: update CToP.js
from mathjax/ctop
2014-05-02 14:52:35 +01:00
Davide P. Cervone
061fe3488b Fix \enclose{}[arrow=1]{} to add updiagonalarrow. 2014-04-27 09:02:01 -04:00
Davide P. Cervone
462be1eaeb Make sure that <mo> with minsize or maxsize set are stretched. 2014-04-25 17:31:11 -04:00
Davide P. Cervone
7f509db1b5 Remove extra space in width (Firefox doesn't process it correctly). 2014-04-25 12:32:58 -04:00
Christian Perfect
e6a1aed03a copy ctop.js into the content-mathml extension
Developed in mathjax/ctop. Uses the MathML jax's DOMfilterHooks to manipulate MathML elements before they're parsed into the internal format.
2014-04-25 16:47:20 +01:00
Davide P. Cervone
75ffd88dc1 Add DOMfilterHooks to MathML input jax. 2014-04-25 11:22:23 -04:00
Davide P. Cervone
a9d11e1b92 Combine ctop.xsl and mml3mml2.xsl into one, but remove svg tranformation for summation. Issue #799. 2014-04-24 21:10:38 -04:00
Davide P. Cervone
c6d73f4689 Fix several loading issues with localization files (don't add menu div until files are loaded, and properly handle empty callbacks in loadDomain). 2014-04-22 12:31:03 -04:00
Davide P. Cervone
833b69cd2c Merge branch 'issue735' into develop. Issue #735. 2014-04-22 08:16:29 -04:00
Davide P. Cervone
e1a43b6996 Updated language names. Issue #753. 2014-04-22 08:13:16 -04:00
Davide P. Cervone
2470972f99 Merge pull request #797 from pkra/issue753
localization update for v2.4.  Issue #753.
2014-04-22 07:55:19 -04:00
Peter Krautzberger
6ce23c819e localization update for v2.4 2014-04-22 12:45:38 +02:00
Davide P. Cervone
3837d8db0e Make Chrome > 32.0 get bold-italic correctly. Issue #735. 2014-04-22 06:30:55 -04:00
Davide P. Cervone
6d6cb37923 Merge branch 'issue763' into develop. Issue #763. 2014-04-21 19:24:19 -04:00
Davide P. Cervone
21282b683f Merge branch 'issue794' into develop. Issue #794. 2014-04-21 19:23:38 -04:00
Davide P. Cervone
2b9b4054f1 Take fixphi into account when fixing the phi and varphi characters. Issue #353. 2014-04-21 19:20:23 -04:00
Davide P. Cervone
cb04ee618c Fix problems with linebreaks in fractions (scaling of lineleading, proper detection of auto indentalign, etc.) 2014-04-21 18:16:31 -04:00
Davide P. Cervone
521e6c9fda Remove extra level of nesting from \textit, \textbf, etc. 2014-04-21 15:24:30 -04:00
Davide P. Cervone
f54a8ebaaa Fix problem where forced linebreaks could cause lines to disappear (due to recent changes to the linebreaking algorithm). 2014-04-21 09:52:59 -04:00
Davide P. Cervone
c548a7f0a6 Fix incorrect use of TeX_factor for relative sizes. 2014-04-21 05:59:18 -04:00
Davide P. Cervone
04295783bc Make sure \bmod gets space even in scripts. Resolves issue #794. 2014-04-21 05:57:10 -04:00
Davide P. Cervone
25bab8f05c Make \newenvironment perform the end substitution BEFORE testing if \end matches the corresponding \begin. This allows \newcommand to use \begin and \end in the substititions. Resolves issue #793. 2014-04-20 14:45:54 -04:00
Davide P. Cervone
1e8ae72201 Merge branch 'zoom-fix' into develop. Issues #749, #460, #423. 2014-04-11 07:56:49 -04:00
Davide P. Cervone
0c083deb4f Merge branch 'issue777' into develop. Issue #777. 2014-04-11 07:56:05 -04:00
Davide P. Cervone
662023bed4 Merge branch 'issue703' into develop. Issue #703. 2014-04-11 07:55:31 -04:00
Davide P. Cervone
d2620501da Get border size properly in IE < 10. 2014-04-11 07:36:40 -04:00
Davide P. Cervone
f8ad843365 Avoid warning about deprecated event.returnValue. 2014-04-10 22:49:49 -04:00
Davide P. Cervone
46ba400ad6 Work around WebKit bug with SVG sizes. Resolves issue #749. 2014-04-10 22:45:35 -04:00
Davide P. Cervone
6ba5f2a624 Make absolute sizes scale when zoomed. Resolves issue #460. 2014-04-10 20:48:28 -04:00
Davide P. Cervone
4c2f7ac7c9 Handle resizing better (it flickered when shrinking windows), and take original size into account when changing visibility. 2014-04-10 20:10:28 -04:00
Davide P. Cervone
26775b9520 Make zoom box fit inside closest parent with overflow clipping (if any). Also make the clicable background fit the area properly (it is restricted to that parent element). 2014-04-10 06:40:47 -04:00
Davide P. Cervone
432f5eba69 Move submenus to the left for RTL languages, and make menus open to the left as well. Resolves issue #777. 2014-04-09 17:23:03 -04:00
Davide P. Cervone
c33e0f06b8 Fix scaling for SVG (similar to HTML-CSS fixes). Issue #703 2014-04-09 16:00:10 -04:00
Davide P. Cervone
239cfe33e5 Fix a few bugs with scaling in HTML-CS mode. 2014-04-09 15:59:43 -04:00
Davide P. Cervone
defe996cf7 Fix mathsize in HTML-CSS output so that it acts as a zoom (spaces, math axis, etc, are all scaled). Issue #703. 2014-04-09 13:54:56 -04:00
Davide P. Cervone
a47b1fa009 Merge remote-tracking branch 'dpvc/issue687' into develop. Issue #687. 2014-03-23 05:48:38 -04:00
Davide P. Cervone
309dbc5a4a If a break occurs at a space or operator that has non-zero width, don't remove next element's initial spacing. 2014-03-21 16:54:10 -04:00
Davide P. Cervone
12f969593d Remove initial space after a linebreak properly. Resolves #687. 2014-03-21 06:58:46 -04:00
Davide P. Cervone
2bb627844f Added support for linebreaking of mmultiscripts. Resolves issue #617. 2014-03-21 06:13:34 -04:00
Davide P. Cervone
283cff4289 Merge remote-tracking branch 'dpvc/issue763' into develop. Issue #763. 2014-03-20 05:50:04 -04:00
Davide P. Cervone
982d9f92f7 Merge remote-tracking branch 'dpvc/issue691' into develop. Issue #691. 2014-03-20 05:49:37 -04:00
Davide P. Cervone
6c4996b436 Merge remote-tracking branch 'dpvc/issue615' into develop. Issue #615. 2014-03-20 05:49:20 -04:00
Davide P. Cervone
b9379938a8 Merge remote-tracking branch 'dpvc/issue692' into develop. Issue #692.
the commit.
2014-03-20 05:48:57 -04:00
Davide P. Cervone
6a930736aa Merge remote-tracking branch 'dpvc/issue256' into develop. Issue #256. 2014-03-20 05:47:08 -04:00
Davide P. Cervone
921f9544c5 Merge remote-tracking branch 'dpvc/issue737' into develop. Issue #737. 2014-03-20 05:46:40 -04:00
Davide P. Cervone
a12a0e5918 Fix unitless width and height in HTML-CSS mglyph, and fix aspect ratio when only one is specified in SVG output. Resolves issue #763. 2014-03-19 16:49:23 -04:00
Davide P. Cervone
86388a5965 Clear \label even if there is no \tag or equation number. Resolves issue #691. 2014-03-19 12:32:48 -04:00
Davide P. Cervone
13d79045b5 Add check that font name is valid. Resolves issue #615. 2014-03-19 12:05:33 -04:00
Davide P. Cervone
6b93c17d9c Update version of ctop.xsl used in content-mathml extension. Issue #692. 2014-03-19 09:38:35 -04:00
Davide P. Cervone
f220993196 Remove new Function() calls, and isolate eval() to be used only when necessary. Resolves issue #256. 2014-03-18 17:19:36 -04:00
Davide P. Cervone
94c6711d86 Add ability to specify additional root paths like [MathJax]. Resolves issue #737. 2014-03-18 13:41:48 -04:00
Davide P. Cervone
0f659f5b3e Add support for dotted borders. Resolves issue #770. 2014-03-18 12:54:29 -04:00
Davide P. Cervone
6ed8a76d5e Merge remote-tracking branch 'dpvc/issue387' into develop. Issue #387. 2014-03-18 12:18:51 -04:00
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
dfcc8ca0f7 Merge branch 'issue738' into develop. Issue #7348. 2014-02-21 10:52:43 -05:00
Davide P. Cervone
59ea9a8543 Merge branch 'issue734' into develop. Issue #734. 2014-02-21 10:47:39 -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
8ed9207668 Don't use MathJax_MSIE_Frame for those vesions of IE that suppor position:fixed (7 and above, as it turns out). Resolves issue #738. 2014-02-20 14:29:31 -05:00
Davide P. Cervone
3118eeb9d7 Compress close and menu images, and only pre-load menu arrow when discoverability is requested. Resolves issue #734. 2014-02-20 12:59:28 -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
9bed669135 Merge branch 'issue240' into develop. Issue #240. 2014-02-17 11:28:30 -05:00
Davide P. Cervone
1022eecd99 Merge branch 'issue719' into develop. Issue #719. 2014-02-17 11:26:20 -05:00
Davide P. Cervone
9220eae8c0 Merge branch 'issue709' into develop. Issue #709. 2014-02-17 11:25:41 -05:00
Davide P. Cervone
a205aea118 Merge branch 'issue624' into develop. Issue #624. 2014-02-17 11:25:08 -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
d494748ded Changed regular expresion to account for new (longer) Rackspace address. Resolves issue #709. 2014-02-16 05:16:53 -05:00
Davide P. Cervone
a5f09d01f6 Fix string character reference to work with IE7. Resolves issue #624. 2014-02-15 17:49:16 -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
2927bbfc34 Merge branch 'issue470' into develop. Issue #470. 2014-02-15 12:38:21 -05:00
Davide P. Cervone
7313af12c2 Merge branch 'issue353' into develop. Issue #353. 2014-02-15 12:37:52 -05:00
Davide P. Cervone
243141db7c Merge branch 'issue328' into develop. Issue #328. 2014-02-15 12:37:30 -05:00
Davide P. Cervone
dabec97691 Merge branch 'issue586' into develop. Issue #586. 2014-02-15 12:37:06 -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
6d6eccead0 Keep track of ID's uses on the page, and make unique ones if there are repeats. Resolves issue #240. 2014-02-15 11:15:07 -05:00
Davide P. Cervone
59c351a143 Improve layout for CD environment. HTML and SVG is improved; NativeMML is better, but still has some problems. Issue #470. 2014-02-15 08:21:03 -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
c5e1e43f1c Skip _moz-math-* attributes in Firefox. Resolves issue #328 for now. 2014-02-14 14:29:41 -05:00
Davide P. Cervone
5a9c4c66dc Add more comments to document jax and extensions arrays, and fix default value of positionToHash. Issue #586. 2014-02-14 11:37:06 -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
831b28d13b Merge branch 'issue739' into develop. Issue #739. 2014-02-14 08:31:42 -05:00
Davide P. Cervone
f01d347bb1 Merge branch 'issue684' into develop. Issue #684. 2014-02-14 08:30:28 -05:00
Davide P. Cervone
ca80d7df20 Merge branch 'issue623' into develop. Issue #623. 2014-02-14 08:28:59 -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
03139aaec3 Add ability to unregister listeners for those you can register. Resolves issue #693. (For next feature release.) 2014-02-13 17:57:01 -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
cba90fb584 Fix use of limits in operatorname and DeclareMathOperator. Resolves issue #739. 2014-02-13 07:22:41 -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
08ba269ccf Fix SPLIT routine for IE8 and below (index was wrong for when there are more than one match -- argh!). Resolves issue #623. 2014-02-12 16:05:20 -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
d26490a4db Merge branch 'issue389' into develop. Issue #389. 2014-02-10 08:43:41 -05:00
Davide P. Cervone
dd59bcff82 Correct condition for skipping empty braces. 2014-02-10 08:43:18 -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
92fd895582 Merge branch 'issue348' into develop. Issue #348. 2014-02-10 08:34:55 -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
61f671710e Make routine to skip initial spaces, and have it also skip empty braces. Issue #389. 2014-02-09 06:20:23 -05:00
Davide P. Cervone
5b1655a2fe Treat initial <mo> of split and multline (and other related environments) as infix (but remove initial space). Not sure this exactly matches LaTeX, but is closer than current behavior. Resolves issue #389. 2014-02-09 05:52:24 -05:00
Davide P. Cervone
c7be71b554 Put checking for screenX into try...catch for IE8 (grr). Resolves issue #348. 2014-02-08 15:55:21 -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
73f58abb43 Merge branch 'issue559' into develop. Issue #559. 2014-02-07 10:04:46 -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
363321b794 Merge branch 'issue667' into develop. Issue #667. 2014-02-07 09:56:14 -05:00
Davide P. Cervone
76a4ee314c Merge branch 'issue681' into develop. Issue #681. 2014-02-07 09:50:12 -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
997692713e Remove user configuration cookie (hasn't been used in 5 years). This should be reflected in a removal of the CookieConfig item from the localization files. Issue #559. 2014-02-06 16:46:18 -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
7bd8f9edb4 Fix use if for...in to avoid problems with elements added to Array.prototype. Resolves issue #667 2014-02-06 14:17:04 -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
6799f197ab Don't load menu or zoom code if showMathMenu is false. Resolves issue #685. 2014-02-06 13:27:14 -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
2c5ecf6303 Make sure measuring spans are removed from all elements (including the ones that were changed). Resolves second half of issue #576. 2014-02-06 11:54:26 -05:00
Davide P. Cervone
7a97969104 Fix a typo in comments and remove an unused variable 2014-02-06 11:02:55 -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
a57696fde5 Fix up comment. 2014-01-13 11:59:21 -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
b5454061cc Identify IE11 properly for now (more needs to be done with the browser detection code in teh future). Issue #658. 2014-01-10 14:47:00 -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
Davide P. Cervone
d4fe0fdac2 Push math nodes onto mathArray individually to avoid problem in IE < 9 where push.apply doesn't work on a nodeList. Also, avoid duplicate elements in the array by checking for namespace prefixes. This needs to work for both HTML and XHTML. Resolves issue #672. 2013-11-21 08:49:43 -05:00
Davide P. Cervone
62cdfcfd34 Check for whether MathJax is already loaded before using MathJax variable for AuthorConfig. Resolves issue #671. 2013-11-18 20:01:54 -05:00
Davide P. Cervone
8700fdf098 If coming from the CDN's mathjax/latest address, move to the explicit version (avoids CDN propagation issues when a new version is released). 2013-11-16 20:22:19 -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
Frédéric Wang
d1822362f2 Merge pull request #660 from fred-wang/issue656
MathMenu: fix typo in STIXLocal key, add strings for the new Web fonts. ...
2013-11-07 05:52:38 -08:00
Frédéric Wang
53b1201b54 Merge pull request #659 from fred-wang/issue636
MathJax.isPacked and MathJax.AuthorConfig mixup. #636
2013-11-07 05:51:18 -08:00
Frédéric Wang
0b753f67ad MathMenu: fix typo in STIXLocal key, add strings for the new Web fonts. #656 2013-11-05 16:10:04 +01:00
Chen-Pang He
937434c77d Center display math in XHTML (#650) 2013-11-05 21:39:23 +08:00
Frédéric Wang
6cd37d02f9 Merge pull request #652 from fred-wang/issue530
Localisation updates from http://translatewiki.net. #530
2013-11-05 00:46:54 -08:00
Frédéric Wang
2b903c4310 Localisation updates from http://translatewiki.net. #530 2013-11-05 09:45:44 +01:00
Davide P. Cervone
0312b8ffa9 Merge pull request #645 from fred-wang/issue639
Add the matchFontHeight options to unpacked/config/default.js #639
2013-10-30 10:04:09 -07: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
3e36fd81d0 Add the matchFontHeight options to unpacked/config/default.js #639 2013-10-30 15:22:50 +01:00
Frédéric Wang
6448c0ce91 Merge pull request #643 from fred-wang/issue530
Localisation updates from http://translatewiki.net. #530
2013-10-30 07:09:07 -07:00
Frédéric Wang
139b799dbf Localisation updates from http://translatewiki.net. #530 2013-10-30 15:07:15 +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
53b3160dfd MathJax.isPacked and MathJax.AuthorConfig mixup. #636 2013-10-22 15:34:05 +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
4400d42d57 Merge pull request #633 from fred-wang/issue530
Localisation updates from http://translatewiki.net. #530
2013-10-21 01:21:31 -07:00
Frédéric Wang
72aa13ee89 Localisation updates from http://translatewiki.net. #530 2013-10-21 10:18:56 +02:00
Frédéric Wang
3fee31b7e4 Address review comments #627 2013-10-21 10:04:39 +02:00
Davide P. Cervone
068b907cd5 Merge pull request #630 from fred-wang/issue612
First step in Issue #612 (Move TeX/STIX font data from boldsymbol extension)
2013-10-19 07:22:48 -07: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
f76182da27 Merge branch 'master' into bidi 2013-10-18 15:05:50 +02:00
Frédéric Wang
dc1364ec25 Merge pull request #629 from fred-wang/issue530
Issue530
2013-10-18 06:04:31 -07:00
Frédéric Wang
461f9b4614 Update Farsi localization. #530 2013-10-18 15:01:40 +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
0835eadf81 Try to semi-automatically add direction marker in Farsi strings. #601, #530 2013-10-17 17:40:50 +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
b8e8e80418 Import more non-English strings from TranslateWiki ; add the pt-br fallback for pt. #492 and #530 2013-10-17 11:52:49 +02:00
Frédéric Wang
88c26b359e Merge pull request #609 from fred-wang/preview
Preview
2013-10-15 08:35:52 -07:00
Frédéric Wang
36895de74c Merge pull request #608 from fred-wang/issue590
Make MathZoom check the new DoubleClick value. #590
2013-10-15 08:18:51 -07:00
Davide P. Cervone
26fa6590d7 Merge pull request #607 from fred-wang/issue602
Neo-Euler: don't remap to italic/bold-italic Plane 1 characters (Issue #602).
2013-10-15 07:50:35 -07:00
Frédéric Wang
f816446142 Make MathZoom check the new DoubleClick value. #590 2013-10-14 15:02:17 +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
ba0fd27250 Merge pull request #606 from dpvc/issue604
Make sure TeXmathchoice saves the SVG data for its core.  Resolves issue...
2013-10-11 01:15:44 -07:00
Frédéric Wang
a9d812398b Address review comments. #557 2013-10-10 15:18:55 +02:00
Frédéric Wang
aad3a6edc2 Try to fix test failures #557. 2013-10-10 12:50:30 +02:00
Davide P. Cervone
a632d331b1 Make sure TeXmathchoice saves the SVG data for its core. Resolves issue #604. 2013-10-09 21:47:36 -04:00
Davide P. Cervone
412d3669d1 Merge pull request #599 from fred-wang/issue489
New branch for issue #489 ; regenerate the data.

There are still some issues to be resolved, but this will let the testing proceed as we work on some of the details.
2013-10-08 09:22:44 -07:00
Frédéric Wang
8bfecdabd8 Import new translations from MathJax-i18n. #530 2013-10-08 14:20:24 +02:00
Frédéric Wang
97664574c1 Merge branch 'master' into issue530 2013-10-08 13:40:40 +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
81ed447228 Add the MatchWebFonts.js extension file 2013-10-07 06:52:19 -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
37c282a983 Merge pull request #593 from dpvc/issue584
Resolve issue #584 (and also an issue with loading css files in Chrome)
2013-10-02 03:30:53 -07:00
Davide P. Cervone
c9766d4da8 Remove debugging message 2013-10-02 06:27:28 -04:00
Davide P. Cervone
c73c43e197 Remove old Chrome 5-beta test for stylesheet checking, and replace it with a check for linked stylesheets (which don't currently work -- luckily they are not used). Resolves issue #584. 2013-10-01 08:46: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
Frédéric Wang
61129829f3 Import new languages from TranslateWiki. #530 2013-09-26 10:05:57 +02: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
4ec3192904 Merge pull request #577 from fred-wang/issue557
Issue557
2013-09-17 11:25:54 -07:00
Frédéric Wang
badfa0b235 Merge pull request #574 from fred-wang/issue555
Issue555
2013-09-17 11:23:02 -07: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