Davide P. Cervone
477903cc79
Fix problem with positioning of colored rectangles (when combined combitionings add up to zero).
2015-01-27 08:16:20 -05:00
Davide P. Cervone
94b7c4243b
Don't set overlay W/H if it has already been removed (IE8).
2015-01-26 15:19:18 -05:00
Davide P. Cervone
90af9db319
Fix NativeMMLelement to work with IE8 and below when MathPlayer isn't in place.
2015-01-26 12:03:43 -05:00
Davide P. Cervone
dd3da20704
Change 0em to 0 to make reftest for 776 easier.
2015-01-25 12:38:48 -05:00
Davide P. Cervone
ecc8e7c350
Change from setting form=infix to adding an empty <mi>, since MathML spacing and TeX spacing are slightly different. Issue #811 .
2015-01-25 11:46:16 -05:00
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
Davide P. Cervone
ba23831ebc
Merge pull request #806 from christianp/ctop
...
Use ctop.js instead of XSLT in Content MathML extension.
Finally getting to merge this. At long last!
2014-12-30 16:12:38 -05:00
Davide P. Cervone
ba4d1b13fe
Merge remote-tracking branch 'dpvc/develop' into develop
2014-12-30 16:09:21 -05:00
Davide P. Cervone
2f3d09cc30
Change version back so merge of ctop is clean.
2014-12-30 16:04:13 -05:00
Davide P. Cervone
8d30bda6bd
Merge pull request #979 from mathjax/issue922
...
update locales for 2.5. Issue #922
2014-12-29 11:03:39 -05:00
Peter Krautzberger
e29bd7f41e
added bcc locale; added bcc and sco in MathJax.js
2014-12-29 16:51:10 +01:00
Davide P. Cervone
5ccdf60b52
Merge pull request #964 from mathjax/issue921
...
add mml3 extension. Issue #921 .
2014-12-29 10:31:15 -05:00
Peter Krautzberger
12d8eef96b
import fixes for RTL+elementary math; source: https://code.google.com/p/web-xslt/
2014-12-29 16:14:34 +01:00
Davide P. Cervone
0c2107dc75
Force actiontype to be output even when equal to the default
2014-12-28 19:03:24 -05:00
Davide P. Cervone
519ff32aae
Handle mstyle defaults properly for attribute input/output.
2014-12-28 18:03:16 -05:00
Davide P. Cervone
2ea8bf10d5
Firefox 33 implemented column and row-spacing, so don't do the hack to get around it.
2014-12-28 16:42:10 -05:00
Davide P. Cervone
0da7c458ea
Don't include attributes that are their defaults in NativeMML output
2014-12-28 15:54:33 -05:00
Davide P. Cervone
edce81f691
Prevent use of id's in previews from confusing HTMLspanElement() calls.
2014-12-28 12:02:34 -05:00
Davide P. Cervone
81b87c1ea3
Fix wrong error message for double exponents
2014-12-28 07:17:47 -05:00
Davide P. Cervone
1044df8076
When processing an array of elements, don't add any that are already included in the list.
2014-12-28 07:11:34 -05:00
Davide P. Cervone
de9c66f927
Escape braces in mathPalette (avoids error with \brace).
2014-12-28 06:30:18 -05:00
Davide P. Cervone
91875b3558
Don't show attributes that don't have default values (e.g., open/close for mrow).
2014-12-28 06:29:38 -05:00
Davide P. Cervone
bdd370b037
Merge branch 'issue949' into develop. Issue #949 .
2014-12-27 12:51:09 -05:00
Davide P. Cervone
bb5f0cf279
Merge branch 'issue966' into develop. Issue #966 .
2014-12-27 12:50:44 -05:00
Davide P. Cervone
8fd8bf258b
Handle linebreaking in a base with empty superscript or subscript. Resolves issue #949 .
2014-12-27 11:59:15 -05:00
Davide P. Cervone
0529b5d78c
Take base.x into account for positioning of super ans subscripts. Resolves issue #966 .
2014-12-27 08:56:58 -05:00
Davide P. Cervone
501b96c859
Save preview in script.MathJax to fix issue #975 .
2014-12-26 17:49:59 -05:00
Davide P. Cervone
fc7faf4b54
Properly handle spacing around operators in second column of aligned and gathered environments. Issue #982
2014-12-26 17:07:02 -05:00
Peter Krautzberger
f785418e8a
pull in update from ctop/mml3.xslt that adds left/\right mlongdiv notation
2014-12-17 09:19:01 +01:00
Peter Krautzberger
9c273c5be4
update locales for 2.5; fixes #922
2014-12-16 12:35:35 +01:00
Peter Krautzberger
ac50815d58
update stylesheet to pull in latest fixes from David Carlisle
2014-12-16 10:39:17 +01:00
Davide P. Cervone
a719a551e1
Merge branch 'issue972' into develop. Issue #972 .
2014-12-07 07:10:24 -05:00
Davide P. Cervone
301ee4f300
Merge branch 'issue950' into develop. Issue #950 .
2014-12-07 07:10:09 -05:00
Davide P. Cervone
f6bf4c13e3
Merge branch 'issue931' into develop. Issue #931 .
2014-12-07 07:09:49 -05:00
Davide P. Cervone
e33e00bfaf
Merge branch 'issue971' into develop. Issue #971 .
2014-12-07 07:09:27 -05:00
Davide P. Cervone
3cd6cf59e3
Merge branch 'issue937' into develop. Issue #937 .
2014-12-07 07:08:45 -05:00
Davide P. Cervone
b937bee874
Merge branch 'issue969' into develop. Issue #969 .
2014-12-07 07:08:11 -05:00
Davide P. Cervone
7e395523a8
Merge branch 'issue930' into develop. Issue #930 .
2014-12-07 07:07:43 -05:00
Davide P. Cervone
54fb042b77
Fixed capitalization of \defincolor in autoload-all. Resolves issue #972 .
2014-12-07 06:58:52 -05:00
Davide P. Cervone
3f3f27005a
IE9+ has a name limits of 31 for font-family, so the long names cause problems; fortunately, FontFaceBug is only needed for IE8 and below, so make that be version dependent. Resolves issue #950 .
2014-12-06 20:24:41 -05:00
Davide P. Cervone
ae0f3fe3b3
Add more version information for Safari, and use Em rounding for Safari 8.0 (also 6.2, 7.1, which have the same WebKit version). Resolves issue #931 .
2014-12-06 18:00:31 -05:00
Davide P. Cervone
a714a91dc6
Add a flag to Get() to look up only the inherited value, not the one from the element itself, so that toMathML() doesn't have to delete and replace the attibutes. Resolves issue #971 .
2014-12-06 17:36:23 -05:00
Davide P. Cervone
252fda6762
Merge branch 'common-html' into CHTML-preview
2014-12-06 10:24:03 -05:00
Davide P. Cervone
da37204eb2
Handle moveable limits on munderover. Resolves issue #970 .
2014-12-06 10:22:01 -05:00
Davide P. Cervone
2cbe3ebb92
Merge branch 'common-html' into CHTML-preview
2014-12-06 09:57:16 -05:00
Davide P. Cervone
1fe80b441a
Handle <mlabeledtr> by dropping the label for now. Resolves issue #968 .
2014-12-06 09:54:45 -05:00
Davide P. Cervone
bf3d52af54
Fix incorrect width for minus sign in delimiter data, and don't modify depth of the minus sign (was being done for arrow extenders, but do that for the extenders only). Resolves issue #937 .
2014-12-06 08:18:42 -05:00
Davide P. Cervone
9a3f435a99
Make fractions be TeX class ORD rather than INNER (as appears to be the case with TeX, despite the claims in the TeXbook to the contrary). Also, fix a problem with getting the correct form attribute for mo elements. Resolves issue #969 .
2014-12-05 20:54:15 -05:00
Peter Krautzberger
905ce5ffa8
renaming extension; pull in David Carlisle's new and improves xsl
2014-12-05 23:35:22 +01:00
Davide P. Cervone
f6293beea6
Add the SVG transform for flipping characters AFTER we have added colors and borders (since they can alter the svg.element, moving it lower in the chain and even removing it). Resolves issue #930 .
2014-12-04 16:56:35 -05:00
Davide P. Cervone
ac5206fcd9
Use Hub.Rerender() rather than Hubl.Reprocess() for scaling changes. Resolves issue #944 .
2014-12-04 16:04:42 -05:00
Peter Krautzberger
1807d55d22
switch hascolspan to false() as in http://www.w3.org/Math/draft-spec/doctop.js
2014-11-27 15:29:27 +01:00
Peter Krautzberger
37fb13fb6f
fix references to content-mathml extension
2014-11-26 21:48:34 +01:00
Peter Krautzberger
55c59f0ef5
created mml3-mml2 extension for #921
2014-11-26 21:41:20 +01:00
Davide P. Cervone
142857afa2
Remove unneeded grouping from regular expression (performance improvement)
2014-11-20 09:35:56 -05:00
physikerwelt (Moritz Schubotz)
c526b2a5c5
XML-escape TeX annotation
2014-11-19 09:05:09 +01:00
Davide P. Cervone
9cefee80f9
Fixes for IE7 and 8.
2014-11-17 19:42:45 -05:00
Davide P. Cervone
8c616789ef
Fix some local/global variable issues detected by doing the compression.
2014-11-08 09:30:24 -05:00
Davide P. Cervone
ff6d6935df
Handle loading of CommonHTML jax better (do it when we detect it is not present, rather than trying to hook into the input jax require array).
2014-11-08 09:29:47 -05:00
Davide P. Cervone
d128cfbd5d
Add menu item for fast preview, and check for it in the preview code. Make sure CHTML-preview.js is loaded in MathJax.js if the menu item is selected.
2014-11-02 10:03:26 -05:00
Davide P. Cervone
2babc14e1b
Merge branch 'issue860' into develop. Issue #860 .
2014-11-02 09:27:27 -05:00
Davide P. Cervone
ff8637377f
Merge branch 'issue804' into develop. Issue #804 .
2014-11-02 09:26:36 -05:00
Davide P. Cervone
771fc3981e
Merge branch 'issue807' into develop. Issue #807 .
2014-11-02 09:25:45 -05:00
Davide P. Cervone
c1a457ff9e
Merge branch 'issue912' into develop. Issue #912 .
2014-10-12 16:59:12 -04:00
Davide P. Cervone
01bec60e5a
Merge branch 'issue839' into develop. Issue #839 .
2014-10-12 16:58:10 -04:00
Davide P. Cervone
69a57f4da4
Make displaystyle and scriptlevel be forced only if they are in the list of default properties. Resolves issue #912 better than before.
2014-10-12 16:57:18 -04:00
Davide P. Cervone
4238dc5734
Don't do the scriptlevel adjustment, as per discussion on w3c math list.
2014-10-12 10:43:49 -04:00
Davide P. Cervone
b137d2e65d
Add support for mfenced, and refactor mrow code to allow reuse of some pieces.
2014-09-20 14:07:27 -04:00
Davide P. Cervone
ff970b8af0
Add fake content so that the size of the box will be normalized for text. This may have to be fixed in the future if the space causes problems (perhaps a zero-width space would be better).
2014-09-19 10:46:15 -04:00
Davide P. Cervone
ad004ac668
Preserve RDFa and other non-standard attributes from MathML elements in the HTML-CSS or SVG output. Resolves issue #860 , and also handles #502 as a side-effect.
2014-09-14 13:47:20 -04:00
Davide P. Cervone
9bf55785f0
Use proper value of base scaling to reset u and v in super- and subscript positioning. Resolves issue #804 .
2014-09-14 11:02:16 -04:00
Davide P. Cervone
0a04a6ce19
Don't clip left or right-hand sides, only top and bottom (which are what need clipping to hide exctra height/depth, and prevent the positioning spans from overlaying the material above). Resolves issue #807 , and may hekp issue #646 .
2014-09-14 10:33:06 -04:00
Davide P. Cervone
ca196c8e0d
Merge branch 'issue835' into develop. Issue #835 .
2014-09-14 09:21:44 -04:00
Davide P. Cervone
a26454ac90
Merge branch 'issue917' into develop. Issue #917 .
2014-09-14 09:21:18 -04:00
Davide P. Cervone
d38c5632ab
Merge branch 'issue918' into develop. Issue #918 .
2014-09-14 09:20:55 -04:00
Davide P. Cervone
fe06c828b4
Merge branch 'issue912' into develop. Issue #912 .
2014-09-14 09:20:23 -04:00
Davide P. Cervone
f4be986816
Merge branch 'issue913' into develop. Issue #913 .
2014-09-14 09:19:48 -04:00
Davide P. Cervone
3ee58a18a5
Merge branch 'issue906' into develop. Issue #906 .
2014-09-14 09:18:56 -04:00
Davide P. Cervone
ab9570b614
Merge branch 'issue775' into develop. Issue #775 .
2014-09-14 09:18:16 -04:00
Davide P. Cervone
f07278d3db
Make zoom box large enough for overlaps (e.g., when \llap, \rlap, or \smash are used) in SVG and HTML-CSS output. Can't do it effectively for NativeMML, since we don't know anything about overlaps in that case. Resolves issue #835 .
2014-09-13 15:34:52 -04:00
Davide P. Cervone
6ed822313f
Set the internal bounding box data properly for mpadded elements. Resolves issue #917 .
2014-09-13 15:29:49 -04:00
Davide P. Cervone
ce76662083
Have zoom box properly sized for tagged equations in NativeMML output. Resolves issue #918 .
2014-09-13 15:26:11 -04:00
Davide P. Cervone
e0a81d5f7c
Force displaystyle and scriptstyle to be included in toMathML output, since the defaults for these are complicated. Resolves issue #912 .
2014-09-11 13:53:49 -04:00
Davide P. Cervone
e2e94d3c45
Check for undefined rather than false when deciding which attributes to allow for \mmlToken. Resolves issue #913 .
2014-09-11 13:14:38 -04:00
Davide P. Cervone
98e3f098bd
Add rules to mtable to properly handle displaystyle and scriptlevel as described in the MathML spec. Resolves issue #839 .
2014-09-11 12:52:10 -04:00
Davide P. Cervone
e8c7ade7c4
Allow comma-separated parameters in \mmlToken. Resolves issue #906 .
2014-09-11 08:34:26 -04:00
Davide P. Cervone
5d266d2f81
Take advantage of SVGdatStretched() rather than doing it by hand.
2014-09-11 08:05:29 -04:00
Davide P. Cervone
74253a955f
Merge branch 'issue834' into develop. Issue #834 .
2014-09-11 06:59:18 -04:00
Davide P. Cervone
84206a3f15
Merge branch 'issue769' into develop. Issue #769 .
2014-09-11 06:58:42 -04:00
Davide P. Cervone
f307196e1a
Merge branch 'issue490' into develop. Issue #490 .
2014-09-11 06:57:47 -04:00
Davide P. Cervone
c30dd6647b
Merge branch 'issue829' into develop. Issue #829 .
2014-09-11 06:50:13 -04:00
Davide P. Cervone
0a89bc1ac5
Merge branch 'issue800' into develop. Issue #800 .
2014-09-11 06:49:30 -04:00
Davide P. Cervone
1e219b4304
Get linebreaking size correct for zoom boxes, and do a better job of managing the width for full-width tables (only make the box as wide as necessary). Resolves issue #834 .
2014-09-10 22:05:03 -04:00
Davide P. Cervone
a3fbae1037
fix min width of tables (em's inside are different from em's outside).
2014-09-10 19:59:34 -04:00
Davide P. Cervone
acd5857a99
Use alignment function for mtable with labels as well.
2014-09-09 20:07:07 -04:00
Davide P. Cervone
a9c66b5cee
Fix the alignment function so that it handles overlapping on the left and right better, and so we don't have to do it in the linebreaking directly.
2014-09-09 19:22:02 -04:00
Davide P. Cervone
612e622e0b
Add an empty <mo> to nested <munderover> used for overline and friends to avoid being an embellished operator that gets movablelimits. Resolves issue #490 .
2014-09-09 12:35:00 -04:00
Davide P. Cervone
cfc6fa2ae0
Make fences use empty <mo> for blank delimiters so the result will not be an embellished operator. Also resolves issue #775 .
2014-09-09 11:51:22 -04:00
Davide P. Cervone
871f395ce6
Make mrows that are embellished operators properly include the elements other than the core when stretched. Resolves issue #775 .
2014-09-09 11:27:39 -04:00
Davide P. Cervone
ea42f427f6
Fix multiple problems with indentshift and indentalign in HTML-CSS and SVG output. (Negative values not handled properly, shift not applied to centering, SVG not handling shift past edges well, percentage shifts now in relation to container, etc.) Resolves issues #769 and #768 .
2014-09-09 10:28:25 -04:00
Davide P. Cervone
82d0ea22c2
Fix a conflict with noReflows and mtextFontInherit.
2014-09-08 17:49:47 -04:00
Davide P. Cervone
177eade964
Use delimitershortfall and delimiterfactor for stretching vertical delimiters for SVG.
2014-09-08 15:27:31 -04:00
Davide P. Cervone
14fd3918ed
Use delimitershortfall and delimiterfactor for stretching vertical delimiters. Resolves issue #829 .
2014-09-08 15:23:42 -04:00
Davide P. Cervone
3ae1a46217
Take vertical offset into account in mpadded background color in SVG output. Resolves issue #800 .
2014-09-04 19:41:19 -04:00
Davide P. Cervone
13b16f9b26
Merge branch 'node-issue3' into develop. Issue mathjax/MathJax-node#3 .
2014-09-04 05:57:14 -04:00
Davide P. Cervone
d74208ef1f
Merge branch 'node-issue18' into develop. Issue mathjax/MathJax-node#18 .
2014-09-04 05:56:27 -04:00
Davide P. Cervone
ffd71440e6
Merge branch 'issue898' into develop. Issue #898 .
2014-09-04 05:55:52 -04:00
Davide P. Cervone
8ddeed3a3c
Merge branch 'issue902' into develop. Issue #902 .
2014-09-04 05:55:18 -04:00
Davide P. Cervone
a27d83444f
Merge branch 'issue903' into develop. Issue #903 .
2014-09-04 05:52:20 -04:00
Davide P. Cervone
5e14383a59
For glyphs with empty paths (e.g., space characters), just move the x position by the width of the character. Resolves mathjax/MathJax-node#3 .
2014-09-03 14:47:57 -04:00
Davide P. Cervone
a4c6eb6753
Simplify output when SVG output extends beyond the top or bottom of the bounding box (makes the SVG entirely self-contained for MathJax-node output). Issue mathjax/MathJax-node#18 .
2014-09-03 13:13:10 -04:00
Davide P. Cervone
5de7fdea28
Add space characters to STIX font data for HTML-CSS output.
2014-09-03 10:36:13 -04:00
Davide P. Cervone
e090b7821a
Make SVG output not include emtpy attributes for unknown characters. Issue #898 and mathjax/MathJax-node#6 .
2014-09-03 10:23:10 -04:00
Davide P. Cervone
56c2da92d5
Add font data for spaces from U+2000 to U+200B. Resolves issue #898 .
2014-09-03 10:22:22 -04:00
Davide P. Cervone
6104e90859
Make \eqalignno and \leqalignno use mlabeledtr so numbers are positioned properly. resolves issue #902 .
2014-09-02 10:45:44 -04:00
Davide P. Cervone
9ecb67ec22
Add minimal support for \hfill (just to handle column alignment in matrices and arrays). Issue #903 .
2014-09-02 10:26:45 -04:00
Davide P. Cervone
96cf80d775
Allow \limits and \nolimits to be used between or after the super- and subscripts. Report errors for double super- and subscripts for munderover constructs. Make \underbrace and \overbrace allow \limits. Resolves issue #901 .
2014-09-02 08:48:50 -04:00
Davide P. Cervone
4a4d88c26f
Merge branch 'no-reflows' into develop
2014-09-01 14:13:52 -04:00
Davide P. Cervone
210d336e90
Merge branch 'issue826' into develop. Issue #826 .
2014-09-01 14:08:15 -04:00
Davide P. Cervone
302e28cd38
Fix incorrect TeX class for \buildrel. Resolves issue #900 .
2014-08-28 19:04:33 -04:00
Davide P. Cervone
467e59a484
Change default for noReflows to true, and add it to default.js
2014-08-28 19:00:30 -04:00
Davide P. Cervone
3848ac329b
Fix scaling for text when mtextFontInherit is in effect and Scale All Math is not 100%. Issue #826
2014-08-24 18:23:37 -04:00
Davide P. Cervone
d5d1fbdf50
Merge branch 'issue375' into develop. Issue #375 .
2014-08-24 09:57:04 -04:00
Davide P. Cervone
384964dfe1
Merge branch 'issue323' into develop. Issue #323 .
2014-08-24 09:56:38 -04:00
Davide P. Cervone
6d283451fd
Add support for \{, \} and \\ inside \text{}, since {, }, and \ are used by MathJax in determining the extent of the \text box. This helps with issues #375 and #790 .
2014-08-22 15:44:03 -04:00
Davide P. Cervone
a56931fff2
Fix use of HTMLCollections to work with IE8 (grrr!)
2014-08-22 14:17:55 -04:00
Davide P. Cervone
60f197f16c
Disable MathPlayer for IE10 and above.
2014-08-22 13:31:55 -04:00
Davide P. Cervone
89c6f10cea
Use \bigg or \big for the delimiters for \binom and other such constructs, rather than stretchy delimiters, as is done in TeX. Resolves isue #776 .
2014-08-22 11:47:04 -04:00
Davide P. Cervone
58c20a9a4c
Merge branch 'issue826' into develop. Issue #826 .
2014-08-21 16:27:15 -04:00
Davide P. Cervone
670f5809f8
Use large chunks and reduce processUpdateTime to get browser responsiveness. Remove the processing messages during output, since it will now be slower and the math is showing.
2014-08-20 14:49:29 -04:00
Davide P. Cervone
b7fbcc73b6
Fix scaling of unknown characters to handle 'Scale All Math' values properly. Issue #826 .
2014-08-20 12:10:28 -04:00
Davide P. Cervone
1cd23252c1
Fix problem with percentage width being used too many times in HTML-CSS output. Resolves issue #832 .
2014-08-20 09:30:04 -04:00
Davide P. Cervone
354e18df87
Don't do any delays if delay time is 0 (allows authors to go back to original functionality, if desired). Issue #872 .
2014-08-20 09:07:26 -04:00
Davide P. Cervone
b85e5a48ad
Merge branch 'issue872' into develop. Issue #872 .
2014-08-20 07:59:26 -04:00
Davide P. Cervone
0104a90463
Merge branch 'issue845' into develop. Issue #845 .
2014-08-20 07:59:01 -04:00
Davide P. Cervone
a5375851ee
Merge branch 'issue805' into develop. Issue #805 .
2014-08-20 07:56:44 -04:00
Davide P. Cervone
42c0f3243e
Merge branch 'issue877' into develop. Issue #877 .
2014-08-20 07:56:24 -04:00
Davide P. Cervone
b8eb8c383b
Add some short delays between input and output phases or processing so that messages can be udated, and the browser can respond to the user (in case multiple typeset calls are queued simultaneously). Resolves issue #872 .
2014-08-19 16:58:51 -04:00
Davide P. Cervone
71444850ca
Force separate web font names for bold, italic in WebKit. Resolves issue #845 .
2014-08-19 16:58:22 -04:00
Davide P. Cervone
34c723aa9e
Prevent empty annotation as first child of semantics element from producing an error. Resolves issue #805 .
2014-08-19 16:57:27 -04:00
Davide P. Cervone
ddb96b1b66
Move CoreParent, CoreText, remap, and remapChars to element jax (since shared among the output jax), and fix positioning of double accents like \vec{\vec{x}}. Resolves issue #877 .
2014-08-19 16:55:36 -04:00
Davide P. Cervone
cd5a06d347
Forgot to do the corresponding change in SVG output. Issue #891 .
2014-08-19 16:53:47 -04:00
Davide P. Cervone
b33ed4c54b
Update use of RegExp.$n to account for Firefoxs change from empty string to undefined for unmatched groups. Resolves issue #891 .
2014-08-19 13:35:11 -04:00
Davide P. Cervone
3ca32dc64b
Merge branch 'issue873' into develop. Issue #873 .
2014-08-19 09:04:36 -04:00
Davide P. Cervone
6ba49d616e
Merge branch 'issue856' into develop. Issue #856 .
2014-08-19 09:04:05 -04:00
Davide P. Cervone
f4d56e3baf
Merge branch 'issue881' into develop. Issue #881 .
2014-08-19 09:01:59 -04:00
Davide P. Cervone
0507240c3c
Merge branch 'issue889' into develop. Issue #889 .
2014-08-19 09:01:25 -04:00
Davide P. Cervone
e1cf022d8a
Combine multiple elements into a single typesetting pass. Issue #873 .
2014-08-18 15:36:09 -04:00
Davide P. Cervone
4fb5c5e4e5
Allow commas in place of decimals in TeX dimensions. Resolves issue #856 .
2014-08-18 14:09:05 -04:00
Davide P. Cervone
5391986006
Allow \newenvironment to provide an optional argument. Issue #881
2014-08-18 13:46:43 -04:00
Davide P. Cervone
0710cca048
Fix spacing of open delimiter from \left...\right. Issue #889 .
2014-08-18 12:54:34 -04:00
Davide P. Cervone
fb3d2c2d07
Make CHTML-preview previews inherit the surrounding color
2014-08-18 12:53:18 -04:00
Davide P. Cervone
4db6b017ee
Make px-per-inch configurable and use 72dpi (pt = px in this case)
2014-08-18 11:29:21 -04:00
Davide P. Cervone
72a6a670bf
Add ability to process units of px in \\[...] (not particularly accurate, however). Issue #890
2014-08-18 11:09:09 -04:00
Davide P. Cervone
4666badbe2
Merge branch 'issue693' into develop. Issue #693 .
2014-08-18 10:11:48 -04:00
Davide P. Cervone
8726bd52a5
Merge branch 'DOMfilterHooks' into develop
2014-08-18 10:01:01 -04:00
Davide P. Cervone
b41981b3b3
Merge pull request #887 from dpvc/issue847
...
Don't remove entities or newlines from <annotation> elements.
2014-08-17 15:54:09 -04:00
Davide P. Cervone
1aa86d7cf6
Add noReflows flag to prevent taking measurements that cause reflows, when possible. This provides a 30 to 40% speed improvement, but can cause poor results in some browsers.
2014-08-17 14:14:39 -04:00
Davide P. Cervone
4ad33386ef
Remove styling of preview (left over from use as an input postfilter)
2014-08-16 13:00:26 -04:00
Davide P. Cervone
8ebcd614c3
Properly handle restarts within the creation of the previews
2014-08-16 12:59:16 -04:00
Davide P. Cervone
f0c0c6386e
Properly handle callbacks returned by pre- and postfilter hooks.
2014-08-16 12:58:51 -04:00
Davide P. Cervone
05c7aace26
Add CHTML-preview extension that uses the CommonHTML output jax to create fast previews that are replaced (more slowly) by the normal output jax.
2014-08-16 09:26:47 -04:00
Davide P. Cervone
3463017f85
Change .bbox to .CHTML to prevent conflicts with other output jax
2014-08-16 08:27:02 -04:00
Davide P. Cervone
0864dfcd79
Remove commas that confuse IE8, work around IE8 problem with insertBefore when second argument is negative, fix mspaces with negative width, and add a hack to avoid negative spaces after \int to adjust for different spacing between CM and Times fonts.
2014-07-29 06:49:24 -04:00
Davide P. Cervone
781689e7e4
First version of CommonHTML output jax
2014-07-28 17:42:51 -04:00
Davide P. Cervone
7aab884fd0
Merge pull request #874 from pkra/nodejs
...
merging @dpvc's Nodejs branch into develop.
2014-07-21 10:06:35 -04:00
Peter Krautzberger
682bc7969e
fixes #863 -- math.cloneNode should be set to true
2014-07-10 12:47:30 +02:00
Davide P. Cervone
44ee2cf762
Don't remove entities or newlines from <annotation> elements. Resolves issue #847 .
2014-06-24 17:23:14 -04:00
Davide P. Cervone
d06675ae89
Mark SVG spans as MathJax ones properly.
2014-06-24 16:40:52 -04:00
Davide P. Cervone
bbb5f6084b
Put back mtdWidthBug for FF since it is still not right. Issue #813 .
2014-06-12 10:15:32 -04:00
Davide P. Cervone
1a895e2a7c
Update version numbers, repack, and recombine
2014-06-12 05:53:13 -04:00
Davide P. Cervone
12313a6629
Add missing array in signal data
2014-06-08 21:09:00 -04:00
Davide P. Cervone
f9afa15ecc
Correct ID for global glyph lookup
2014-06-08 21:08:31 -04:00
Davide P. Cervone
6dfaf0e464
Add comments
2014-06-08 21:00:01 -04:00
Davide P. Cervone
6ab067a14c
Switch beta.mathjax.org to cdn.mathjax.org (since https users will never get this beta MathJax.js anyway).
2014-06-01 11:37:08 -04:00
Davide P. Cervone
d92ae61db1
Fix variable reference turned up by packer
2014-06-01 10:54:47 -04:00
Davide P. Cervone
2e9b3c7c60
Make this rev=2.4-beta-2, and turn rackspace https into beta.mathjax.org (this will need to be changed to cdn.mathjax.org for the final release).
2014-06-01 10:41:27 -04:00
Davide P. Cervone
7c47e03240
Merge branch 'stretchy' into v2.4-beta
2014-06-01 10:26:26 -04:00
Davide P. Cervone
beeb356308
Merge branch 'issue729' into v2.4-beta. Issue #729 .
2014-06-01 10:25:17 -04:00
Davide P. Cervone
d24b750cbf
Don't add stretchy=dalse if it is not needed
2014-05-30 12:25:01 -04:00
Davide P. Cervone
668585f591
Fix several problems with stretchy delimiters in SVG output (minsize didn't always get processed, stretched characters weren't marked as such).
2014-05-30 12:17:09 -04:00
Davide P. Cervone
8eb029478e
Fix bounding box problem in Firefox with stretchy delimiters (and remove alignment hack that doesn't seem to be needed any longer). resolves issue #729 .
2014-05-30 12:15:25 -04:00
Davide P. Cervone
3a8afa4dcb
Add support for semantics annotations to toMathML, and use a menu item to control it.
2014-05-29 15:37:59 -04:00
Davide P. Cervone
a314139f59
Merge branch 'issue814' into v2.4-beta. Issue #814 .
2014-05-29 11:56:07 -04:00
Davide P. Cervone
7a9833becd
Add semantics annotation to NativeMML output. This is done in the NativeMML output jax rather than the input jax so that it can be done for any input format (that provides an encoding for it). Also, it avoids having the Show As MathML output include the annotation. Resolves issue #814 .
2014-05-28 10:30:03 -04:00
Davide P. Cervone
e1f4656783
Remove some NativeMML work-arounds for FF >= 29 (apparently fixed in this version). Resolves issue #813 .
2014-05-28 06:02:26 -04:00
Davide P. Cervone
0ebff03dc1
Merge branch 'issue820' into v2.4-beta. Issue #820 .
2014-05-27 15:18:55 -04:00
Davide P. Cervone
7d9db89c8b
Merge branch 'issue821' into v2.4-beta. Issue 821.
2014-05-27 15:18:47 -04:00
Davide P. Cervone
4e3977082d
Remove fonts from default VARIANT values, which where causing -smallOP to no inherit the normal fonts; this caused \int in STIX (and other fonts) not to be found, and so default to unknown character bboxes. Resolves issue #820 .
2014-05-22 19:43:30 -04:00
Davide P. Cervone
71f731cbbb
Trap error reading cookies. Resolves issue #821 .
2014-05-22 18:10:35 -04:00
Davide P. Cervone
b84f7772f4
Fix zoom box sizes for tagged equations in HTML-CSS and NativeMML output. Issue #824 .
2014-05-22 18:04:59 -04:00
Davide P. Cervone
ae3197913b
Merge branch 'issue815' into v2.4-beta. Issue #815 .
2014-05-22 15:28:22 -04:00
Davide P. Cervone
6c244ce4dd
Merge branch 'issue811' into v2.4-beta. Issue #811 .
2014-05-22 15:27:44 -04:00
Davide P. Cervone
11e4ba5101
Make glyph data be part of BBOX.GLYPH, and make sure that resets don't increment the counter for local <defs> elements.
2014-05-22 13:14:29 -04:00
Davide P. Cervone
b2ce6ef0a0
Make fallback parser clear itself after use, so there isn't an extra <math> element left over at the end (typsetting again causes problems).
2014-05-17 13:48:44 -04:00
Davide P. Cervone
3c98ab81dd
Change where ID is modified so that the cache properly accounts for it.
2014-05-17 13:47:58 -04:00
Christian Perfect
0e0444ec3f
Merge remote-tracking branch 'mathjax/develop' into ctop
...
Conflicts:
unpacked/extensions/MathML/content-mathml.js
2014-05-16 14:18:39 +01:00
Christian Perfect
82dc8af1ae
content-mathml: make it compatible with IE8; code style fixes
2014-05-16 14:15:53 +01:00
Davide P. Cervone
2a11309edd
Add options useFontCache and useGlobalCache to control use of <use> elements. Also add Fixed() method to make shorter values for scale and viewport.
2014-05-14 14:30:28 -04:00
Davide P. Cervone
267a9a90eb
Use width and height attributes rather than styles.
2014-05-14 09:30:05 -04:00
Davide P. Cervone
2c3a5f0b79
Apparently, node.js uses uppercase nodeName, so use toLowerCase() to change it.
2014-05-14 09:29:09 -04:00