Commit Graph

80 Commits

Author SHA1 Message Date
Davide P. Cervone
b8561b07bf Merge branch 'localization' into develop 2013-04-29 19:25:03 -04:00
Davide P. Cervone
594043e330 Use ems (rounded to nearest pixel) for Chrome. Rounding makes the placement work more reliably, while still being in relative units. Resolves issue #443. 2013-04-22 08:26:38 -04:00
Davide P. Cervone
debc24047f Make final math size be in relative units so that it prints even if print media has a different font size. Resolves issue #386. 2013-04-17 17:21:09 -04:00
Davide P. Cervone
660f38959a Make constant messages be translated when they are used rather than when they are defined. Rework About box, add menu ID's. Make TeX.Error() and MathML.Error() handle localization. Break up Fred's French data into separate files. Make localization data load on demand. Other miscellaneous updates. 2013-04-03 17:24:14 -04:00
Frédéric Wang
4fdb68a080 More attempts to translate messages. 2013-02-22 13:56:52 +01:00
Davide P. Cervone
07a557324b Bump versions, repack, and recombine previous commit. 2012-11-27 14:42:07 -05:00
Davide P. Cervone
6ef9fb6d87 Make tool tips appear above zoom boxes (resolves issue #351). 2012-11-27 14:19:48 -05:00
Davide P. Cervone
aa5829849f Update version numbers to v2.1 2012-09-24 21:06:28 -04:00
Davide P. Cervone
c7e80eca6f Work around Chrome bug with MathJax web fonts that affects some combining characters. Add support for spacing characters (and in particular, negative spacing) to make that easier to do. Resolves issue #239. 2012-09-04 16:34:26 -04:00
Davide P. Cervone
f86e3282ab Only token elements should consider mathsize in HTMLgetScale() or SVGgetScale(). Resolves issue #251. 2012-08-28 20:07:07 -04:00
Davide P. Cervone
3e0f993d7f Put back parseFloat in one place that unEm() was incorrectly used. 2012-08-23 09:07:10 -04:00
Davide P. Cervone
1f23972b00 Force final math span to be remeasured so that we are sure the container is the right size. Resolves issue #272. 2012-08-22 06:54:48 -04:00
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
939c1dc034 Bump version, repack, and recombine previous commit. Issue #213. 2012-08-19 09:12:06 -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
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