Commit Graph

556 Commits

Author SHA1 Message Date
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
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
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
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
0573683989 Merge branch 'issue294' into develop 2012-08-22 06:24:28 -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
1db983a31b Add missing svg parameter to SVGhandleSpace() in SVG output for mmultiscripts. Resolves issue #294. 2012-08-21 19:47:50 -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
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
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
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
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
f8e3f3557f Use variant form for more primes in SVG output (match HTML-CSS output). Resolves problem identified by Fred in issue #268. 2012-08-17 10:35:46 -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
332dad309c Merge 'issue268' into develop 2012-08-16 11:39:47 -04:00
Davide P. Cervone
b40ca8cde4 Make the changes to font handling to SVG (just like HTML-CSS) so that &#x2032; will be displayed better in AsciiMath output. 2012-08-16 11:35:14 -04:00
Davide P. Cervone
d914f42563 Merge branch 'issue244' into develop 2012-08-16 09:20:17 -04:00
Davide P. Cervone
8709200381 Merge 'issue234' into develop 2012-08-16 09:19:34 -04:00
Davide P. Cervone
bb7f76158c Bump version number and recombine after prevous pull from Fred 2012-08-16 09:12:23 -04:00
Frédéric Wang
1120b713a4 Merge branch 'develop' into issue214
Conflicts:
	jax/output/NativeMML/jax.js
2012-08-16 14:48:07 +02:00
Davide P. Cervone
c5de4397a4 Merge 'issue209' into develop 2012-08-15 15:52:40 -04:00
Davide P. Cervone
888140d34d Properly handle the scale configuration parameter. (Resolves issue #244.) 2012-08-15 14:59:12 -04:00
Davide P. Cervone
a51c306dc1 Be sure to keep initial + when converting em's to mu's. Resolves issue #285. 2012-08-15 12:58:45 -04:00
Davide P. Cervone
26fb134eea Merge branch 'issue219' into develop 2012-08-15 11:03:48 -04:00
Davide P. Cervone
46f2941d5a Merge branch 'issue230' into 'develop' 2012-08-15 11:03:01 -04:00
Davide P. Cervone
f71f84e35b Merge branch 'issue242' into 'develop' 2012-08-15 11:00:52 -04:00
Davide P. Cervone
e86153d59b Merge branch 'issue263' into 'develop' 2012-08-15 10:57:52 -04:00
Davide P. Cervone
eb2afc8dec Merge branch 'issue268' into 'develop' 2012-08-15 10:54:32 -04:00
Davide P. Cervone
0a65cac0a1 Merge branch 'issue274' into develop 2012-08-15 10:51:34 -04:00
Davide P. Cervone
1a09ec5ef1 Make sure 'embellished' function names propagate their texClass. Resolves issue #263. 2012-08-14 17:25:42 -04:00
Davide P. Cervone
2932430f34 Fixed problem where \\ with whitespace followed by [ would incorrectly be interpretted as \\[dimen]. Resolves issue #230. 2012-08-14 17:04:31 -04:00
Davide P. Cervone
e2cb0b7042 Fix problem with SVG handling of \liminf and \limsup. Resolves issue #219. 2012-08-14 16:50:50 -04:00
Davide P. Cervone
8ff5b925d8 Fix setTeXclass for TeXatom so that it handles the spacing for relations correctly. Resolves issue #242. 2012-08-14 15:52:38 -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
aa7440244a Add more CSS to isolate NativeMML output from page. (Resolves issue #274.) 2012-08-14 12:47:53 -04:00
Davide P. Cervone
0c02ab2670 Handle primes followed by superscript as TeX does in TeX input jax (resolves issue #278) 2012-08-14 11:34:36 -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
Frédéric Wang
32bfe5a584 Firefox 13: remove work around for mtable@width in native MathML ouput mode (issue 214) 2012-06-18 12:33:39 +02: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
fd74ad5dd9 Don't reuse an element with an ID with the wrong parent (resolves issue #240) 2012-05-18 21:41:40 -04:00
Davide P. Cervone
5812cbcb9b Make HTML-CSS and SVG output jax remove properly handle the Processed class when removing the previous results after a restart 2012-05-18 21:28:40 -04:00
Davide P. Cervone
f886be9260 Fix an error in the alias for \u005E (^) which caused it to show as a plus 2012-05-18 21:13:56 -04:00
Davide P. Cervone
18ef3d64cc Merge branch 'issue222' into develop 2012-05-18 21:02:45 -04:00
Davide P. Cervone
adc375b343 Merge branch issue228 into develop 2012-05-18 21:02:08 -04:00
Davide P. Cervone
88108a167f Merge branch 'issue227' into develop 2012-05-18 20:59:47 -04:00
Davide P. Cervone
edfd102702 Merge issue209 with develop 2012-05-18 20:59:40 -04:00
Davide P. Cervone
c16952b51d Fix offsets for greek letters to get capitals and lower case in the right place (resolves Fred's comment in issue #222) 2012-04-30 10:33:44 -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
544e37bebd Check for null operator when processing \limits (resolves issue #227) 2012-04-11 11:11:14 -04:00