Commit Graph

546 Commits

Author SHA1 Message Date
Davide P. Cervone
61e6d40a43 Removed debugging alert that was accidentally left in the previous commit 2011-08-04 12:51:30 -04:00
Davide P. Cervone
fb5ed12752 Fix problem with mtable equalrows detected by Fred's test suite 2011-08-04 12:43:03 -04:00
Davide P. Cervone
5d9f423a36 Allow mpadded background color to be specified exactly (i.e., without the 1px padding) when one of its dimensions is given explicitly (or there is no content). Resolves one of Fred's issues. 2011-08-04 11:32:22 -04:00
Davide P. Cervone
95b42049d7 Add one pixel to the top and bottom of math so that superscripts and subscripts won't touch on consecutive lines of a paragraph 2011-08-03 08:22:38 -04:00
Davide P. Cervone
309c1c343c Handle output of dimensions in mu's better (resolves issue #146). 2011-07-27 21:18:57 -04:00
Davide P. Cervone
d92d160cee Allow \\ to take an optional argument that is an extra amount of space to put between lines of an array (resolves issue #144) 2011-07-27 18:59:00 -04:00
Davide P. Cervone
c4c1c9f1e0 Use a different character for \overline so that it works with FF native MathML (resolves issue #140) 2011-07-27 16:46:01 -04:00
Davide P. Cervone
3ddd323cd2 Remove internal multiple spaces in token elements (resolves issue #127) 2011-07-27 16:31:04 -04:00
Davide P. Cervone
d2b40a3235 Improve the previous fix for xmlns by using better regexp so as to no longer need replaceXMLNS function 2011-07-27 15:06:02 -04:00
Davide P. Cervone
7f6c93b1c9 Work around HTML5 removing namespaces, so that xmlns:xlink becomes xlink with no namespace, which confuses the XML parsers. 2011-07-27 10:26:21 -04:00
Davide P. Cervone
557735366f Add \mmlToken macro to allow direct creation of token MathML elements from within TeX, and use this to make \bmod, \mod, and \pmod produce better results (resolves issue #123) 2011-07-26 22:43:20 -04:00
Davide P. Cervone
9714e96d13 Don't allow Safari/Windows to use STIX fonts, since it can't access Plane1 (resolves issue #94) 2011-07-26 21:24:01 -04:00
Davide P. Cervone
86b344a63b When adjacent relations have different variants, set the space between them to 0 (so they work in NativeMML mode) 2011-07-26 19:55:43 -04:00
Davide P. Cervone
e2d328dd32 Don't combine <mo> elements with different variantForms (since the whole element must have the same mathvariant and font) 2011-07-26 19:46:29 -04:00
Davide P. Cervone
70bd48f00a Merge with master (brining up to adate with v1.1a) 2011-07-24 10:21:47 -04:00
Davide P. Cervone
24a3e30526 Merge with master (brining up to adate with v1.1a) 2011-07-24 10:14:27 -04:00
Davide P. Cervone
6a265df244 Merge with master (brining up to adate with v1.1a) 2011-07-24 10:11:07 -04:00
Davide P. Cervone
bd2fb28932 Merge with master (brining up to adate with v1.1a) 2011-07-24 10:07:30 -04:00
Davide P. Cervone
ee2609dc97 Merge with master (brining up to adate with v1.1a) 2011-07-24 09:59:14 -04:00
Davide P. Cervone
f58689bc7d Merge branch 'master' into cases 2011-07-24 09:53:16 -04:00
Davide P. Cervone
ff5aab74db Merge with mathjax/master (bringing branch up to date) 2011-07-24 09:51:41 -04:00
Davide P. Cervone
065acfd10a Work around IE bug when direction:rtl is specified outside the math 2011-06-05 11:35:09 -04:00
Davide P. Cervone
2953e01b12 Fix problems with annotation-xml in IE (work around IE lack of importNode, and bug with copying style attributes 2011-06-05 11:33:49 -04:00
Davide P. Cervone
eb63ba8daa Update alert concerning security settings for MathPlayer when it fails to initialize 2011-06-02 09:18:31 -04:00
Davide P. Cervone
46320e5b9e Do setup for MathPlayer and DOM Parser when first needed rather than at startup (since these can be disabled by IE causing errors). Put up alerts indicating security settings to change if IE fails to set these up properly. 2011-06-01 21:09:36 -04:00
Davide P. Cervone
79a8253da0 Fix problem where characters were lost when an unknown character was in the same text string (in token elements) 2011-06-01 18:22:21 -04:00
Davide P. Cervone
b7525afe5c Fix problem with &quot; in attributes, and with entity names that include numbers 2011-06-01 18:17:52 -04:00
Davide P. Cervone
8588f02413 Remove extra comma from RANGES (causes IE crash), bump version numbers, and rename IE Greek ranges to work properly with new greek range in 1.1a 2011-05-30 14:05:35 -04:00
Davide P. Cervone
2df2c4a268 Add files left out (packer used to miss ones with size less than 1K) 2011-05-18 11:12:39 -04:00
Davide P. Cervone
5392f6e98f Repack, recombine, completes merge of htmlcss-fixes 2011-05-18 11:11:28 -04:00
Davide P. Cervone
13221321d8 Repack, recombine (completed merge with font-update branch up to 0dc8212) 2011-05-18 11:00:37 -04:00
Davide P. Cervone
222a4c0ba6 Repack and recombine (to resolve conflicts from issue68) 2011-05-18 10:27:41 -04:00
Davide P. Cervone
9cc3bda487 Resolve conflicts from issue112, repack and recomine 2011-05-18 10:24:05 -04:00
Davide P. Cervone
8e79bbea7c Merge branch 'issue107' into 1.1a-candidate 2011-05-18 10:17:35 -04:00
Davide P. Cervone
9ce7e85ccc Resolve conflicts from merge with issue30, update versions, repack, recombine 2011-05-18 10:06:06 -04:00
Davide P. Cervone
f10ec864ea Update version numbers for merge with issue117 2011-05-18 10:00:27 -04:00
Davide P. Cervone
17d6686c92 Merge branch 'issue117' into 1.1a-candidate 2011-05-18 09:58:38 -04:00
Davide P. Cervone
4d06c1026e Make global scaling factor available in the HTML-CSS object, and use it in annotation-xml to match the scaling properly 2011-05-18 08:39:55 -04:00
Davide P. Cervone
6b06f0ac16 Move annotation-xml to an autolaoded extension, and properly handle it in HTML-CSS 2011-05-15 08:44:12 -04:00
Davide P. Cervone
8f20a75ffe Add an xml object to the ElementJax classes to handle the annotation-xml data, and make implementations of it in the various input and output jax (resolves issue #117). 2011-05-13 20:30:22 -04:00
Davide P. Cervone
99da6be704 Add CSS to force image to be display:inline 2011-05-12 21:10:16 -04:00
Davide P. Cervone
ae419b08e1 Work around a bug in IE8 where cloneNode() seems to screw up the web-based fonts (resolves issues #30 and #78) 2011-05-12 20:57:32 -04:00
Davide P. Cervone
23ad7609bc Add ability to load extra stretchy characters on demand, and add data for more stretchable characters. 2011-05-11 20:13:25 -04:00
Davide P. Cervone
de1e1f670e Add new packed files left out of previous commit. 2011-05-10 10:51:49 -04:00
Davide P. Cervone
66bc9b8317 Use &ApplyFunction; after \mathop{} no matter what its contents (it used to only do it for \mathop{\rm ...} 2011-05-09 08:22:10 -04:00
Davide P. Cervone
bf862f6529 Update operator table to correspond with current W3C version at http://www.w3.org/TR/MathML3/appendixc.html 2011-05-08 23:30:40 -04:00
Davide P. Cervone
0dc8212c6d Mark variants with bold and italic values so that unknown characters can have font-weight and font-style set properly (resolves issue #96). 2011-05-08 22:26:27 -04:00
Davide P. Cervone
6275aa46ea Remap upper-case Greek that are not in MathJax fonts to their corresponding latin positions (resolves issue #16). 2011-05-08 21:48:40 -04:00
Davide P. Cervone
44dbbd135c Don't remap italic numbers to normal, and map normal greek to italic since the MathJax fonts don't have normal versions (resolves issue #25). 2011-05-08 21:27:49 -04:00
Davide P. Cervone
f002f4924b Change the default font-family for undefined character to be a configuration parameter 2011-05-08 21:20:27 -04:00
Davide P. Cervone
0d31246321 Add explicit ltr CSS styling for MathJax output (resolves issue #114). 2011-05-08 17:16:55 -04:00
Davide P. Cervone
74d7db9e78 Update entity table to conform with http://www.w3.org/2003/entities/2007/htmlmathml-f.ent (fixes a number of wrong values, and adds some missing entities). (Resolves issue #37.) 2011-05-08 16:28:49 -04:00
Davide P. Cervone
d5416ceb10 Add \begingroup and \endgroup commands to make it possible to have local macros. Add the \let and \renewenvironment commands. Add \global and \gdef now that there are local namespaces 2011-05-07 21:21:52 -04:00
Davide P. Cervone
fd3ff2979e Fix problem with character being skipped following a \ref or \eqref in \text{} inside math mode (index was off by one) 2011-05-06 12:45:21 -04:00
Davide P. Cervone
94a2dc3389 Have TeX input jax load AMSmath if auto equation numbering is requested in the TeX configuration 2011-05-02 09:55:58 -04:00
Davide P. Cervone
f4f5263e2b Add comments and use variables for shortcuts to structures 2011-05-02 09:54:47 -04:00
Davide P. Cervone
ab14c945b5 Add missing font files (they were left out because they were less than 1KB is size, which the packer used to ignore). These represent only one character each, and none is crititcal, which is why no one noticed the problem. 2011-05-02 08:33:34 -04:00
Davide P. Cervone
7e2ed03750 Add support for automatic line numbers, and the \label and \ref macros (resolves issue #71) 2011-05-01 19:05:02 -04:00
Davide P. Cervone
c23c21443e Mark top-level math element as having a texError when it is one (to make it easier to recognize) 2011-05-01 18:44:03 -04:00
Davide P. Cervone
e23b8b4756 Mark TEX.Parse() call as Inner if it occurs within the processing of an equation (needed for automatics equation numbering), and initialize the global data as the start STACKING is created 2011-05-01 18:35:27 -04:00
Davide P. Cervone
07ab955fe2 Convert pre- and post-filters to Callback.Hook lists 2011-05-01 18:26:08 -04:00
Davide P. Cervone
944aed1ac1 Have ElementJax store input and output jax ID's rather than pointers (to help avoid circular references for cleanup purposes) 2011-05-01 13:45:16 -04:00
Davide P. Cervone
a31559a819 Use new element jax Update() method to handle updating of toggle maction 2011-05-01 07:49:47 -04:00
Davide P. Cervone
27fe28261f Removed debugging code accidentally left in previous version. Repack and recombine. 2011-04-30 08:13:54 -04:00
Davide P. Cervone
7680604b23 If a stretchy character exists without a non-stretched version, use the minimal stretched version for the unstretched one. Also, fix munderover to recompute the width after stretching the stretchy elements. (Resolves issue #112.) 2011-04-30 08:10:51 -04:00
Davide P. Cervone
fd0c9236a2 Remove wait for NativeMML selection signal, and just use the onLoad signal (so that existing pages that change the renderer by hand will continue to work). It would be nice to avoid setting up the namespace when not needed, but it doesn't seem to hurt, and doesn't cause MathPlayer to start up, so it should be OK. 2011-04-27 20:11:17 -04:00
Davide P. Cervone
1740640ea5 Bump the version number and repack/recombine 2011-04-27 12:05:12 -04:00
Davide P. Cervone
ae55a2f570 Fix a timing issue where setting up MathPlayer can cause IE to crash (resolves issue #110). 2011-04-27 09:37:24 -04:00
Davide P. Cervone
876e96d80f Fix a problem with redrawing maction toggle elements (the size and spacing were off) 2011-04-27 08:05:28 -04:00
Davide P. Cervone
dfdaabe5f6 Remove wrong second parameter to InternalMath call for text in \cases 2011-04-27 08:02:04 -04:00
Davide P. Cervone
ba355d10bb Convert xlink:href to href and ignore all other namespace attributes (resolves issue #68). 2011-04-26 19:31:38 -04:00
Davide P. Cervone
86ed491787 Make \cases automatically use \text on the second entry in each row (so that it works like the real TeX \cases macro) 2011-04-26 19:22:17 -04:00
Davide P. Cervone
18734b5cce Add \bbox macro that allows you to set background colors, padding, and borders for math formulas 2011-04-26 15:28:37 -04:00
Davide P. Cervone
8aa2e2a3f2 Make style attributes work on mstyle elements 2011-04-26 15:23:29 -04:00
Davide P. Cervone
55d6161c99 Add ability for HTML-CSS output to handle explicit border and padding style settings on math elements (resolves issue #109). 2011-04-25 14:00:39 -04:00
Davide P. Cervone
edd68a415a Better treatment of rfuzz (resolves issue #108 better) 2011-04-24 15:19:34 -04:00
Davide P. Cervone
57a6db4aaf Half the rfuzz for WebKit (resolves issue #108) 2011-04-24 14:54:06 -04:00
Davide P. Cervone
eb79363766 Fix \mathop to produce <mi> rather than <mo> and add &ApplyFunction; when needed. This also handles \operatorname. 2011-04-24 11:10:45 -04:00
Davide P. Cervone
3a8c20b372 Make functions (like \sin) be <mi> rather than <mo>, and insert &ApplyFunction; after their use (resolves issue #56). 2011-04-23 19:56:17 -04:00
Davide P. Cervone
afc36aac44 Make \sqrt\frac{}{} not produce an error (resolves issue #75, at least for the example given). 2011-04-23 09:20:26 -04:00
Davide P. Cervone
a2d695c012 TeXAtom was used too often on embellished operators, so move it to the individual macros that need it. 2011-04-22 10:42:39 -04:00
Davide P. Cervone
f0c0cc3d3a Bump version number 2011-04-22 07:48:16 -04:00
Davide P. Cervone
bf4e73ddf3 Fix incorrect positioning of maction tooltips (resolves issue #107) 2011-04-22 07:46:40 -04:00
Davide P. Cervone
edd14c6258 Make sure embelished large ops are type OP not ORD to get spacing right 2011-04-20 20:59:58 -04:00
Davide P. Cervone
2860efd523 Fix error with size of \: space 2011-04-20 20:55:58 -04:00
Davide P. Cervone
7900c136e4 Merge remote branch 'dpvc/issue87' 2011-04-04 14:07:56 -04:00
Davide P. Cervone
a418d0748a Fix problem with accents not having the correct mathvariant (resolves issue 87) 2011-03-24 09:06:30 -04:00
Davide P. Cervone
288907d29b Worked around crippled VML implementaion in IE8 and IE9 2011-03-20 07:51:59 -04:00
Davide P. Cervone
34f3a8302c Fix regression where background color obscures foreground text in IE 2011-03-12 20:32:13 -05:00
Davide P. Cervone
a5661b5c1c Change versions to 1.1 and update copyright dates 2011-03-03 16:45:48 -05:00
Davide P. Cervone
4648698978 Repack and recombine previous merge 2011-03-03 16:06:52 -05:00
Davide P. Cervone
2ba61a6e4c Update packed and combined files for last merge 2011-03-03 15:32:13 -05:00
Davide P. Cervone
f55e2cd7eb Update packed and combined files for issue80 2011-03-03 15:28:05 -05:00
Davide P. Cervone
dcff67e561 Fix version number remapping for unrecognized WebKit browsers, and change check for iPhone use of web fonts to match (resolves issue #80) 2011-03-03 07:20:36 -05:00
Davide P. Cervone
1166553038 Bump version numbers 2011-03-01 10:01:12 -05:00
Davide P. Cervone
f2de28e068 Remove support for ancient beta-version fontdata (now that the fonts are part of the archive, no more change that this will not match) 2011-03-01 10:01:11 -05:00
Davide P. Cervone
18752966be Allow Chrome to use OTF fonts for v4.0 and above, and use OTF fonts for Safari/PC (the FF3.6.13 fix has fixed the problem for Safari, too) 2011-02-28 14:23:06 -05:00
Davide P. Cervone
3578a76d63 Correctly calculate the value of dimensions with units of pc (resolves issue #76) 2011-02-28 13:27:12 -05:00
Davide P. Cervone
5950641ee5 Merge branch IE9-issues (with updated versions and packing) 2011-02-26 10:04:06 -05:00
Davide P. Cervone
e08b25f9f0 Merge branch 'HTML5-config' 2011-02-25 14:57:58 -05:00
Davide P. Cervone
4a92b6c4cb Tie checking for menu settings to Cookie event so that it occurs after the cookie is read 2011-02-25 14:47:32 -05:00
Davide P. Cervone
97fb465311 Add CombineConfig() routine to combine default configuration with user configuration, and insert signal hooks to do synchronize configuration (for use with combined configuration files) 2011-02-21 14:39:15 -05:00
Davide P. Cervone
405fc0f9af Fix maction embellished operators so that they stretch 2011-02-16 13:38:01 -05:00
Davide P. Cervone
48ee5d3f55 Fix isSpacelike for maction elements 2011-02-16 13:36:54 -05:00
Davide P. Cervone
7b5e5df51e One last file to repack and recombine 2011-02-15 11:48:40 -05:00
Davide P. Cervone
dcb9be2fc4 Repack and recombine the previous changes 2011-02-15 11:39:50 -05:00
Davide P. Cervone
cce1ff7cf1 Merge branch 'web-fonts-timing' into IE9-issues 2011-02-14 20:10:07 -05:00
Davide P. Cervone
f7eeb7eed3 Pack the changes to the TeX fonts directory 2011-02-14 19:58:41 -05:00
Davide P. Cervone
86eaa76087 Remove files that are no longer needed (data is now in Main.js), and make sure initFont() completes before loadComplete() is called (since it can create styleSheets, which take time to become available) 2011-02-14 19:55:22 -05:00
Davide P. Cervone
5485fc81c5 Fix problem with IE9 menu placement (event didn't have the location properties) 2011-02-07 19:59:21 -05:00
Davide P. Cervone
fb475ba344 Make mtext be space-like, fix isEmbellished (etc) for maction, and make mstyle align not affect tables (resolves issues#66 and #67) 2011-02-07 19:26:17 -05:00
Davide P. Cervone
1a073c1004 Repack and recombine 2011-01-24 12:33:40 -05:00
Davide P. Cervone
e66115ec15 Merge remote branch 'dpvc/self-closing-mml' 2011-01-24 12:06:42 -05:00
Davide P. Cervone
2f99db9a83 Update HTML-CSS jax version number, repack, and recombine 2011-01-24 12:03:24 -05:00
Davide P. Cervone
bd51778508 Merge remote branch 'dpvc/issue51' 2011-01-24 12:01:55 -05:00
Davide P. Cervone
5d1aebf4a1 Merge remote branch 'dpvc/issue50' 2011-01-24 12:00:04 -05:00
Davide P. Cervone
e8d6fc838e Update version number, repack, and recombine 2011-01-24 11:37:36 -05:00
Davide P. Cervone
1ecd7fbd49 Fix problem with \over used inside array entries (resolves issue#54) 2011-01-21 20:18:16 -05:00
Davide P. Cervone
bdb2d9fde9 Make \raise and \lower properly adjust height/depth (resolves issue#58) 2011-01-21 19:53:58 -05:00
Davide P. Cervone
8b9ee1d9f3 Make sure changes only occur in display math, not in-line math 2011-01-20 13:09:04 -05:00
Davide P. Cervone
7c93160644 Honor the displayAlign and displayIndent settings in NativeMML output (resolves issue#50) 2011-01-20 13:04:09 -05:00
Davide P. Cervone
7e607fd3c0 Add synchronization with HTML-CSS jax so that thee files can be included in combined config files more readily 2011-01-20 08:20:26 -05:00
Davide P. Cervone
0255e0c6bf Move creation of FONTTEST to Config(), since it relies on document.body being available 2011-01-20 08:19:10 -05:00
Davide P. Cervone
699e063991 Self-closing tags in HTML aren't processed properly in some browser, and end up with the following elements as children. This patch moves the children back out to become siblings again. 2011-01-19 20:24:16 -05:00
Davide P. Cervone
e106941b76 Repack and recombine, plus bump NativeMML version number 2011-01-18 18:04:57 -05:00
Sean Hogan
7a5f979f54 A fix for 'issue49' on Opera 2011-01-12 23:37:24 +11:00
Sean Hogan
0d630f2586 Pack and combine to account for issue46 branch 2011-01-11 11:35:34 +11:00
Davide P. Cervone
043442649c Prevent Opera from using STIX fonts (resolves issue #46), unless explicitly requested via the font menu (not normally accessible to users) 2011-01-09 11:23:59 -05:00
Sean Hogan
5afdd65b07 Repack to account for combine branch changes 2011-01-05 23:51:46 +11:00
Sean Hogan
41c754f532 Merge branch 'combine' of https://github.com/dpvc/MathJax 2011-01-05 23:33:27 +11:00
Sean Hogan
482ea4724a Merge branch 'recursive-macros' of https://github.com/dpvc/MathJax 2011-01-05 23:18:28 +11:00
Davide P. Cervone
1263f164da Add macro count to newcommand extension and latex environment processing. Bump version number for input jax 2011-01-04 11:41:36 -05:00
Davide P. Cervone
a9b754c811 Test for recursive macro definitions by keeping a substitution count and also checking the size of the string after substitution 2011-01-04 11:15:54 -05:00
Davide P. Cervone
696e0c5ecc Fix wrong file paths in header comments 2011-01-04 08:08:06 -05:00
Sean Hogan
24501179bf Repack to match sqrt branch additions. 2011-01-04 12:11:57 +11:00
Davide P. Cervone
0c43db656c Packed versions of previous commits 2011-01-01 16:55:56 -05:00
Davide P. Cervone
ad3fd4b960 Improve placement of surd for square roots and nth roots 2010-12-31 20:17:24 -05:00
Davide P. Cervone
58ce73bfd8 Update packing to just use yuicompressor 2010-12-30 15:31:25 -05:00
Davide P. Cervone
b24524afcf Merge dpvc/parallel branch 2010-12-30 14:37:37 -05:00
Sean Hogan
c77c53f1a9 Merge branch 'reflow' of https://github.com/dpvc/MathJax 2010-12-30 13:14:40 +11:00
Davide P. Cervone
a2fda2a8e2 Add a minimim scaling (since some people have reported the math getting too small), plus some cosmetic adjustments 2010-12-29 15:35:15 -05:00
Davide P. Cervone
b15ca6e7c5 Move laodComplete calls to make sure they occur after the MML jax is loaded 2010-12-29 11:04:50 -05:00
Davide P. Cervone
d504409219 Fix problem with nesting of math delimiters in InternalMath() 2010-12-09 13:20:44 -05:00
Davide P. Cervone
d8f34cb591 Use position:fixed overflow:hidden when typesetting math to keep WebKit and Firefox rendering times more constant on long pages 2010-11-16 20:52:59 -05:00
Davide P. Cervone
fe80ecb7c7 Merge branch 'master' into parallel 2010-11-15 21:08:50 -05:00
Robert Miner
8644056391 moved files out of mathjax/ to top level 2010-11-13 12:38:42 -06:00