Commit Graph

65 Commits

Author SHA1 Message Date
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
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
Davide P. Cervone
f5c10288dd Update copyright dates. 2015-01-29 10:21:06 -05:00
Davide P. Cervone
3f5730a59f Merge branch 'CHTML-preview' into develop 2014-12-30 17:55:48 -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
8726bd52a5 Merge branch 'DOMfilterHooks' into develop 2014-08-18 10:01:01 -04:00
Davide P. Cervone
b41981b3b3 Merge pull request #887 from dpvc/issue847
Don't remove entities or newlines from <annotation> elements.
2014-08-17 15:54:09 -04:00
Davide P. Cervone
f0c0c6386e Properly handle callbacks returned by pre- and postfilter hooks. 2014-08-16 12:58:51 -04:00
Davide P. Cervone
7aab884fd0 Merge pull request #874 from pkra/nodejs
merging @dpvc's Nodejs branch into develop.
2014-07-21 10:06:35 -04:00
Davide P. Cervone
44ee2cf762 Don't remove entities or newlines from <annotation> elements. Resolves issue #847. 2014-06-24 17:23:14 -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
e92f3f2718 Change copyright and version numbers 2014-05-07 17:02:28 -04:00
Davide P. Cervone
75ffd88dc1 Add DOMfilterHooks to MathML input jax. 2014-04-25 11:22:23 -04: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
Frédéric Wang
3fee31b7e4 Address review comments #627 2013-10-21 10:04:39 +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
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
Davide P. Cervone
4053d7acab Set versions to 2.2 and update copyright notice 2013-05-01 14:37:39 -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
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
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
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
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
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
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
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
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
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
4fdb68a080 More attempts to translate messages. 2013-02-22 13:56:52 +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
77c65fb333 Ignore _moz-math-* attributes in MathML input. Addresses Fred's comments in issue #304. 2012-08-31 16:26:52 -04:00
Davide P. Cervone
7ce521293c Fix a whitespace issue in token elements with IE/quirks mode (MathML input jax) 2012-02-17 12:05:06 -05:00
Davide P. Cervone
1698f9c33c Make a separate routine to get the contents of a script, and make it work in IE for XHTML files. 2012-02-10 08:21:42 -05:00
Davide P. Cervone
39b0122d08 Fix problem with MathML input adding extra class of 'null' when no class is present on an element (result of changes to include special classes for TeX attributes) 2012-01-21 15:08:19 -05:00
Davide P. Cervone
d2bf4e3bb5 Replaced a part of the copyright that was deleted sometime earlier 2012-01-15 16:09:25 -05:00
Davide P. Cervone
65892262ac Move remapping of <mo> contents to output jax, so that the original MathML is left unchanged 2012-01-14 16:33:43 -05:00
Davide P. Cervone
88e3ce4680 When MathML with MJX classes come from TeX extensions, load the required extension so that the fonts will be properly set up 2012-01-11 17:53:05 -05:00
Davide P. Cervone
fe40630d43 Add pre- and post-filter hook lists, to be consistent with TeX input jax 2012-01-11 17:26:11 -05:00
Davide P. Cervone
c679563c09 Move copyAttributes and skipAttributes to element jax (since they are used in several places) to avoid redundency 2012-01-11 14:22:24 -05:00
Davide P. Cervone
756ef39804 Make MathML input read the MathJax classes to recreate the TeXAtoms and other tex-specific items 2012-01-10 19:39:08 -05:00
Davide P. Cervone
a013dd823f Save user-provided attributes in a separate object (to avoid collision with internal values); change property names in toMathML to have a prefix; allow known attributes in \mmlToken macro; only remove mlabeledtr in FF8 and before. 2012-01-10 14:10:48 -05:00
Davide P. Cervone
10812462e6 Break MakeMML into smaller routines 2012-01-10 12:04:10 -05:00
Davide P. Cervone
77c8a54da6 Add more signals for error conditions (so error reporting software can track it easier) 2012-01-06 17:09:37 -05:00
Davide P. Cervone
7d11c17c89 Record the attributes that are given explicitly on MathML input, and output those in NativeMML mode 2011-09-28 06:06:20 -04:00
Davide P. Cervone
3f4f54e2c0 Merge branch 'zoom-update' into v2.0-candidate 2011-09-11 11:51:14 -04:00