Commit Graph

381 Commits

Author SHA1 Message Date
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
301ee4f300 Merge branch 'issue950' into develop. Issue #950. 2014-12-07 07:10:09 -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
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
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
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
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
c30dd6647b Merge branch 'issue829' into develop. Issue #829. 2014-09-11 06:50:13 -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
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
14fd3918ed Use delimitershortfall and delimiterfactor for stretching vertical delimiters. Resolves issue #829. 2014-09-08 15:23:42 -04:00
Davide P. Cervone
4a4d88c26f Merge branch 'no-reflows' into develop 2014-09-01 14:13:52 -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
58c20a9a4c Merge branch 'issue826' into develop. Issue #826. 2014-08-21 16:27:15 -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
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
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
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
7aab884fd0 Merge pull request #874 from pkra/nodejs
merging @dpvc's Nodejs branch into develop.
2014-07-21 10:06:35 -04:00
Davide P. Cervone
12313a6629 Add missing array in signal data 2014-06-08 21:09:00 -04:00
Davide P. Cervone
d92ae61db1 Fix variable reference turned up by packer 2014-06-01 10:54:47 -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
0ebff03dc1 Merge branch 'issue820' into v2.4-beta. Issue #820. 2014-05-27 15:18:55 -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
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
5538982def Remove space around accent operators (resolves issue #815). 2014-05-12 15:47:01 -04:00
Davide P. Cervone
e92f3f2718 Change copyright and version numbers 2014-05-07 17:02:28 -04:00
Davide P. Cervone
ad0d7760f0 Improve handling of removal of   for IE in AlignBox 2014-05-07 05:29:31 -04:00
Davide P. Cervone
3ebb153763 Ignore mathsize for non-token elements when figuring scales. 2014-05-05 11:18:44 -04:00
Davide P. Cervone
ab3a7e429f Always use start marker in IE (fixes sizes of background colors, see mphantom color test). 2014-05-05 11:06:10 -04:00
Davide P. Cervone
0b4ee45777 Remove   when msiePlaceBoxBug is in effect 2014-05-05 09:14:49 -04:00
Davide P. Cervone
49ede41339 Handle MSIE padding bug properly when linebreaking mmultiscripts and when adding nulldelimiterspace wround fractions. 2014-05-04 17:46:34 -04:00
Davide P. Cervone
09ce98092b Move generic font and fontdata to main jax object so that we are sure to have one (it will be overwritten when the actual font data are loaded). 2014-05-04 15:24:49 -04:00
Davide P. Cervone
462be1eaeb Make sure that <mo> with minsize or maxsize set are stretched. 2014-04-25 17:31:11 -04:00
Davide P. Cervone
3837d8db0e Make Chrome > 32.0 get bold-italic correctly. Issue #735. 2014-04-22 06:30:55 -04:00
Davide P. Cervone
c548a7f0a6 Fix incorrect use of TeX_factor for relative sizes. 2014-04-21 05:59:18 -04:00
Davide P. Cervone
1e8ae72201 Merge branch 'zoom-fix' into develop. Issues #749, #460, #423. 2014-04-11 07:56:49 -04:00
Davide P. Cervone
662023bed4 Merge branch 'issue703' into develop. Issue #703. 2014-04-11 07:55:31 -04:00
Davide P. Cervone
6ba5f2a624 Make absolute sizes scale when zoomed. Resolves issue #460. 2014-04-10 20:48:28 -04:00
Davide P. Cervone
239cfe33e5 Fix a few bugs with scaling in HTML-CS mode. 2014-04-09 15:59:43 -04:00
Davide P. Cervone
defe996cf7 Fix mathsize in HTML-CSS output so that it acts as a zoom (spaces, math axis, etc, are all scaled). Issue #703. 2014-04-09 13:54:56 -04:00
Davide P. Cervone
1956063ecc Merge remote-tracking branch 'dpvc/issue751' into develop. Issue #751. 2014-03-18 11:50:34 -04:00
Davide P. Cervone
63bbb8f28c Add cache-breaking values (when needed) for all javascript, font, and image files loaded from the CDN. Cache-breaking can be controlled on a file-by-file or global basis. Resolves issue #751. 2014-03-14 10:48:13 -04:00
Davide P. Cervone
cfb40e9190 Add one more font name to check for new web fonts locally. 2014-03-05 09:51:41 -05:00
Davide P. Cervone
81d9cce510 Work around stupid Fedora stix font package that incorrectly aliases all STIXGeneral fonts to STIX-Word fonts. Resolves issue #501. 2014-03-03 18:34:50 -05:00
Davide P. Cervone
4d4db67ad0 Make testCollection properly mark STIX fonts as not having the style characters, and fix testing for STIX or MathJax at beginning of font names. 2014-03-03 18:33:12 -05:00
Davide P. Cervone
36194fe36a Add a new fonts parameter for HTML-CSS to simplify font configuration. 2014-02-23 14:52:43 -05:00
Davide P. Cervone
4ea4816553 Simplify handling of new web fonts when selected by menu. 2014-02-23 14:52:43 -05:00
Davide P. Cervone
0d2dc7fe27 Hack to allow new web fonts to be used locally. The naming of the new fonts should be changed to use the same name for both PC and Mac formats, but that is for a future release. Still need to test Linux. 2014-02-23 14:52:43 -05:00
Davide P. Cervone
c9f50f7797 Add extra DIV to prevent Font_Test DIV from adding space to the page, even temporarily. 2014-02-22 14:14:24 -05:00
Davide P. Cervone
d553f18625 Merge branch 'issue576' into develop. Issue #576. 2014-02-22 08:33:41 -05:00
Davide P. Cervone
2de09d8121 Add a check if defaultEm is zero, and retry after a delay if it is. WebKit seems to have this happen sometimes when web fonts are used for the page (though hard to reproduce). Resolves issue #576. 2014-02-21 16:21:09 -05:00
Davide P. Cervone
3614cd1671 Merge branch 'develop' into issue703 2014-02-21 11:06:47 -05:00
Davide P. Cervone
0b3454ce25 Merge branch 'issue744' into develop. Issue #744. 2014-02-20 10:19:15 -05:00
Davide P. Cervone
6e46adc08f Merge branch 'issue547' into develop. Issue #547. 2014-02-20 10:18:45 -05:00
Davide P. Cervone
2c303a8850 Change fuzz factor for Chrome square roots. Resolves issue #744. 2014-02-19 19:25:23 -05:00
Davide P. Cervone
7eaedb4639 Handle adding of nulldelimiterspace so taht it is properly included in the width of the fraction. Resolves issue #547. 2014-02-19 19:20:24 -05:00
Davide P. Cervone
bc19088423 Prevent mo's from being stretched more often than needed (check that they aren't already the right size when matching mrow size). Also, allow TeXAtom to stretch properly when part of an embellished operator. Issue #701. 2014-02-17 11:17:29 -05:00
Davide P. Cervone
6b6623bc5c Merge branch 'issue473' into develop. Issue #473. 2014-02-14 08:32:48 -05:00
Davide P. Cervone
f01d347bb1 Merge branch 'issue684' into develop. Issue #684. 2014-02-14 08:30:28 -05:00
Davide P. Cervone
a3fd08bb7a Add text-indent:0 to SVG and HTML-CSS output. Resolves issue #473. 2014-02-13 14:29:38 -05:00
Davide P. Cervone
002917e559 Make remapping from REMAP and variant.remap work the same, and when string value is used, go back and check for variant changes again. Resolves isse #684. 2014-02-13 06:55:59 -05:00
Davide P. Cervone
ebdbe6f04d Chrome 32 doesn't load bold-italics properly, so use FontFaceBug to get around that. Issue #735. 2014-02-12 11:02:03 -05:00
Davide P. Cervone
7bf7ffef3d Merge branch 'hotfix-2.3' into develop. (This not merged into master,
but I don't want to run into merge conflicts later on with develop.)
2014-02-10 09:48:43 -05:00
Davide P. Cervone
bcceb08590 Add \texttt and \textsf macros, and make them work with mtextFontInherit. Resolves issue #459. 2014-02-09 13:45:58 -05:00
Davide P. Cervone
2afb80176c Merge branch 'issue681' into develop. Issue #681. 2014-02-08 11:28:03 -05:00
Davide P. Cervone
ba238a6393 Fixed accidental switching of true and false when testing for local font. Issue #681. 2014-02-08 11:27:36 -05:00
Davide P. Cervone
25d6ce9f65 Merge branch 'issue730' into develop. Issue #730. 2014-02-07 10:06:13 -05:00
Davide P. Cervone
3fc0a5762b Merge branch 'issue517' into develop. Issue #517. 2014-02-07 10:03:10 -05:00
Davide P. Cervone
cdcc04d521 Merge branch 'issue580' into develop. Issue #580. 2014-02-07 10:01:53 -05:00
Davide P. Cervone
f1f109b586 Remove redundent check (if span is null, then div will be null, so only need to check for div). Issue #730. 2014-02-07 09:39:56 -05:00
Davide P. Cervone
8dc99cef2d Add min and max width and height resets to CSS where appropriate. Resolves issue #517. 2014-02-06 15:20:19 -05:00
Davide P. Cervone
57d85a4f69 Fixed typo in 'important'. 2014-02-06 15:15:46 -05:00
Davide P. Cervone
4f10613b2a Add '!important' to CSS for display property. Resolves issue #580. 2014-02-06 14:31:17 -05:00
Davide P. Cervone
6c50f1dae8 Clear font test div so that its width doesn't affect the page size. resolves issue #681. 2014-02-06 14:02:41 -05:00
Davide P. Cervone
3b35ca9e16 Add more tests to check that the math is still in the page. Should resolve issue #730 (though we don't have their page and can't really test it). 2014-02-06 13:18:04 -05:00
Davide P. Cervone
65cc50ac5c Fixed font name table to work on Windows as well as Macs with the new web fonts installed locally 2014-01-13 15:49:16 -05:00
Davide P. Cervone
39527d2a34 Fix font names in font-test data so that local versions of the web fonts can be detected. This still has to be tested on Windows and Linux. Issue #711. 2014-01-08 13:32:26 -05:00
Davide P. Cervone
c54ac49108 Scale axis sizes properly for scripts. Issue #703. 2014-01-08 11:44:23 -05:00
Frédéric Wang
3fee31b7e4 Address review comments #627 2013-10-21 10:04:39 +02:00
Frédéric Wang
a2046c05a3 Restore the direction=ltr on the MathJax containers. #627 2013-10-18 14:36:14 +02:00
Frédéric Wang
932b7e8f7c Experimental Bidi branch. #474, #/610, #627 2013-10-18 10:04:47 +02:00
Frédéric Wang
1ad11f6e89 New branch for issue #489 ; regenerate the data. 2013-10-08 11:43:30 +02: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
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
4053d7acab Set versions to 2.2 and update copyright notice 2013-05-01 14:37:39 -04:00
Davide P. Cervone
9394d32571 Handle empty child nodes better. 2013-04-30 15:24:59 -04:00