Commit Graph

1980 Commits

Author SHA1 Message Date
Davide P. Cervone
432f5eba69 Move submenus to the left for RTL languages, and make menus open to the left as well. Resolves issue #777. 2014-04-09 17:23:03 -04:00
Davide P. Cervone
c33e0f06b8 Fix scaling for SVG (similar to HTML-CSS fixes). Issue #703 2014-04-09 16:00:10 -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
a47b1fa009 Merge remote-tracking branch 'dpvc/issue687' into develop. Issue #687. 2014-03-23 05:48:38 -04:00
Davide P. Cervone
c212638e66 Merge remote-tracking branch 'dpvc/issue617' into develop. Issue #617. 2014-03-23 05:48:13 -04:00
Davide P. Cervone
309dbc5a4a If a break occurs at a space or operator that has non-zero width, don't remove next element's initial spacing. 2014-03-21 16:54:10 -04:00
Davide P. Cervone
12f969593d Remove initial space after a linebreak properly. Resolves #687. 2014-03-21 06:58:46 -04:00
Davide P. Cervone
2bb627844f Added support for linebreaking of mmultiscripts. Resolves issue #617. 2014-03-21 06:13:34 -04:00
Davide P. Cervone
283cff4289 Merge remote-tracking branch 'dpvc/issue763' into develop. Issue #763. 2014-03-20 05:50:04 -04:00
Davide P. Cervone
982d9f92f7 Merge remote-tracking branch 'dpvc/issue691' into develop. Issue #691. 2014-03-20 05:49:37 -04:00
Davide P. Cervone
6c4996b436 Merge remote-tracking branch 'dpvc/issue615' into develop. Issue #615. 2014-03-20 05:49:20 -04:00
Davide P. Cervone
b9379938a8 Merge remote-tracking branch 'dpvc/issue692' into develop. Issue #692.
the commit.
2014-03-20 05:48:57 -04:00
Davide P. Cervone
6a930736aa Merge remote-tracking branch 'dpvc/issue256' into develop. Issue #256. 2014-03-20 05:47:08 -04:00
Davide P. Cervone
921f9544c5 Merge remote-tracking branch 'dpvc/issue737' into develop. Issue #737. 2014-03-20 05:46:40 -04:00
Davide P. Cervone
a12a0e5918 Fix unitless width and height in HTML-CSS mglyph, and fix aspect ratio when only one is specified in SVG output. Resolves issue #763. 2014-03-19 16:49:23 -04:00
Davide P. Cervone
86388a5965 Clear \label even if there is no \tag or equation number. Resolves issue #691. 2014-03-19 12:32:48 -04:00
Davide P. Cervone
13d79045b5 Add check that font name is valid. Resolves issue #615. 2014-03-19 12:05:33 -04:00
Davide P. Cervone
bb8c8991e1 Merge remote-tracking branch 'dpvc/issue770' into develop. Issue #770. 2014-03-19 09:43:13 -04:00
Davide P. Cervone
6b93c17d9c Update version of ctop.xsl used in content-mathml extension. Issue #692. 2014-03-19 09:38:35 -04:00
Davide P. Cervone
f220993196 Remove new Function() calls, and isolate eval() to be used only when necessary. Resolves issue #256. 2014-03-18 17:19:36 -04:00
Davide P. Cervone
94c6711d86 Add ability to specify additional root paths like [MathJax]. Resolves issue #737. 2014-03-18 13:41:48 -04:00
Davide P. Cervone
0f659f5b3e Add support for dotted borders. Resolves issue #770. 2014-03-18 12:54:29 -04:00
Davide P. Cervone
6ed8a76d5e Merge remote-tracking branch 'dpvc/issue387' into develop. Issue #387. 2014-03-18 12:18:51 -04:00
Davide P. Cervone
24b57ec75e Fix problem with not having all borders specified. 2014-03-18 12:17: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
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