Commit Graph

2386 Commits

Author SHA1 Message Date
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
e48efbbd35 Make padding and border width configurable, and use new ability to set border in style (but stick with mpadded for padding, since neither MathPlayer nor Firefox seem to implement padding style settings) 2011-04-25 15:07:23 -04:00
Davide P. Cervone
2407d6dafd Merge branch 'issue109' into issue38 2011-04-25 14:36:06 -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
4b2d568822 Make \color work as a switch, as in LaTeX, and add the other features from the color package (\definecolor, other color models, LaTeX named colors, \colorbox, \fcolorbox, etc.). (Resolves issue #38.) 2011-04-24 18:23:21 -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
3732851167 Refactor code that builds outerHTML string by hand, since it needs to be used by Opera as well in order to fix unquoted special characters in attributes. This also fixes the self-closing tag problems for IE and Opera. (Resolves issue #106 and issue #99) 2011-04-21 20:54:12 -04:00
Davide P. Cervone
2066e68531 Make the message system wait for the styles to be set before using the in-page message area (resolves issue #98) 2011-04-21 14:18:28 -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
07a2014e0e Fix problem with escaped dollars being unescaped the next time the page is typeset (resolves issue #97) 2011-04-09 17:23:22 -04:00
Davide P. Cervone
bb09608b23 Resolve a conflict with Mathjax and Slidy (its sets window.opera, which confused the browser detection) 2011-04-05 12:25:44 -04:00
Davide P. Cervone
4a2969c45b Merge dpvc/issue85 (fixes for element configuration option) 2011-04-05 12:19:46 -04:00
Davide P. Cervone
f9e9165835 Merge remote branch 'dpvc/issue89' 2011-04-04 14:07:59 -04:00
Davide P. Cervone
7900c136e4 Merge remote branch 'dpvc/issue87' 2011-04-04 14:07:56 -04:00
Davide P. Cervone
ea00136979 Merge remote branch 'dpvc/issue86' 2011-04-04 14:07:11 -04:00
Davide P. Cervone
91fca00e4f Fixed typo in about box (Fred reported in issue #47) 2011-04-04 14:04:39 -04:00
Davide P. Cervone
af0b052702 Partial work-around for issue#89: have <br> insert a newline in IE when documentMode < 9 2011-03-26 08:40:02 -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
2b7e966959 Move version numbers to 1.1 (this were missed when the other files' versions were changed) 2011-03-19 08:30:59 -04:00
Davide P. Cervone
4d9007ca9e Remove element parameters from the preprocessor configuration blocks (they are not longer used, now that there is a global elements parameter) 2011-03-18 18:47:25 -04:00
Davide P. Cervone
536eece1b1 Fix problem with element parameter to the preprocessors (by making a global parameter instead, so there is only one place it needs to be set). Also make it an array so that more than one element can be specified. 2011-03-18 18:38:51 -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
a4633101ab Work around issue82 by not trying to load MathPlayer in IE9 2011-03-10 15:24:54 -05:00
Davide P. Cervone
072bcdd1bd Fix spelling of 'version' in mml2jax (argh!) 2011-03-09 09:24:00 -05:00
Davide P. Cervone
62c5adc459 Fix determination of root directory when config parameter includes slashes 2011-03-06 15:16:36 -05:00
Davide P. Cervone
af97e9f6a6 Make jax configuration wait until after main configuration completes 2011-03-05 18:09:55 -05:00
Davide P. Cervone
0e458db9d4 Fix timing problem with setting of renderer from menu cookie. Update version numbers for Jax base classes 2011-03-05 15:08:52 -05:00
Davide P. Cervone
51d839080c Add unpacked combined configuration files (which just configure to load them at the usual time. This is to allow easier debugging of pages using combined configuration files without having to recombine the files any time one of the originals is edited). 2011-03-03 19:25:27 -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
a15392c23c Update default for inlineMath configuration (don't use dollars by default) 2011-03-03 16:35:32 -05:00
Davide P. Cervone
3eac5f2b7f Update comments in default configuration file 2011-03-03 16:34:49 -05:00
Davide P. Cervone
c8761824ae Change default configuration file to config/default.js 2011-03-03 16:27:35 -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
8b418b432c Merge branch 'better-about' 2011-03-03 15:28:25 -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
06616a8914 Bump the version number 2011-02-28 14:13:07 -05:00
Davide P. Cervone
6081bd5475 Make sure extensions have a version before reporting them 2011-02-28 14:11:59 -05:00
Davide P. Cervone
0c11aa2bf6 Add extensions information to the about box, and add browser and font type 2011-02-28 14:08:59 -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
bc193eedd2 Fix indenting due to insertion of startup hooks for configuration blocks 2011-02-26 10:18:56 -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
38f5ddc714 Reword the message, and don't fade it out or use a cookie; it should ALWAYS show and should stay up until explicitly closed 2011-02-19 09:47:13 -05:00
Davide P. Cervone
c200dcd5d2 Add a warning message (but in a separate file so that MathJax.js doesn't have to be any bigger) for when no configuration was done (when v1.0.x would load the config/MathJax.js file) 2011-02-18 09:03:51 -05:00
Davide P. Cervone
a11d398ea4 Implement new configuration process (see http://sites.google.com/site/mathjaxproject/design-documents/configuration-options/version-1-1-configuration-specification) with v1.0 compatibility (which may need to be changed) 2011-02-17 10:54:49 -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
4cbc74e418 Merge remote branch 'dpvc/issues66-67' 2011-02-15 11:05:20 -05:00
Davide P. Cervone
706552ef42 Merge remote branch 'dpvc/issue63' 2011-02-15 11:04:57 -05:00
Davide P. Cervone
185ff593c7 Update check for WebKit to allow AppleWebKit in browser detection 2011-02-15 10:57:20 -05:00
Davide P. Cervone
a2f75719b2 Don't need dropshadow filter for IE9, and use proper capitalization for MathJax_MSIE_Frame 2011-02-15 08:48:46 -05:00
Davide P. Cervone
7e5c8ef639 Don't use dropshadow filter in IE9, add shadow for Konqueror, and a minor syntactic fixup 2011-02-15 07:57:46 -05:00
Davide P. Cervone
bfdb9c6b22 IE9-RC fixes filter problem, and changes the name of the performance object 2011-02-15 07:53:27 -05:00
Davide P. Cervone
f55fc96ca3 Work around IE9 bug that caches font-family lookups and doesn't reset them when @font-face changes the family 2011-02-14 20:16:14 -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
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
7f14b46cae Make sure IE9 doesn't get filter set to do DXImage dropshadows (which cause IE9 to crash) 2011-02-07 19:52:11 -05:00
Davide P. Cervone
31c32f8f20 Add MathJax.HTML.setScript() to handle setting a script's value (taking IE9 bug into account), and use it where scripts are created (resolves issue#5) 2011-02-07 19:48:47 -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
2a99d528aa Comments don't need to have <, >, and & replaced, so do text separately from comments 2011-02-02 10:59:34 -05:00
Davide P. Cervone
5dc47f7647 Put comment text inside comment markers when processing IE MathML (resolves issue #63) 2011-02-02 08:23:10 -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
c1de343e4e Properly handle menu renderer settings when combined config files are used. (REsolves issue 51) 2011-01-20 08:18:02 -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
Davide P. Cervone
2d762625b9 Don't use MathJax_MathContainer when not using Math Menus in MSIE 2011-01-18 17:59:42 -05:00
Sean Hogan
7a5f979f54 A fix for 'issue49' on Opera 2011-01-12 23:37:24 +11:00
Sean Hogan
f3445fb09f Merge branch 'issue47' of https://github.com/dpvc/MathJax 2011-01-11 11:38:09 +11:00
Sean Hogan
6f5ba8660d Merge branch 'issue46' of https://github.com/dpvc/MathJax 2011-01-11 11:32:26 +11:00
Davide P. Cervone
7cdfe6b5c4 Add support for otf fonts in iOS4.2 2011-01-09 17:02:51 -05: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
Davide P. Cervone
63d6c58791 Use hasOwnProperty to make sure we only test real jax (resolves issue #47) 2011-01-07 15:48:56 -05: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
Sean Hogan
0ac041f488 Merge branch 'jax-extensions' of https://github.com/dpvc/MathJax 2011-01-04 12:34:50 +11:00
Sean Hogan
74443b3205 Merge branch 'sqrt' of https://github.com/dpvc/MathJax 2011-01-04 12:08:55 +11:00
Sean Hogan
3f834d0cf3 Merge branch 'issue29' of https://github.com/dpvc/MathJax 2011-01-03 23:00:31 +11:00
Davide P. Cervone
a5190134e1 Add a blank line for consistent formatting 2011-01-02 09:23:12 -05:00
Davide P. Cervone
9b1c63acd1 Changed no-wrap to nowrap 2011-01-02 09:07:22 -05:00
Davide P. Cervone
e0da83e172 Allow config parameter and script to both be used together 2011-01-01 17:19:56 -05:00
Davide P. Cervone
f5c0ac5bcd Changes to allow output jax to be included in a combined configuration file (more careful synchronization is needed in order to make sure the jax is loaded before typesetting begins) 2011-01-01 16:44:48 -05:00
Davide P. Cervone
244069816a Since loadComplete calls Config and Startup, which require the page body to be nodified, wait for the onload handler to call loadComplete 2011-01-01 16:42:20 -05:00
Davide P. Cervone
9be0bfa9a7 Changes to make it possible to combine these into one large configuraiton file (In that case, MMLtoHTML should register the proper output jax, since both will be loaded) 2011-01-01 16:40:16 -05:00
Davide P. Cervone
eead123143 Add CSS to enforce NOBR default white-space (fixes issue #29) 2010-12-31 20:44:39 -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
a967955ddb Allow jax configuration block to specify extensions to be loaded when the jax is loaded (rather than needing to have them loaded at MathJax configuration time) 2010-12-31 19:50:45 -05:00
Davide P. Cervone
b24524afcf Merge dpvc/parallel branch 2010-12-30 14:37:37 -05:00
Davide P. Cervone
72c7d9fef4 Add spaces so that the next merge will identify the differences better 2010-12-30 14:33:18 -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
1ee6dffddc Fix some comments 2010-12-29 11:02:28 -05:00
Sean Hogan
9d76ae713c Add useProcessingFrame internal config and enable for Firefox, Safari, Chrome. 2010-12-24 13:45:52 +11:00
Davide P. Cervone
d504409219 Fix problem with nesting of math delimiters in InternalMath() 2010-12-09 13:20:44 -05:00
Sean Hogan
960e9a0eda Change the .MathJax_Processing frame to also contain the span used in getScales().
Also change the call arguments to getScales() from "div,span" to "span,span".
Together these provide a significant performance boost on Webkit browsers.
2010-12-09 13:40:17 +11:00
Sean Hogan
7df8b036f4 Revert "Place HDMspan for getScales() in its own position:fixed frame."
This reverts commit ea16da4641.
2010-12-09 12:17:24 +11:00
Sean Hogan
ea16da4641 Place HDMspan for getScales() in its own position:fixed frame. 2010-11-22 23:12:01 +11:00
Davide P. Cervone
167aedfa09 Put jax.js in a property of the jax so that it can be changed (e.g., to combine the jax with some of its components, or with other jax) 2010-11-17 22:09:48 -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