Commit Graph

2260 Commits

Author SHA1 Message Date
Davide P. Cervone
8b4176fc1c Move styling from mtext to merror, and allow the styles to be specified in the configuration. Resolves #387. 2014-03-16 08:55:29 -04:00
Davide P. Cervone
1092de83de Merge remote-tracking branch 'dpvc/font-fixes' into develop. 2014-03-14 14:35:30 -04:00
Davide P. Cervone
aacd4287b6 Merge remote-tracking branch 'dpvc/font-fixes' into develop. Resolves #501 and others. 2014-03-14 14:32:16 -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
858c818030 Merge pull request #750 from rbrito/recompress-pngs
images: Optimize PNG images further with optipng and advpng. (Closes #748)
2014-03-05 12:38:26 -05: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
Rogério Brito
22817277c6 images: Optimize PNG images further with optipng and advpng.
The commands used for recompression were:

    optipng -zc1-9 -zm1-9 -zs0-3 -f0-5 *.png
    advpng -z3 *.png
    advpng -z4 -i500 *.png

Note that advpng uses different algorithms when recompressing the image. The
3 refers to 7zip's deflate implementation, while 4 refers to Google's
zopfli.  For zopfli, the argument to -i specifies how many iterations to
run.

Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
2014-02-24 17:25:50 -03:00
Davide P. Cervone
ff8e052806 Simplify font selection code for SVG output. 2014-02-23 14:52:44 -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
e67c01ca0b Merge branch 'issue376' into develop. Issue #376. 2014-02-21 10:53:07 -05:00
Davide P. Cervone
dfcc8ca0f7 Merge branch 'issue738' into develop. Issue #7348. 2014-02-21 10:52:43 -05:00
Davide P. Cervone
59ea9a8543 Merge branch 'issue734' into develop. Issue #734. 2014-02-21 10:47:39 -05:00
Davide P. Cervone
e66df30f25 Merge branch 'issue743' into develop. Issue #743. 2014-02-21 10:47:16 -05:00
Davide P. Cervone
d33e7c1144 Merge branch 'issue747' into develop. Issue #747. 2014-02-21 10:46:38 -05:00
Davide P. Cervone
f38dc200fc Make annotation NOT be a token element, by adding a new isChars flag to force its contents to be a chars node rather than an mtext node (which is why it was labelled isToken originally). Resolves issue #376. 2014-02-20 15:38:14 -05:00
Davide P. Cervone
8ed9207668 Don't use MathJax_MSIE_Frame for those vesions of IE that suppor position:fixed (7 and above, as it turns out). Resolves issue #738. 2014-02-20 14:29:31 -05:00
Davide P. Cervone
3118eeb9d7 Compress close and menu images, and only pre-load menu arrow when discoverability is requested. Resolves issue #734. 2014-02-20 12:59:28 -05:00
Davide P. Cervone
4e143688cc Add useMathMLspacing option to AsciiMath input jax. Resolves issue #743 2014-02-20 12:37:03 -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
2a931136f4 Merge branch 'issue746' into develop. Issue #746. 2014-02-20 10:18:07 -05:00
Davide P. Cervone
23781aa8d6 Merge branch 'issue701' into develop. Issue #701. 2014-02-20 10:17:23 -05:00
Davide P. Cervone
4aa6fa613d Remove incorrect nodeValues for non-text nodes. Resolves issue #747. 2014-02-20 10:12:57 -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
f6bc6fa129 Make \\left...\\right be of TeX class INNER. Resolves issue #746. 2014-02-19 19:17:28 -05:00
Davide P. Cervone
9bed669135 Merge branch 'issue240' into develop. Issue #240. 2014-02-17 11:28:30 -05:00
Davide P. Cervone
1022eecd99 Merge branch 'issue719' into develop. Issue #719. 2014-02-17 11:26:20 -05:00
Davide P. Cervone
9220eae8c0 Merge branch 'issue709' into develop. Issue #709. 2014-02-17 11:25:41 -05:00
Davide P. Cervone
a205aea118 Merge branch 'issue624' into develop. Issue #624. 2014-02-17 11:25:08 -05:00
Davide P. Cervone
27c047afb6 Merge branch 'issue476' into develop. Issue #476. 2014-02-17 11:23:54 -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
c855a35eff Don't clip delimiters that stretch farther than they are they supposed to. (This is handled by letting them extend beyond their bounding box, but that means they can overlap the rows above or below. Idealy, this should alter the heights of the rows, but that could require restretching rows when equalrows is set, and could lead to looping to try to get the table to stablize. Resolves issue #701 for now. 2014-02-17 11:15:26 -05:00
Davide P. Cervone
9733c1b614 Make empty rows be the standard height and depth; indeed make ALL rows
have at least this height and depth.  Resolves both problems in issue #719.
2014-02-16 05:58:35 -05:00
Davide P. Cervone
d494748ded Changed regular expresion to account for new (longer) Rackspace address. Resolves issue #709. 2014-02-16 05:16:53 -05:00
Davide P. Cervone
a5f09d01f6 Fix string character reference to work with IE7. Resolves issue #624. 2014-02-15 17:49:16 -05:00
Davide P. Cervone
959218f7a9 Adjust positions of extenders for double-lined vertical arrows. (The horizontal position of the extender is off in teh fonts.) Resolves issue #476. 2014-02-15 16:44:49 -05:00
Davide P. Cervone
2927bbfc34 Merge branch 'issue470' into develop. Issue #470. 2014-02-15 12:38:21 -05:00
Davide P. Cervone
7313af12c2 Merge branch 'issue353' into develop. Issue #353. 2014-02-15 12:37:52 -05:00
Davide P. Cervone
243141db7c Merge branch 'issue328' into develop. Issue #328. 2014-02-15 12:37:30 -05:00
Davide P. Cervone
dabec97691 Merge branch 'issue586' into develop. Issue #586. 2014-02-15 12:37:06 -05:00
Davide P. Cervone
46ce16d9ba Merge branch 'issue619' into develop. Issue #619. 2014-02-15 12:36:39 -05:00