Commit Graph

761 Commits

Author SHA1 Message Date
Davide P. Cervone
d044f4c8f4 Merge v2.0-candidate into SVG 2011-12-07 14:07:47 -05:00
Davide P. Cervone
fbedcb7a72 Another attempt to handle version for off-brand Gecko browsers (resolves issue #177 I hope) 2011-12-07 13:58:07 -05:00
Davide P. Cervone
da73d8cfb1 Handle lower-case Greek better and properly mark weight and style of characters not in the MathJax fonts 2011-12-07 13:56:38 -05:00
Davide P. Cervone
091551dab1 Removed debugging code accidentally left in 2011-11-20 23:05:27 -05:00
Davide P. Cervone
6a09817aa3 Prevent default action when close image is pressed in the contextual menu for mobile devices 2011-11-20 23:04:17 -05:00
Davide P. Cervone
7f5180a87e Properly handle hover changes when going from one expression to another when there is no intervening space (both elements are marked isMathJax, but for different expressions) 2011-11-20 21:52:49 -05:00
Davide P. Cervone
66ec3254ee Allow \\ anywhere (not just in arrays) to force a line break. 2011-11-20 19:21:07 -05:00
Davide P. Cervone
bc3b7adca6 Make \it use MathJax_Main-Italic rather than MathJax_Math-italic, and don't do math italic correction (so spacing is correct for text) (SVG) 2011-11-20 18:55:46 -05:00
Davide P. Cervone
91543560a9 Merge branch 'v2.0-candidate' into SVG 2011-11-20 17:35:31 -05:00
Davide P. Cervone
c223b6bc8c Make \it use MathJax_Main-Italic rather than MathJax_Math-italic, and don't do math italic correction (so spacing is correct for text) 2011-11-20 17:31:10 -05:00
Davide P. Cervone
cc305b294c Fix spacing problem with \cong in regular and bold fonts (SVG). Resolves issue #162 for now until fonts can be repaired. 2011-11-20 17:07:15 -05:00
Davide P. Cervone
aa81d8e8ee Fix spacing problem with \cong in regular and bold fonts. Resolves issue #162 for now until fonts can be repaired. 2011-11-20 17:02:26 -05:00
Davide P. Cervone
744f844eec Handle determining Firefox version better for off-brand Gecko browsers (resolves issue #177 I hope) 2011-11-20 15:31:01 -05:00
Davide P. Cervone
af45fbf9d5 Choose better sizes for \widehat and \widetilde in HTML-CSS output 2011-11-18 23:00:09 -05:00
Davide P. Cervone
ed6623d22f Choose better sizes for \widehat and \widetilde in SVG output 2011-11-18 22:59:03 -05:00
Davide P. Cervone
fd692e25f0 Properly handle skew character for accents in SVG output 2011-11-18 22:26:49 -05:00
Davide P. Cervone
4553cce005 Make SVG output work with discoverability better 2011-11-18 10:11:38 -05:00
Davide P. Cervone
88355ecc74 Add showDiscoverable configuration to control the discoverability checkbox 2011-11-16 12:58:48 -05:00
Davide P. Cervone
6d9994d9d1 Add support for \mathchoice in SVG output 2011-11-15 20:17:32 -05:00
Davide P. Cervone
3bb798f6f4 Merge v2.0-candidate into SVG 2011-11-15 16:41:39 -05:00
Davide P. Cervone
705470fcb6 Repack mmultiscript.js (HTML-CSS) since it still had conflict marker in it (reported by Fred). 2011-11-15 16:36:15 -05:00
Davide P. Cervone
393a6390df Handle italic correction better in HTML-CSS (not just in munderover and msubsup) 2011-11-15 15:07:30 -05:00
Davide P. Cervone
07e2ccb77f Remove unused linebreaking code (it was left over from older linebreaking algorithm) 2011-11-15 15:00:39 -05:00
Davide P. Cervone
257a11d0e2 Better handling oc italic correction (not just in msubsup and munderover) 2011-11-15 14:57:28 -05:00
Davide P. Cervone
06e17c3eb3 Handle italic correction better, and fake the value for mi and mo, since we don't currently have the data in the font data files 2011-11-13 17:13:44 -05:00
Davide P. Cervone
54863d1138 Handle italic correction better, and fake the value for mi and mo, since we don't currently have the data in the font data files 2011-11-13 17:06:52 -05:00
Davide P. Cervone
7762d3323d Handle href's better, particularly when on the <math> element 2011-11-10 07:45:55 -05:00
Davide P. Cervone
246a809ce5 Support additional styles, and use the styles object for colors and fontsize rather than setting the attributes directly (so they don't get copied to the MathML output for example) 2011-11-09 22:03:11 -05:00
Davide P. Cervone
f7116a61ac Use HTML.Element rather than SVG.Element to make test span. Also, use HUB and HTML variables when possible rather than MathJax.Hub and MathJax.HTML 2011-11-07 16:04:26 -05:00
Davide P. Cervone
987d3a4118 Do menu close img in an iBooks compatible way 2011-11-05 23:29:19 -04:00
Davide P. Cervone
51c61ef985 Fix NativeMML so that showMathMenuMSIE:false works properly (the container being postion:relative was causing the wrong element to be on top) 2011-11-05 22:27:14 -04:00
Davide P. Cervone
604c09f9ca Fix annotation-xml to use correct scaling (now that that has changed) 2011-11-05 16:22:00 -04:00
Davide P. Cervone
5394ea5b68 Fix a problem with combining character when they are used as accents (e.g., \vec) 2011-11-05 15:23:41 -04:00
Davide P. Cervone
4f14fbb301 Uncommented code that was taken out for debugging purposes (and that causes inline math to have a linebreak before it -- argh!). Sorry about that. 2011-11-05 07:30:26 -04:00
Davide P. Cervone
4a68934cd4 Fix linewidth computation so it respects floating elements on either side 2011-11-04 21:58:33 -04:00
Davide P. Cervone
d76580a422 Add a configuration flag that causes the underlying MathML structure to be retained in the SVG output, with element classes used to mark the corresponding elements (this allows some CSS control of the results, but also produces more complicated SVG trees) 2011-11-04 21:47:15 -04:00
Davide P. Cervone
9f4f88a531 Fix problem with colored mspace being too tall in IE/quirks mode 2011-11-04 21:17:29 -04:00
Davide P. Cervone
06c700c804 Include modified MathMenu.js in the combined configurations 2011-11-04 20:44:43 -04:00
Davide P. Cervone
bbda46f67c Add SVG renderer to MathJax settings menu 2011-11-04 20:23:11 -04:00
Davide P. Cervone
8ca97d2f39 Add new SVG output jax 2011-11-04 20:16:13 -04:00
Davide P. Cervone
a5812c6e43 Change String().fromCharCode() to direct \uXXXX in a string, and make em and ex sizes be vertical rather than horizontal (this was confusing browsers on mobile devices, where the width wasn't big enough for the number of ems used to determine the size) 2011-11-03 17:09:45 -04:00
Davide P. Cervone
6e59642e7a Remove extra comma from configuration data 2011-11-01 14:25:26 -04:00
Davide P. Cervone
c1ab395327 Add missing mu value to length2em 2011-11-01 14:25:05 -04:00
Davide P. Cervone
eb99398f07 Fix spelling error in comment 2011-11-01 14:24:16 -04:00
Davide P. Cervone
b01f604b61 Fix problem with negative mu dimensions producing double minus signs in the MathML output 2011-11-01 14:23:31 -04:00
Davide P. Cervone
be653f4e11 Save ex value at the same location as other values 2011-10-27 08:48:24 -04:00
Davide P. Cervone
a66c5f2763 Add cancel package defining \cancel{math}, \bcancel{math}, \xcancel{math}, and \canelto{value}{math} 2011-10-26 00:10:29 -04:00
Davide P. Cervone
2e022a6631 Remove trailing commas that confuse IE 2011-10-25 23:35:49 -04:00
Davide P. Cervone
69301a2743 Handle arrowheads better when thickness is specified 2011-10-25 23:25:22 -04:00
Davide P. Cervone
48a018ac2e New \enclose{notation}[attributes]{math} macro for giving TeX access to <menclose> tags 2011-10-25 23:04:44 -04:00