Commit Graph

65 Commits

Author SHA1 Message Date
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
9f1656df09 Bump version numbers and make packed/combined files for last two commits 2012-08-14 08:41:44 -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
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
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
b1233d332c Fix typo in EqnChunkDelay 2012-01-30 08:04:29 -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
a83c7c54b3 Move styles for MathJax_Preview to MathJax.js rather than HTML-CSS since it is used by all output jax 2012-01-08 20:20:22 -05:00
Davide P. Cervone
f16858cf11 Cosmetic changes 2011-10-19 22:42:03 -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
073e391c7c Remove unneeded reference to msieMarginScale, and add computation of outerEm 2011-09-27 16:22:52 -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
b69ef81e7b Use page font for merrors rather than forcing serif font 2011-09-22 08:15:05 -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
4ff36e7146 Merge branch 'issue128' with new-features (prevents user macros from being overridden by autoloaded extension) 2011-09-11 10:47:14 -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
a3afcbc6ef Merge branch 'issue38' with 'new-features' (adds better \color support) 2011-09-11 10:01:54 -04:00
Davide P. Cervone
b719fb481b Put chunk size back (was larger for debugging), and remove unneeded variable from mmultiscripts 2011-09-06 12:36:17 -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
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
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
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
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
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
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
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
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
f10ec864ea Update version numbers for merge with issue117 2011-05-18 10:00: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
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
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
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
a5661b5c1c Change versions to 1.1 and update copyright dates 2011-03-03 16:45:48 -05:00