Commit Graph

105 Commits

Author SHA1 Message Date
Davide P. Cervone
ff06343dd0 Merge pull request #598 from dpvc/issue558-loop
Improve width computation for MathML elements (issue #558)
2013-10-07 12:28:47 -07:00
Davide P. Cervone
2755cbd037 Make web font loop into an extension (first draft) 2013-10-05 08:21:53 -04:00
Davide P. Cervone
a012354f38 Add support for matching web fonts in HTML-CSS. Change the names of the paramters that control it in NativeMML (so both have the same names). Add a global matchWebFonts option to control whether to do the loop to check for web fonts (off by default). Resolves more of issue #558. 2013-09-29 19:44:15 -04:00
Davide P. Cervone
c777547f97 Add a loop to check for font changes due to web fonts either in the math or the surrounding font. Resolves issue #558. 2013-09-29 16:23:42 -04:00
Davide P. Cervone
c05ab62ecc Add config option for matching font heights in NativeMML and HTML-CSS output (can't do it for SVG, since we aren't using native fonts) 2013-09-29 08:51:49 -04:00
Davide P. Cervone
bbf543a840 Add some comments, and clear the list of DOM elements once we are done with it. 2013-09-23 21:19:04 -04:00
Davide P. Cervone
ed932ec458 Properly handle the width of math and mtd elements by explicitly setting the width from the child mrow (works around FF bug that gets these widths wrong). Resolves issue #558. 2013-09-23 20:56:25 -04:00
Davide P. Cervone
4263db98d3 Merge pull request #527 from fred-wang/issue482
This resolves issue #482.
2013-08-02 04:05:13 -07:00
Davide P. Cervone
1326cbdf44 Merge pull request #528 from fred-wang/issue481
This resolves issue #481
2013-08-02 04:03:43 -07:00
Frédéric Wang
4ec11da1f1 Address review comments. 2013-08-02 09:58:58 +02:00
Frédéric Wang
1cc5064462 Avoid accessing data[0] with under/over scripts and mlabeledtr too. Address review command of issue #486. 2013-06-12 16:06:56 +02:00
Frédéric Wang
cc34c39def Replace nonstandard MJX-arrow class by an "updiagonalarrow" menclose notation. Fix issue #481. 2013-05-30 12:17:19 +02:00
Frédéric Wang
d0e795705b WebKit NativeMML: only apply lspace/rspace in non-embellised mrow and set them to 0 otherwise. 2013-05-30 11:26:50 +02:00
Davide P. Cervone
681405debc Avoid accessing data[0] when not defined. Resolves issue #486. 2013-05-29 11:56:41 -04:00
Frédéric Wang
93065ef055 Native MathML: add workarounds for mi, mo (lspace/rspace), mmultiscripts and mspace (width) elements in WebKit. Fix issue #482. 2013-05-29 15:45:58 +02:00
Davide P. Cervone
4053d7acab Set versions to 2.2 and update copyright notice 2013-05-01 14:37:39 -04:00
Davide P. Cervone
7968896c8b Fix width problem with zoom box in Firefox. 2013-04-30 16:12:10 -04:00
Davide P. Cervone
167d7ab328 Remove b8561b0 accidentaly pasted into the NativeMML/jax.js file 2013-04-30 08:12:01 -04:00
Davide P. Cervone
a7ed50a474 Repack and recombine. Fix some variable scoping and other issued detected by the packer. 2013-04-29 20:14:12 -04:00
Davide P. Cervone
b8561b07bf Merge branch 'localization' into develop 2013-04-29 19:25:03 -04:00
Davide P. Cervone
0891402b88 Merge branch 'issue359' into develop. Improves MathML rendering for mfenced and mlabeldtr elements. 2013-04-29 15:57:29 -04:00
Davide P. Cervone
9d7ff33bd2 Use a single routine to construct the mrow that replaces mfenced. Fix up some uses of var (not using it twice for the same variable in a function). Fix up some spacing and comments. Don't use .trim(). Use firstChild rather than firstElementChild (not supported by all browsers), etc. 2013-04-26 07:01:28 -04:00
Frédéric Wang
c3ad51d2e1 Merge branch 'issue356' into issue359
Conflicts:
	unpacked/jax/output/NativeMML/jax.js
2013-04-23 08:28:59 +02:00
Davide P. Cervone
debc24047f Make final math size be in relative units so that it prints even if print media has a different font size. Resolves issue #386. 2013-04-17 17:21:09 -04:00
Davide P. Cervone
7cd9180b0b Fix a number of message ID's and message texts. Add menuTitle to fr.js file. 2013-04-09 13:13:25 -04:00
Frédéric Wang
1e9ade71bf Update more names to follow our coding style. 2013-02-28 10:19:17 +01:00
Frédéric Wang
dd019796b0 More translations... 2013-02-25 16:09:17 +01:00
Frédéric Wang
4fdb68a080 More attempts to translate messages. 2013-02-22 13:56:52 +01:00
Frédéric Wang
bf1157fce4 Rename some variables to follow Davide's convention ; use DOM element interface to browse the table. 2013-02-13 14:15:51 +01:00
Frédéric Wang
492f378ff8 Enable the mlabeledtr workaround for Opera 2013-02-06 23:02:01 +01:00
Frédéric Wang
4c28f5f7c6 Merge branch 'issue356' into issue359
Conflicts:
	unpacked/jax/output/NativeMML/jax.js
2013-02-06 15:40:28 +01:00
Frédéric Wang
89845b909b Some improvements to Davide's work ; make the rowspacing/columnspacing workaround work on Webkit too. 2013-02-06 15:20:56 +01:00
Frédéric Wang
684b81a022 Implement rowspacing/columnspacing for the native MathML output, using cell padding. 2013-02-06 12:05:13 +01:00
Frédéric Wang
64a9eb0506 Workaround mfenced support for Opera too ; add open/close properties on the element jax generated by the TeX/MathML input jax ; generate mfenced element for <mrow> elements with open/close properties. 2013-02-04 12:55:49 +01:00
Davide P. Cervone
6c1dd91f13 Handle mlabeledtr in Firefox and other browsers by making a more complicated table with extra columns. 2013-01-31 15:33:25 -05:00
Davide P. Cervone
0ed5d463e5 Merge branch 'issue217' into develop 2012-09-08 10:36:30 -04:00
Davide P. Cervone
bf680988b9 Merge branch 'develop' into IE10 2012-09-04 09:33:06 -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
8709200381 Merge 'issue234' into develop 2012-08-16 09:19:34 -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
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
aa7440244a Add more CSS to isolate NativeMML output from page. (Resolves issue #274.) 2012-08-14 12:47:53 -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
adc375b343 Merge branch issue228 into develop 2012-05-18 21:02:08 -04:00
Davide P. Cervone
edfd102702 Merge issue209 with develop 2012-05-18 20:59:40 -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
c36c15f58b Handle setup of MathPlayer better for IE10. Separate hasMathPlayer from having the namespace set up 2012-03-11 09:47:27 -04:00
Davide P. Cervone
c6b96dd558 Fix references to web fonts for use in Firefox in NativeMML output 2012-03-03 09:59:20 -05:00