Commit Graph

286 Commits

Author SHA1 Message Date
Davide P. Cervone
5921c8cb84 Make IE9 and IE10 use SVG for menclose rather than SVG (when in a document mode that supports it). Resolves issue #324. 2012-09-29 15:54:22 -04:00
Davide P. Cervone
e7b29726b6 Merge branch 'issue317' into develop 2012-09-29 15:06:36 -04:00
Davide P. Cervone
aa5829849f Update version numbers to v2.1 2012-09-24 21:06:28 -04:00
Davide P. Cervone
35fe82c5db Repack and recombine previous commit. 2012-09-24 20:45:27 -04:00
Davide P. Cervone
8d0b6f5189 Merge branch 'issue305' into develop 2012-09-10 19:12:39 -04:00
Davide P. Cervone
cf94772f24 Repack and recombine previous commit in this branch 2012-09-10 19:01:19 -04:00
Davide P. Cervone
9025855ce2 Merge branch 'issue310' into develop 2012-09-09 06:56:22 -04:00
Davide P. Cervone
3802fa337a Repack and recombine the previous commits 2012-09-08 21:32:59 -04:00
Davide P. Cervone
0ed5d463e5 Merge branch 'issue217' into develop 2012-09-08 10:36:30 -04:00
Davide P. Cervone
0ad314bdf6 Bump version and repack previous commit 2012-09-08 10:29:42 -04:00
Davide P. Cervone
38c2f569f9 Merge branch 'issue239' into develop 2012-09-06 10:13:11 -04:00
Davide P. Cervone
7ea6ce84b1 Merge branch 'issue304' into develop 2012-09-06 10:08:01 -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
7aedaa973f Fix processing error when rowalign has a bad value. Fixes problem reported by Fred in issue #304. 2012-09-04 07:28:33 -04:00
Davide P. Cervone
574e060463 Use MathJax message area rather than window status line for mactaion with actiontype='statusline' to avoid security restrictions in some browsers. Resolves issue #308. 2012-09-04 06:20:26 -04:00
Davide P. Cervone
0772d97a6a Merge branch 'issue210' into develop 2012-09-04 06:08:15 -04:00
Davide P. Cervone
c9984345d6 Move span that holds zoom box to after the displayed math so that line breaks won't occur between the two. Adjust getJaxFromMath to compensate. Resolves second item from issue #217. 2012-09-03 08:40:06 -04:00
Davide P. Cervone
0d89653706 Improve testing for parent span being correct. 2012-09-01 12:29:16 -04:00
Davide P. Cervone
2f8a30a362 Handle minsize on vertical stretching as well as horizontal. Also fix a vertical placement problem with stretched elements in tables in HTML-CSS, and improve performace for placeing the extension characters by making sure we have the bbox for them. Issue #210. 2012-09-01 11:21:34 -04:00
Davide P. Cervone
076526787e Merge branch 'issue300' into develop 2012-08-31 16:38:23 -04:00
Davide P. Cervone
2c9a585e08 Merge branch 'issue255' into develop 2012-08-31 09:41:00 -04:00
Davide P. Cervone
5b698c20c2 Restore the use of scanW that was removed in an earlier commit (it turns out to be needed after all, as info.scanW is changed in the recursive calls). Issue #255. 2012-08-30 14:35:03 -04:00
Davide P. Cervone
dc9e4a760e Allow line breaks at delimiters and separators in mfenced elements, and fix up some issues with lines going over the maximum width (due to forgetting to add width of first element after a split). Resolves issue #255. 2012-08-30 13:54:32 -04:00
Davide P. Cervone
34a9af5180 Fix mfenced so that when it contains a line break the delimiters and separators are not lost. Resolves issue #255 (but separators currently aren't able to be breakpoints, so more needs to be done). 2012-08-29 23:28:20 -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
037e5eb895 Merge branch 'issue295' into develop 2012-08-28 15:28:39 -04:00
Davide P. Cervone
e3943746e9 Merge branch 'issue119' into develop 2012-08-28 15:26:51 -04:00
Davide P. Cervone
da66d4b684 Remove dependencies of TeX->MathML conversion on the choice of fonts (TeX versus STIX). This no longer worked since the input and output phases have been separated (and it was never a good idea anyway). This necessiated changing some choices of characters to be produced, and which would be considered the variant form. The selections were made to match the STIX fonts, and some fancy remapping was done in the MathJax fonts to accommodate that. Should resolve issue #300. 2012-08-28 14:33:50 -04:00
Davide P. Cervone
c38e683321 Fix TeXatom to properly handle Core, CoreMO, and isEmbellished calls, and fix CoreParent to include TeXAtom properly. This fixes a problem with \vec not producing the correct character for \vec{\mathbf{B}} for example. Issue #119. 2012-08-24 10:15:35 -04:00
Davide P. Cervone
38ccfc4cbe One more place tht unEm should not have been used. 2012-08-24 06:53:28 -04:00
Davide P. Cervone
4594333277 Don't make mspace use handleSize, since it doesn't need to have font-size set. This was causing problems with the change to px from em's in Chrome. Should resolve problems Fred found with issue #295. 2012-08-24 06:52:03 -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
17738b2bcd Merge branch 'issue254' into develop 2012-08-23 09:03:50 -04:00
Davide P. Cervone
cba02baaba Merge branch 'issue237' into develop 2012-08-22 17:55:14 -04:00
Davide P. Cervone
6b87ad787d Make Chrome handle horiztonal stretchy characters better so that the ends don't misalign with the middle. This was affecting the overline in the square root, for example. Resolves a second part of issue #295 2012-08-22 14:52:35 -04:00
Davide P. Cervone
b5931896a5 All browsers seem to need the zeroWidthBug fix, so remove check and assume true. Should fix Fred's latest problem with issue #237. 2012-08-22 12:08:41 -04:00
Davide P. Cervone
76f52f6462 Make Chrome use px rather than em for better vertical alignment, and force placeBox to round to nearest pixel for baseline alignment spans. Also check that the height matches what we actually specified (but this means a page reflow, which will cost some performance in Chrome). Resolves issue #295. 2012-08-22 10:50:42 -04:00
Davide P. Cervone
87c8d378e5 Force final math span to have width in pixels, which makes it work if a minimum font size is set. Resolves issue #254. 2012-08-22 09:02:47 -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
34fa4ad062 Merge branch 'issue237' into develop 2012-08-22 06:26:12 -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
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
939c1dc034 Bump version, repack, and recombine previous commit. Issue #213. 2012-08-19 09:12:06 -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
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