Commit Graph

1147 Commits

Author SHA1 Message Date
Davide P. Cervone
1abbc73414 Merge branch 'issue236' into develop 2012-09-09 06:51:47 -04:00
Davide P. Cervone
0ad0380418 Merge branch 'issue245' into develop 2012-09-09 06:45:54 -04:00
Davide P. Cervone
fd4d6c5788 Repack and recombine previous commit. 2012-09-08 15:31:41 -04:00
Davide P. Cervone
983dd18b69 Allow negative dimensions for \\[] but clip to 0 since this isn't really allowed in MathML. I will need to figure out something better for the future, but for now this will prevent the error message. Issue #236. 2012-09-08 15:31:07 -04:00
Davide P. Cervone
261db5c303 Repack and recombine previous commit. 2012-09-08 14:27:49 -04:00
Davide P. Cervone
23c8dcc8d3 Delay sizing and positioning of Show Source window to give WebKit time to get the dimensions worked out. Also make sure we don't use negative width or height (which I think was the problem with Chrome). Resolves issues #245 and #221. 2012-09-08 14:27:03 -04:00
Davide P. Cervone
0ed5d463e5 Merge branch 'issue217' into develop 2012-09-08 10:36:30 -04:00
Davide P. Cervone
89bd7796de Repack and recombine NativeMML jax, which seems to have been left with a conflict from a previous commit. 2012-09-06 11:12:32 -04:00
Davide P. Cervone
d9e019b790 Merge branch 'issue297' into develop 2012-09-06 11:10:50 -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
b1c41f4107 Merge branch 'issue308' into develop 2012-09-06 10:04:33 -04:00
Davide P. Cervone
b52d9d4aa9 Merge branch 'IE10' into develop 2012-09-06 10:03:53 -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
bf680988b9 Merge branch 'develop' into IE10 2012-09-04 09:33:06 -04:00
Davide P. Cervone
a30d9067fe Handle positioning to a hash URL when the link is to an element within SVG output. Resolves remainder of issue #297. 2012-09-04 08:53:20 -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
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
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
688de8ee2b Remove console.log() calls that were inadvertantly left in. (argh!) Issue #210. 2012-09-01 12:44:13 -04:00
Davide P. Cervone
0d89653706 Improve testing for parent span being correct. 2012-09-01 12:29:16 -04:00
Davide P. Cervone
42998e00e5 Fix problem with taking style of null element reported by Fred in issue #210. 2012-09-01 12:27:10 -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
77c65fb333 Ignore _moz-math-* attributes in MathML input. Addresses Fred's comments in issue #304. 2012-08-31 16:26:52 -04:00
Davide P. Cervone
44c0ccc3ec Merge branch 'issue298' into develop 2012-08-31 09:41:38 -04:00
Davide P. Cervone
2c9a585e08 Merge branch 'issue255' into develop 2012-08-31 09:41:00 -04:00
Davide P. Cervone
ec47a05e16 Removed TeX modifications from SVG fontdata (should have been done in previous commit). Issue #300. 2012-08-31 09:11:58 -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
b58c667f8b Add onclick handler to make href's work in all browsers in SVG mode. Resolves issue #297. 2012-08-28 19:25:38 -04:00
Davide P. Cervone
c1ae9afe0c Only add xmlns in toMathML output if it isn't already given. Resolves issue #304. 2012-08-28 15:41:26 -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
c2f6a94e10 Make jsMath2jax run before other preprocessors (use priority 8 rather than default of 10). Resolves issue #298. 2012-08-24 16:06:23 -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