Commit Graph

1600 Commits

Author SHA1 Message Date
Davide P. Cervone
1bb9758dc8 Trap errors with document.namespace (it crashes IE10 in standards mode). 2015-01-24 15:45:09 -05:00
Davide P. Cervone
646a977b8c Update version to beta-4 2015-01-24 13:48:49 -05:00
Davide P. Cervone
f6b374813f Merge branch 'issue1018' into develop. Issue #1018. 2015-01-24 13:38:00 -05:00
Davide P. Cervone
20e1e01735 Merge branch 'issue1016' into develop. Issue #1016. 2015-01-24 13:37:41 -05:00
Davide P. Cervone
8f9d982af6 Scale displayIndent to HTML size, since the shift is outside the font-size scaling. This was required by the change to issue 769. (Issue #768.) 2015-01-24 05:15:21 -05:00
Davide P. Cervone
efa443ce65 Check for toCommonHTML first, and allow errors to propagate (restarts should restart, not be trapped here). Resolves issue #1018. 2015-01-23 12:45:26 -05:00
Davide P. Cervone
cd235d5b0e Handle background color properly when there is an indentshift. 2015-01-23 11:31:17 -05:00
Davide P. Cervone
646568650e Handle head properly in another location when looking for script tags. Issue #1016. 2015-01-22 11:02:58 -05:00
Davide P. Cervone
b86a77bee3 Merge remote-tracking branch 'dpvc/develop' into develop 2015-01-22 10:16:31 -05:00
Davide P. Cervone
08cb7160f5 Fix scaling of indentshift in HTML-CSS; since is outside the font-size change, it doesn't need HTMLCSS.scale. 2015-01-22 10:15:12 -05:00
Davide P. Cervone
237635132a Use document.head when available, and look up scripts via namespace if not found without it. Resolves issue #1016. 2015-01-22 10:09:21 -05:00
Davide P. Cervone
af8efeafd5 Merge remote-tracking branch 'dpvc/develop' into develop 2015-01-21 08:54:00 -05:00
Davide P. Cervone
598c1e7c07 When closing table cells, get new table pointer. Resolves issue #1013. 2015-01-20 14:21:34 -05:00
Christian Perfect
e5f69e3ed2 fix typo in helpdialog.js 2015-01-20 16:49:16 +00:00
Davide P. Cervone
4e9a33e256 Set sh and sd on svg object (not mml object). 2015-01-17 14:00:28 -05:00
Davide P. Cervone
9f14997b79 Make \overline{\lim_{x}} have correct spacing for overline with Firefox. Issue #490. 2015-01-17 08:25:14 -05:00
Davide P. Cervone
b30c8f2f30 Set movablelimits on the base mo not the munderover node. Issue #901. 2015-01-16 11:18:26 -05:00
Davide P. Cervone
93fd3bfa64 Fix incorrect code for tab. 2015-01-16 10:06:41 -05:00
Davide P. Cervone
0df957f3c0 Don't escape \n, \r, or \t in toMathML text output. (Issue #847.) 2015-01-16 09:48:00 -05:00
Davide P. Cervone
d6939060ed Don't produce error for empty annotation in CommonHTML output. (Issue #805) 2015-01-16 08:58:26 -05:00
Davide P. Cervone
dc7919693d Accidentally reused variable y, so change to Y. Issue #991. 2015-01-15 15:02:50 -05:00
Davide P. Cervone
c95cb11c19 Use min-width on NativeMML zoom box for full-width tables. Issue #918. 2015-01-15 14:18:51 -05:00
Davide P. Cervone
1b8811bf76 Add test for full-width tables in NativeMML. Issue #993. 2015-01-15 11:38:36 -05:00
Davide P. Cervone
4adc5726f6 Merge pull request #1005 from mathjax/texvc
Add wikipedia-texvc extension
2015-01-15 10:45:26 -05:00
Peter Krautzberger
6ff3894316 minor corrections to #1003 as discussed there 2015-01-14 22:58:20 +01:00
Davide P. Cervone
af20e4cc1d Merge branch 'issue949' into develop. Issue #949. 2015-01-14 11:19:48 -05:00
Davide P. Cervone
8d6ffccb16 Merge branch 'issue991' into develop. Issue #991. 2015-01-14 11:19:31 -05:00
Davide P. Cervone
dac51a9f69 Fix problem with empty scripts in SVG output. Issue #949. 2015-01-14 11:12:22 -05:00
Davide P. Cervone
b60fb9b741 Use origin pad.y since it can change during Add(). Resolves issue #991. 2015-01-13 10:58:25 -05:00
Davide P. Cervone
cdff7d26f0 Add width CSS to semantics annotation when needed by Firefox. Resolves issue #993. 2015-01-13 10:17:36 -05:00
Davide P. Cervone
0182094a37 Merge branch 'issue1002' into develop. Issue #1002. 2015-01-12 09:37:56 -05:00
Davide P. Cervone
24bfd6baf2 Merge branch 'issue997' into develop. Issue #997. 2015-01-12 09:37:34 -05:00
Davide P. Cervone
a2c3b7cdc2 Use currentColor rather than black for SVG output. Resolves issue #1002. 2015-01-11 09:51:17 -05:00
Davide P. Cervone
856d839ce9 Don't set tabindex, as it causes unwanted focus outlines. Revisit this later when we do accessibility update. Resolves issue #997. 2015-01-11 09:25:41 -05:00
Davide P. Cervone
2431a90a9f Rename variable used for displayIndent so it doesn't conflict with previous usage. Also, handle '0em' and similar values as '0'. Resolves issue #1000. 2015-01-11 09:20:30 -05:00
physikerwelt (Moritz Schubotz)
cfe05db863 MediaWiki-texvc support
We add a conversion table that converts MediaWiki specific
markup to standard LaTeX. This approach is more or less
maitenance free, and relies on the existence some special
macros mostly originating from amsmath and amsfonts package.

In the future one could expand the macros with semantic annotation
like for instance that $\\mathbb{R}$ stands for the semantic
concept reals, if it was produced using the texvc macro $\\reals$.
2015-01-09 23:27:30 +01:00
Davide P. Cervone
ae48c34e64 Update cache breaking string. 2015-01-07 08:34:04 -05:00
Davide P. Cervone
e4265d3969 Implement toCommonHTML for \mathchoice. Resolves issue #998. 2015-01-07 08:30:48 -05:00
Davide P. Cervone
debd0c88b6 Update cache breaking for next push to CDN. 2015-01-06 17:50:42 -05:00
Davide P. Cervone
cce02ddfde Don't produce doube exponent/subscript errors for UnderOver constructs like \underline and \overbrace. Resolves issue reported on StackExchange. 2015-01-06 17:47:48 -05:00
Davide P. Cervone
d6b6b2e249 Fix indenting of toMathML output. 2015-01-05 11:04:55 -05:00
Davide P. Cervone
9fd243d9bd Make NativeMML attributes work the same as toMathML ones (makes sure href/style/etc are passed on properly). 2015-01-05 10:57:07 -05:00
Davide P. Cervone
dfb8b48e9a Update AsciiMath jax to current version of AsciiMathML.js. Resolves issue#857. 2014-12-31 17:01:42 -05:00
Davide P. Cervone
9d153e3a11 Make sure that tagged equations get mtables with the correct displaystyle (now that displaystyle is no longer inherited, see issue #839.) 2014-12-31 10:10:50 -05:00
Davide P. Cervone
4b6a2f4ec3 Add priority 100 to label reset so that it comes after other post-filters (in particular, the CTHML-preview, which can load files). Resolves second issue in #970. 2014-12-31 08:07:38 -05:00
Davide P. Cervone
88a96372c0 Update version numbers for 2.5.0-beta 2014-12-30 18:27:01 -05:00
Davide P. Cervone
8a1db4b859 Make HTML-CSS measure the final math element so that the right amount of place is left for it (particularly a problem in Safari). 2014-12-30 18:21:05 -05:00
Davide P. Cervone
034041e6d3 Adjust times so that the second pass doesn't take so long (we may need to tweak these further). 2014-12-30 18:20:20 -05:00
Davide P. Cervone
3f5730a59f Merge branch 'CHTML-preview' into develop 2014-12-30 17:55:48 -05:00
Davide P. Cervone
0305716511 Allow configuration to disable CHTML-preivew, but still allow menu to override. Make loading of this page enable preview by default. Fix handling of preview color. Fix restart when CommonHTML config is loaded but jax.js isn't. 2014-12-30 17:53:20 -05:00