Commit Graph

130 Commits

Author SHA1 Message Date
Davide P. Cervone
0772d97a6a Merge branch 'issue210' into develop 2012-09-04 06:08:15 -04:00
Davide P. Cervone
651b99eb96 Merge branch 'issue274' into develop 2012-09-03 09:08:22 -04:00
Davide P. Cervone
ecf512e73a Previous commit in this branch was too agressive about setting display to in-line; now use span.MathJax_MathML and div.MathJax_MathML to get it right. Issue #274. 2012-09-03 09:01:35 -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
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
6e4f6f00cd Merge branch 'issue267' into develop 2012-08-22 09:39:38 -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
f8ae50f4e6 Handle U+2061 better (after making previous node an OP, skip the <mo> containing the U+2061). Resolves Fred's new comments in issue #267. 2012-08-22 08:52:59 -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
55f735c65f Merge branch 'issue267' into develop 2012-08-21 10:41:48 -04:00
Davide P. Cervone
3558241ca7 Don't be so aggressive about turning <mi> into texClass OP. Change back if followed by BIN or REL, and change anything to OP if followed by U+2061. 2012-08-20 19:08:26 -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
d38774b014 Repack AMSmath and recombine 2012-08-20 09:54:26 -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
c1097dc29c Merge branch 'issue213' into develop 2012-08-20 08:49:35 -04:00
Davide P. Cervone
e325cf9acf Merge branch 'issue229' into develop 2012-08-20 08:49:18 -04:00
Davide P. Cervone
81ce9ec446 Merge 'issue249' into develop 2012-08-20 08:41:57 -04:00
Davide P. Cervone
abaa72e102 Remove unwanted 'em' from eqnarray columnwidth (reported by Fred). Issue #229. 2012-08-20 08:33:05 -04:00
Davide P. Cervone
e25d84d30f Make <mi> with more than one letter have tex class OP rather than ORD so it will space as a function. This takes care fo things like sin and cos, and should not interfer with other uses like variables with multi-character names. Resolves issue # 267. 2012-08-19 14:53:07 -04:00
Davide P. Cervone
9340a02d72 Prevent align attribute on mtable from applying to mover/munder/munderover elements. Resolves issue #249 2012-08-19 09:28:24 -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
085ecf46b2 Bump version, pack and recombine previous commit 2012-08-19 09:04:07 -04:00
Davide P. Cervone
0236ee5a54 Merge branch 'issue286' into develop 2012-08-18 19:33:54 -04:00
Davide P. Cervone
9fe3f9eb15 Merge branch 'issue226' into develop 2012-08-18 19:33:33 -04:00
Davide P. Cervone
1fc8929667 Repack and recombine (missed a packing somewhere along the line). Fixes the problem Fred reports with tests using packed versions. 2012-08-18 08:43:44 -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
c481c9f375 Allow decimal scale values. Fix setting of scale to work with SVG. Resolves issue #286. 2012-08-17 18:40:17 -04:00
Davide P. Cervone
c8b9755caf Fix for problem reported by Fred in issue #278. 2012-08-16 14:18:09 -04:00
Davide P. Cervone
481373994f Merge 'issue225' into develop 2012-08-16 11:42:23 -04:00
Davide P. Cervone
332dad309c Merge 'issue268' into develop 2012-08-16 11:39:47 -04:00
Davide P. Cervone
8709200381 Merge 'issue234' into develop 2012-08-16 09:19:34 -04:00
Davide P. Cervone
fe02e699a7 Merge branch 'issue215' into develop 2012-08-16 09:16:41 -04:00
Davide P. Cervone
bb7f76158c Bump version number and recombine after prevous pull from Fred 2012-08-16 09:12:23 -04:00
Davide P. Cervone
c5de4397a4 Merge 'issue209' into develop 2012-08-15 15:52:40 -04:00