Davide P. Cervone
905cf229eb
Make an HTMLCSS.unEm() function to undo HTMLCSS.Em(), and use that rather than parseFloat() so that the code is not dependent on the use of em's but could be converted to px, for example, if that helps some spacing issues.
2012-08-21 19:52:19 -04:00
Davide P. Cervone
b12c2bd77c
Fix misplaced \vec arrows in Opera (and IE). Resolves issue #237 .
2012-08-20 16:15:11 -04:00
Davide P. Cervone
f47dbc4cc0
Merge branch 'issue119' into develop
2012-08-20 10:13:25 -04:00
Davide P. Cervone
91df5dae5b
Combine multiple primes into single unicode characters. Issue #216 .
2012-08-20 09:05:57 -04:00
Davide P. Cervone
55a76151c0
Use the unicode characters that Fred has been asking for for a while. This covers most of issues #116 , #119 , and #216 . Still need to merge multiple primes into the characters for those.
2012-08-19 20:13:46 -04:00
Davide P. Cervone
98b39eca90
For stretchy characters that don't have a single-character version in the MathJax fonts, make sure they are properly sized when not stretched or stretched to a small size. Also, make vertical ones stand on the baseline, and improve spacing of some stretchy chars. Resolves issue #213 .
2012-08-19 08:08:15 -04:00
Davide P. Cervone
4f722d050f
Make mtextFontInherit use the style and weight indicated in the math, so that \textbf and \textit will work properly. Resolves issue #226 .
2012-08-17 19:35:50 -04:00
Davide P. Cervone
ecc14cf9b2
Make <mo>'</mo> produce script-positioned prime in MathJax fonts, while still allowing \prime to produce proper TeX output (a bit of contortion needed in the font remapping tables to allow it to override the character in MathJax_Main while still being able to use it for \prime). Resolves issue #268 .
2012-08-14 14:39:37 -04:00
Davide P. Cervone
35119a25c4
Provide a separate span for semantics elements so linebreaking works properly (resolves issue #247 )
2012-05-18 21:47:54 -04:00
Davide P. Cervone
fd74ad5dd9
Don't reuse an element with an ID with the wrong parent (resolves issue #240 )
2012-05-18 21:41:40 -04:00
Davide P. Cervone
5812cbcb9b
Make HTML-CSS and SVG output jax remove properly handle the Processed class when removing the previous results after a restart
2012-05-18 21:28:40 -04:00
Davide P. Cervone
920c603a4b
Have output jax properly skip math when the input jax has had an internal failure and so didn't produce any element jax. (Resolves issue #228.)
2012-04-11 11:50:15 -04:00
Davide P. Cervone
b08db7d93e
Fix problem in HTML-CSS output with msubsup when super- or subscript has explicit style
2012-03-06 10:02:42 -05:00
Davide P. Cervone
4522a15f50
Make sure height is above depth when making spaces and rules in HTML-CSS and SVG output
2012-02-17 10:41:22 -05:00
Davide P. Cervone
104775c795
Make font test against default font also include height, not just width, to help avoid the case where the test string is the same in the default font as the web font. Also, update the test strings to include characters that should help distinguish them better. Update the data files to the current versions of the fonts (lots of tiny differences, but nothing crucial)
2012-02-15 17:03:45 -05:00
Davide P. Cervone
301c7d1f2e
Actually delete the previews rather than just hide them (some screen readers don't properly handle them)
2012-02-12 20:08:53 -05:00
Davide P. Cervone
a8e844c1e7
Isolate MathJax images from page's float CSS
2012-02-09 14:20:57 -05:00
Davide P. Cervone
fe8c5b9899
Work around Opera's translation of font-weight:normal to font-weight:400
2012-02-08 14:18:45 -05:00
Davide P. Cervone
e3e843fd7a
Fix problem with handling of initial negative spaces when initialSpaceBug is true (Opera and IE).
2012-02-08 10:34:16 -05:00
Davide P. Cervone
d21d075463
Handle conflicts between inherited mathvariant and fontfamily properly. (Fixes problem with ms having default mathvariant='monospace' when fontfamily is specified). Fix bold for stretched operators when weight is specified numerically.
2012-02-08 09:03:00 -05:00
Davide P. Cervone
0b1f9dc0c3
Handle mixed mathvariant and styles in SVG output (like in HTML-CSS) and make explicit fontfamily, fontweight, or fontstyle (even inherited) override style setting. Finally, handle numeric font-wieght (Opera converts bold that 700)
2012-02-07 19:17:52 -05:00
Davide P. Cervone
54c6d43140
Handle mixing of mathvariant with style settings better (but this does mean that variants without the proper weight or style will remain unchanged)
2012-02-07 18:10:31 -05:00
Davide P. Cervone
6e8ff20e07
Make lspace and voffset handle bad unit better
2012-02-07 11:59:43 -05:00
Davide P. Cervone
bbac5d10ac
Use z-index=0 rather than 1 for Opera (that seems to be the default for positioned elements, but it needs to be specified for colored backgrounds to show up properly)
2012-02-06 11:51:27 -05:00
Davide P. Cervone
0a070ff628
Allow background colors to be shown properly in Opera (this may need additional checks)
2012-02-05 18:47:45 -05:00
Davide P. Cervone
f30f917c22
Fix problem with size of colored background when padding-left is present (discovered from Fred's testing).
2012-02-04 17:48:51 -05:00
Davide P. Cervone
99bb83a86f
Fix typo that causes italics to be lost in some circumstances
2012-02-02 19:08:45 -05:00
Davide P. Cervone
a9a3635ec0
Get scaling correct when fontfamily is specified (need two spans so that fontsize can be multiplied by factor to adjust for scaling of math)
2012-02-02 18:54:34 -05:00
Davide P. Cervone
99d7828839
Get size to work properly when style sets the font size
2012-02-02 16:29:46 -05:00
Davide P. Cervone
5694332a99
Another try at getting elements with text coming from multiple fonts to work properly.
2012-02-02 16:12:36 -05:00
Davide P. Cervone
23472e3f87
Add U+2032 through U+2037 to the STIX characters that must come from the variants font; don't special case U+2032 in TeX input or STIX font tables.
2012-01-31 14:09:24 -05:00
Davide P. Cervone
2a3608ee37
Make EqnChunk smaller for mobile devices, and implement the chunk delay (inadvertantly left out)
2012-01-30 16:58:11 -05:00
Davide P. Cervone
9d7b67a10c
Fix problem with extra space being added to class name (was causing mspace with background color to to show up properly)
2012-01-30 08:05:45 -05:00
Davide P. Cervone
02909ecba4
Update copyright dates and set version numbers to 2.0; repack and recombine
2012-01-25 09:23:45 -05:00
Davide P. Cervone
b02429e1ad
Have MathJax.js set up MathPlayer if it can (since delaying that is what causes crashes). Also make preview be hidden to prevent screen readers from seeing them once the math is typeset.
2012-01-22 17:40:46 -05:00
Davide P. Cervone
a4d08f6522
Improve font detection for WebKit browsers (still doesn't work for Safari/Win). May resolve issue #65 .
2012-01-19 18:48:11 -05:00
Davide P. Cervone
afb4257a83
Add WOFF fonts and use them in browsers that support them; fix error in font reporting in About box
2012-01-19 10:18:52 -05:00
Davide P. Cervone
db29cf3414
Fix a measuring problem in Firefox
2012-01-18 16:19:23 -05:00
Davide P. Cervone
0410bdc8ac
Remap bold combined negations to uncombioned pairs when they aren't in the web fonts
2012-01-18 12:27:42 -05:00
Davide P. Cervone
682fe27d7e
Remap letter-like symbols to the variants where they exist in teh web fonts
2012-01-16 17:17:39 -05:00
Davide P. Cervone
9a092fe68b
Modify accents to use better characters in some circumstances (basically the right arrow at the moment)
2012-01-15 15:26:36 -05:00
Davide P. Cervone
db55f22ba7
Handle pseudo-scripts better (don't translate <mo>'s that aren't in superscripts, and do translate the ones that are)
2012-01-14 20:30:13 -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
9763b5754f
Handle \not better (produce proper unicode points for negated characters, when possible, use \u0338 when possible, and do \mathrel{\rlap{/}} otherwise). Add remappings to convert unavailable combinations back to combining characters for web-based fonts (this also makes it possible to handle double and tripple prime unicode code points).
2012-01-14 15:05:47 -05:00
Davide P. Cervone
1b20e06e30
More fixes to make multi-character elements with characters taken from different fonts work out better
2012-01-14 13:23:34 -05:00
Davide P. Cervone
5b62a98b1b
Fix problem with font change within an element (when the variant is still the same one, which was the old condition; now use font name)
2012-01-13 19:31:58 -05:00
Davide P. Cervone
bb35eb004c
Add full support for unicode planes 1 through 10 (both in \unicode{}, as input, and in HTML-CSS and SVG output)
2012-01-13 12:29:44 -05:00
Davide P. Cervone
266360e9d2
Don't combine mathvariant and fontstyle or fontweight (Fred pointed out this isn't supposed to happen)
2012-01-12 18:54:57 -05:00
Davide P. Cervone
af2cd3476f
Update \unicode to work with SVG, and to better handle fonts and sizes. Also fix HTML-CSS font size when fontfamily is specified
2012-01-12 17:20:21 -05:00
Davide P. Cervone
e4089cfd6e
Properly handle width of border and padding in merrors in HTML-CSS output
2012-01-09 11:58:19 -05:00
Davide P. Cervone
6e4ac11c91
Make font timeout longer, and make even longer for mobile devices. Only switch to image fonts if the first web font fails to load (if one loaded, you should get the others).
2012-01-06 20:35:26 -05:00
Davide P. Cervone
6aec9ae573
Add unknownChar() function and have it post a signal for undefined characters
2012-01-06 19:11:47 -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
c223b6bc8c
Make \it use MathJax_Main-Italic rather than MathJax_Math-italic, and don't do math italic correction (so spacing is correct for text)
2011-11-20 17:31:10 -05:00
Davide P. Cervone
aa81d8e8ee
Fix spacing problem with \cong in regular and bold fonts. Resolves issue #162 for now until fonts can be repaired.
2011-11-20 17:02:26 -05:00
Davide P. Cervone
393a6390df
Handle italic correction better in HTML-CSS (not just in munderover and msubsup)
2011-11-15 15:07:30 -05:00
Davide P. Cervone
06e17c3eb3
Handle italic correction better, and fake the value for mi and mo, since we don't currently have the data in the font data files
2011-11-13 17:13:44 -05:00
Davide P. Cervone
9f4f88a531
Fix problem with colored mspace being too tall in IE/quirks mode
2011-11-04 21:17:29 -04:00
Davide P. Cervone
a5812c6e43
Change String().fromCharCode() to direct \uXXXX in a string, and make em and ex sizes be vertical rather than horizontal (this was confusing browsers on mobile devices, where the width wasn't big enough for the number of ems used to determine the size)
2011-11-03 17:09:45 -04:00
Davide P. Cervone
be653f4e11
Save ex value at the same location as other values
2011-10-27 08:48:24 -04:00
Davide P. Cervone
f16858cf11
Cosmetic changes
2011-10-19 22:42:03 -04:00
Davide P. Cervone
19977a6b23
Force a reflow when equations are shown so that misplaced equations get properly placed (resolves issue #24 )
2011-10-17 05:46:16 -04:00
Davide P. Cervone
0c523ac8df
Fix problem with width of backrgound color and borders for mtable
2011-10-17 05:27:11 -04:00
Davide P. Cervone
d2afb71a3d
Move computation of line width for automatic linebreaks to the preTranslate routine, so only one reflow is needed
2011-09-27 22:58:18 -04:00
Davide P. Cervone
23ae282020
Fix a typo in the bounding box in createSpan (which affected tags in Opera and IE7). Add missing mtextFontInherit configuration parameter.
2011-09-22 21:41:11 -04:00
Davide P. Cervone
d15a820a0e
Allow mtext to be typeset in the surrounding text font rather than MathJax fonts, provided the mtextFontInherit flag is set to true in the HTML-CSS block of the configuration (resolves issue #21 , and should improve issues #19 and #40 )
2011-09-22 00:14:19 -04:00
Davide P. Cervone
9c03400d76
Fix the scriptlevel when munderover has base with movablelimits in non-display mode (reported by Fred)
2011-09-21 23:11:03 -04:00
Davide P. Cervone
a6a651c6bd
Allow Firefox to use web fonts when a local URL uses MathJax from the CDN
2011-09-20 15:57:05 -04:00
Davide P. Cervone
6910620f4a
Use absolute width in pixels rather than relative widht in em's to work around margin scaling bug in IE (documentMode <= 7). This avoids the cumbersome msieMarginScale measurements and multiplication factor, which was touchy at best.
2011-09-20 11:45:35 -04:00
Davide P. Cervone
9c6044a98a
Cache the default Ex amd Em sizes rather than look them up each time
2011-09-20 08:40:35 -04:00
Davide P. Cervone
29f1823deb
Fix a couple of issues for IE (extra comma, wrong element name, and better handling of readyState)
2011-09-18 23:39:19 -04:00
Davide P. Cervone
d37ba91b6b
Use proper bar character for STIX stretchy arrows from bar, and properly handle zero-width characters in createChar()
2011-09-18 21:05:25 -04:00
Davide P. Cervone
baeaf82f91
Use proper scaling factor for zoom in HTML-CSS output, and don't set a font on the zoom frame
2011-09-18 17:16:50 -04:00
Davide P. Cervone
a675b397c7
Merge branch 'issue138' into v2.0-candidate (resolving conflicts, and fixing some issues with zoom and menus)
2011-09-11 14:43:21 -04:00
Davide P. Cervone
d5f2ab74f3
Merge branch 'performance' into v2.0-candidate (still need to optimize linebreak measurements)
2011-09-11 13:13:22 -04:00
Davide P. Cervone
b5d23c72fa
Merge branch 'new-features' into merge-features (in preparation for merging with v2.0-candidate), and fix hover zoom trigger when discoverability is disabled
2011-09-11 12:42:27 -04:00
Davide P. Cervone
3f4f54e2c0
Merge branch 'zoom-update' into v2.0-candidate
2011-09-11 11:51:14 -04:00
Davide P. Cervone
a9b53b8bb7
Merge 'htmlcss-fixes' into v2.0-candidate (after resolving conflicts)
2011-09-11 11:16:18 -04:00
Davide P. Cervone
e4483d0d2d
Merge branch 'issue170' into html-css
2011-09-11 10:37:08 -04:00
Davide P. Cervone
4937810570
Merge branch 'linebreaks' into new-features (adds automatic line breaking)
2011-09-11 10:26:28 -04:00
Davide P. Cervone
fcefc54b20
Merge branch 'issue71' into new-features (adds line numbering, \label and \ref)
2011-09-11 10:10:48 -04:00
Davide P. Cervone
2ace71f35e
Merge with issue93 (adds extensible arrows), and resolve conflicts
2011-09-11 09:47:41 -04:00
Davide P. Cervone
5b6b57af86
Make units of mu's be relative to the scriptlevel (resolves issue #147 )
2011-09-10 22:15:18 -04:00
Davide P. Cervone
05f9bed529
Properly handle math that is inside a display:none element, and localize an accidental global variable
2011-09-10 15:49:44 -04:00
Davide P. Cervone
a4861dde5d
Don't use setTimeout() if the delay is 0, and use delay of 0 for loading web fonts to avoid an IE9 bug (resolves issue #170 )
2011-09-10 08:48:41 -04:00
Davide P. Cervone
3717fcfb57
Measure mtable entries all at once (to reduce reflows)
2011-09-06 12:51:34 -04:00
Davide P. Cervone
b900adc953
Do measuring of subformulas all at once (for mfrac, msqrt, msubsup, munderover, mmultiscripts). Still need to do mtable
2011-09-06 12:34:51 -04:00
Davide P. Cervone
cd6297fc01
Simplify getW slightly, and add ability to measure multiple elements in at once (so mfrac, msup, etc. can measure all parts at once -- not optimal but better than now). Change negativeSkipBug to initialSkipBug, since it affects both negative and positive skips.
2011-09-06 11:20:08 -04:00
Davide P. Cervone
f85e739eca
Put back the calculation for msieMarginScales (it turns out it really was needed)
2011-09-06 10:58:44 -04:00
Davide P. Cervone
17f03acbbe
Simplify login in getW and handle IE7 problem with initial space in the span
2011-09-06 08:52:31 -04:00
Davide P. Cervone
ccdefebc2e
Removed debugging code left in the previous commit
2011-09-05 23:43:03 -04:00
Davide P. Cervone
734089fa13
Add a factor so that the chunk size gets bigger after each chunk (so the initial part of the page is shown quickly, but long pages don't slow down so badly). This probably needs some experimental data to get teh factor and chunk size right.
2011-09-05 22:58:13 -04:00
Davide P. Cervone
5be76da6fe
Don't measure then remeasure stretched embelished operators (saves a reflow)
2011-09-05 21:01:59 -04:00
Davide P. Cervone
bb3129d5db
Add EqnChunk configuration parameter for how many equations to reveal at one time (they are marked display:none until this many are ready, and then all revealed at once
2011-09-04 13:05:19 -04:00
Davide P. Cervone
0145248359
Pass state rather than scripts to pre- and postTranslate methods (let them get the scripts from the state)
2011-09-04 12:34:17 -04:00
Davide P. Cervone
922fc81461
Fix a typo that I missed in the previous commit
2011-09-02 11:41:55 -04:00
Davide P. Cervone
c1a5ba16a3
Save heights when getting widths (so don't need to do offsetHeight in placeBox, or rely on assumptions)
2011-09-02 11:33:22 -04:00
Davide P. Cervone
a97410976e
Mark bounding boxes known to be exact so that they don't have to be remeasured later
2011-08-31 16:49:10 -04:00
Davide P. Cervone
b62847c57e
Replace getW with a better version, and avoid offsetHeight in placeBox when posible. Make some IE bugs dependent on mode (since IE9 doesn't need them)
2011-08-31 12:40:30 -04:00
Davide P. Cervone
0fbba16dbe
No need for useProcessingFrame any more (just set styles on the MathJax span itself)
2011-08-30 19:47:45 -04:00
Davide P. Cervone
7b32411bf7
Fix marginScale problem with IE <= 7, and inline display problem with IE >= 8. Don't assign default font to MathJax (it is not needed, since we set the font explicitly on text items)
2011-08-30 12:35:51 -04:00
Davide P. Cervone
b214da2436
Replace getScales and getMarginScale by actions in the preTranslate method. Also add hideProcessedMath option to set display:none on completed expressions (for IE performance)
2011-08-29 19:21:20 -04:00
Davide P. Cervone
7042c1d64f
Handle preTranslate in HTML-CSS jax, and don't make a redundent scripts list if there is only one output jax in use
2011-08-28 20:03:53 -04:00
Davide P. Cervone
45a9d25406
Make thin rules be in pixels to try to improve results in IE (disappearing division lines, see issue #161 )
2011-08-27 17:14:55 -04:00
Davide P. Cervone
28de47ac51
Don't allow font test div to wrap (might be the cause of problems in portrait mode in mobile devices when large fonts are in use
2011-08-26 16:37:26 -04:00
Davide P. Cervone
acf080caae
Clean up Zoom functions, in particular some of the IE complications; move getBBox to MathEvents
2011-08-25 19:45:25 -04:00
Davide P. Cervone
975fe6e679
Move output-jax-specific zoom code to jax, and fix some other minor issues (stil need to check with IE and then repack and recombine)
2011-08-24 20:53:52 -04:00
Davide P. Cervone
3edf60dc0f
Update menu items for easier access, and use more variables to access MathJax components, when possible; remove some unneeded variables from NativeMML jax.
2011-08-24 15:31:06 -04:00
Davide P. Cervone
9769ba0d64
Rename UIevents as MathEvents
2011-08-24 10:31:21 -04:00
Davide P. Cervone
849ce80599
Move some more common code to UIevents; add support for configuring discoverability; make frame always be in pixels rather than sometimes em's; add comments to UIevents
2011-08-23 12:40:52 -04:00
Davide P. Cervone
9289568584
Add support for MathPlayer in IE9 and lower, plus add support for hover when maction is used, and support for the hover in the API calls
2011-08-22 18:39:28 -04:00
Davide P. Cervone
fd587eb745
Add 'discoverability' to NativeMML output (still have to work on IE support)
2011-08-22 11:07:30 -04:00
Davide P. Cervone
42306c4b0c
Move event-handling code to a separate file, loaded by output jax (so if MathJax is loaded on a page with no math, it doesn't have to be loaded)
2011-08-19 18:31:43 -04:00
Davide P. Cervone
3a8a9f5df9
Move hover support to MathJax.js (next commit will move it all to a separate extension)
2011-08-19 14:41:29 -04:00
Davide P. Cervone
2367f0e92b
Preliminary 'discoverable' math implementation. INCOMPLETE: DO NOT USE YET. Only in HTML-CSS mode, and still need to refactor to move event code to common file. Does support mobile devices through tap event. Does not include packed or combined versions yet.
2011-08-19 09:19:22 -04:00
Davide P. Cervone
5b421d32d1
Refactor event handling to move common routines to MathJax.HTML.Event (in preparateion for handling hover discoverability
2011-08-17 20:26:25 -04:00
Davide P. Cervone
56e6e1fe8b
Mark all HTML-CSS output elements as isMathJax, so it can be used to identify what elements are part of mathematical output
2011-08-16 19:49:45 -04:00
Davide P. Cervone
816d2cbcfd
Add touch event support for mobile devices so they can access the menus (still need to work on Firefox support, but works for WebKit-based mobiles)
2011-08-14 20:17:42 -04:00
Davide P. Cervone
69c42b866e
Implement automatic linebreaking in HTML-CSS output, and improve explicit linebreaking. (This is one of the v1.2 milestones)
2011-08-11 14:54:43 -04:00
Davide P. Cervone
5df49e3d18
Have getW use offsetWidth if there is an explicit width (no need for more complicated measuring in that cas). Resolves an Opera bug reported by Fred.
2011-08-05 09:17:01 -04:00
Davide P. Cervone
4f4234129f
Fix problem where mspace with a background color would not always overlay previous items (detected in on of Fred's tests)
2011-08-04 12:55:44 -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
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
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
bd2fb28932
Merge with master (brining up to adate with v1.1a)
2011-07-24 10:07:30 -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
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
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
9cc3bda487
Resolve conflicts from issue112, repack and recomine
2011-05-18 10:24:05 -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
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
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
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
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
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
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
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
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
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
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
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
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
0255e0c6bf
Move creation of FONTTEST to Config(), since it relies on document.body being available
2011-01-20 08:19:10 -05:00
Sean Hogan
7a5f979f54
A fix for 'issue49' on Opera
2011-01-12 23:37:24 +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
Sean Hogan
41c754f532
Merge branch 'combine' of https://github.com/dpvc/MathJax
2011-01-05 23:33:27 +11:00
Sean Hogan
74443b3205
Merge branch 'sqrt' of https://github.com/dpvc/MathJax
2011-01-04 12:08:55 +11:00
Davide P. Cervone
9b1c63acd1
Changed no-wrap to nowrap
2011-01-02 09:07:22 -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
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
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
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
Sean Hogan
9d76ae713c
Add useProcessingFrame internal config and enable for Firefox, Safari, Chrome.
2010-12-24 13:45:52 +11: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
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