Commit Graph

161 Commits

Author SHA1 Message Date
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
e4265d3969 Implement toCommonHTML for \mathchoice. Resolves issue #998. 2015-01-07 08:30:48 -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
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
4b6a2f4ec3 Add priority 100 to label reset so that it comes after other post-filters (in particular, the CTHML-preview, which can load files). Resolves second issue in #970. 2014-12-31 08:07:38 -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
fc7faf4b54 Properly handle spacing around operators in second column of aligned and gathered environments. Issue #982 2014-12-26 17:07:02 -05:00
Davide P. Cervone
54fb042b77 Fixed capitalization of \defincolor in autoload-all. Resolves issue #972. 2014-12-07 06:58:52 -05:00
Davide P. Cervone
89c6f10cea Use \bigg or \big for the delimiters for \binom and other such constructs, rather than stretchy delimiters, as is done in TeX. Resolves isue #776. 2014-08-22 11:47:04 -04:00
Davide P. Cervone
5391986006 Allow \newenvironment to provide an optional argument. Issue #881 2014-08-18 13:46:43 -04:00
Davide P. Cervone
1a895e2a7c Update version numbers, repack, and recombine 2014-06-12 05:53:13 -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
e92f3f2718 Change copyright and version numbers 2014-05-07 17:02:28 -04:00
Davide P. Cervone
061fe3488b Fix \enclose{}[arrow=1]{} to add updiagonalarrow. 2014-04-27 09:02:01 -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
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
9bed669135 Merge branch 'issue240' into develop. Issue #240. 2014-02-17 11:28:30 -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
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
cba90fb584 Fix use of limits in operatorname and DeclareMathOperator. Resolves issue #739. 2014-02-13 07:22:41 -05:00
Davide P. Cervone
dd59bcff82 Correct condition for skipping empty braces. 2014-02-10 08:43:18 -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
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
Frédéric Wang
b73eafd431 Bump version numbers. #534 2013-10-21 13:58:46 +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
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
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
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
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
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
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
7db3195c0b Merge branch 'issue373' into develop
Resolves issue #373.
2013-05-01 09:05:19 -04:00
Davide P. Cervone
609d6ca8fc Fix mathchoice Core() (should go to selected element, not selected element's Core()) 2013-04-30 14:20:45 -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
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
36b7fd9d57 Merge branch 'issue446' into develop
Resolves issue #446.
2013-04-29 16:14:13 -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
e239cbc6fe Allow spaces in the RGB, rgb, and greyscale color specifications. resolves issue #446. 2013-04-22 09:19:32 -04:00
Davide P. Cervone
19a10031a9 Merge branch 'issue381' into develop
Resolves issue #381.
2013-04-19 09:13:15 -04:00
Davide P. Cervone
841596821a Preserve spaces within \verb arguments. Resolves issue #381. 2013-04-16 19:48:11 -04:00
Davide P. Cervone
838cb730cf Make \smallfrown and \smallsmile come from the variant font so it has the correct size. Resolves issue #436. 2013-04-16 13:11:32 -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