Commit Graph

2495 Commits

Author SHA1 Message Date
Davide P. Cervone
6399338521 Preliminary change to custom tag names (for easier readability, and less chance of CSS bleed-through). 2015-02-27 10:55:43 -05:00
Davide P. Cervone
8f5677f2de Remove unwanted '+' from @font-face declaration. 2015-02-27 10:36:21 -05:00
Davide P. Cervone
a26b6426fe Make bounding boxes for character based on line-height:0 rather than line-height:normal (the other varried too much from browser to browser and failed to match the internal dimensions). The HFUZZ and DFUZZ may need to be adjusted, and may need to be made browser specific (argh), but that might be able to be done through CSS. 2015-02-27 10:35:06 -05:00
Davide P. Cervone
a05227995c Merge branch 'develop' into chtml. (Update to v2.5.1) 2015-02-25 18:44:54 -05:00
Davide P. Cervone
ad66602529 Merge remote-tracking branch 'dpvc/hotfix-2.5' into develop 2015-02-25 18:34:17 -05:00
Peter Krautzberger
574d4a3e96 Merge pull request #1065 from dpvc/hotfix-2.5
Release of v2.5.1
2015-02-25 17:39:43 +01:00
Davide P. Cervone
48b594afce Repack and recombine for v2.5.1 release. 2015-02-25 11:05:38 -05:00
Davide P. Cervone
960108c712 Fix version number of MathJax as a whole. 2015-02-25 10:59:15 -05:00
Davide P. Cervone
5f53a23e58 Force measurement of unknown characters, even when noReflows is active. 2015-02-25 10:59:01 -05:00
Davide P. Cervone
89d259dac4 Use line-height:0 to make alignments easier, and line-height:normal for character boxes. Add ascent/descent data to fonts, and use that to get correct bounding boxes for characters (requires fixing the fonts to get PC/Mac ascent/descent to be the same). 2015-02-25 10:36:53 -05:00
Davide P. Cervone
22a19a18e2 Use variables for LINEH and LINED values. 2015-02-23 14:31:08 -05:00
Davide P. Cervone
b9c5ff1d81 Get height and depth for ALL character boxes (so large ops, etc, have correct size, since line-height kills that) 2015-02-23 12:36:51 -05:00
Davide P. Cervone
8f0e833ba6 Remove integral hack that was needed for Times, and don't add TeX space to mspace elements. 2015-02-23 12:11:56 -05:00
Davide P. Cervone
adfa16e3ae Center large ops, and add preliminary italic correction support. 2015-02-23 12:01:48 -05:00
Davide P. Cervone
909140b314 Make axis height a variable. 2015-02-23 11:26:50 -05:00
Davide P. Cervone
13dff04736 Improve handling of <mo> elements: find correct large operator font (still need to handle centering); handle accent substitution (still need to fix munderover to get spacing right). 2015-02-23 11:19:37 -05:00
Davide P. Cervone
95c029ddd3 Add some missing caches, add some space characters (so they don't have to be special cased in the text handling), and fix up some variant chaining. 2015-02-23 11:15:57 -05:00
Davide P. Cervone
3c6dcf717b Clean up style formatting. 2015-02-23 10:02:14 -05:00
Davide P. Cervone
8e1e853346 Implement TeX spacing (as well as MathML spacing) 2015-02-23 09:55:37 -05:00
Davide P. Cervone
2837c5f114 Preliminary support for TeX fonts (currently only uses local fonts, and doesn't load data not already in the fontdata file. 2015-02-22 18:54:22 -05:00
Davide P. Cervone
b2f1a0f830 Better handling of scaling in fractions. Use a variable for the script scaling factor. Clean up some bounding box computations. 2015-02-22 18:51:21 -05:00
Davide P. Cervone
1763ac7188 Handle propagation of bounding box sizes better. 2015-02-22 10:59:35 -05:00
Davide P. Cervone
4ef56bb007 Better fraction layout (works in XHTML). 2015-02-22 10:54:33 -05:00
Davide P. Cervone
1cbf00d54d Better handling of scriptlevel 2015-02-22 10:46:10 -05:00
Davide P. Cervone
8623acf05a Support old-style background and color attributes 2015-02-22 10:41:13 -05:00
Davide P. Cervone
665f56aab1 Repack and recombine changes for v2.5.1 2015-02-20 09:50:28 -05:00
Davide P. Cervone
6286c63239 Fix var problems identified by YUI. 2015-02-20 09:47:47 -05:00
Davide P. Cervone
705f738228 Merge branch 'issue1053' into hotfix-2.5. Issue #1053. 2015-02-20 09:26:26 -05:00
Peter Krautzberger
627ab61df8 Update with recent fixes from @davidcarlisle
Fixes #1024
2015-02-20 09:23:05 -05:00
Davide P. Cervone
f87cb5cf42 Bump version numbers for updated files 2015-02-19 17:43:07 -05:00
Davide P. Cervone
81131da3fc Handle variant within handleText() rather than in handleToken(). 2015-02-19 09:28:47 -05:00
Davide P. Cervone
201b5d5987 Merge branch 'develop' into chtml 2015-02-19 09:01:10 -05:00
Davide P. Cervone
13ebde0937 Correct computation of TeX class for maction elements (handle embellished operators correctly). 2015-02-19 08:59:23 -05:00
Davide P. Cervone
3308957304 Fix some comments. 2015-02-19 08:58:01 -05:00
Davide P. Cervone
9d8c48ec51 Fix zooming in CommonHTML. 2015-02-18 17:26:00 -05:00
Davide P. Cervone
783ffadb20 Merge pull request #1064 from mathjax/issue1024-mml3js
Update with recent fixes from @davidcarlisle
2015-02-18 16:59:00 -05:00
Davide P. Cervone
fe0d977494 Handle padding in measured children when noReflows is used (e.g., in maction tags around operators). 2015-02-17 16:03:25 -05:00
Davide P. Cervone
8ea3a8329d Better layout for fractions (works in xhtml). 2015-02-17 14:56:51 -05:00
Peter Krautzberger
05f9233886 Update with recent fixes from @davidcarlisle
Fixes #1024
2015-02-17 11:02:36 +01:00
Davide P. Cervone
e9ed0a1315 These have been moved to the mml element jax. 2015-02-15 16:09:01 -05:00
Davide P. Cervone
49c3e3a156 Don't set font-size of maction span (the elements it contains do that themselves). 2015-02-14 15:43:40 -05:00
Davide P. Cervone
15b3928891 Break HTML-CSS output into phases so that the final measurement can be done all at once. Restores timing improvements that were lost due to a change made in the testing for v2.5. 2015-02-14 15:30:37 -05:00
Davide P. Cervone
b1a2b4fe03 Don't cache the value of 'selected', since calls to isEmbellished() can be made before the expression is in place, and the values of displastyle and scriptlevel are known. Resolves issue #1053. 2015-02-11 09:34:25 -05:00
Davide P. Cervone
cb13a059bb Localize a variable that was accidentally global. Resolves problem 2 of #1050. 2015-02-09 16:16:30 -05:00
Davide P. Cervone
8c9fc2122b Make sure these extensions pas on ALL arguments to the routines they override. (Needed for fix to toHTML to allow measurements to be grouped.) 2015-02-09 12:45:18 -05:00
Davide P. Cervone
f21589ea9a Merge branch 'issue1039' into hotfix-2.5. Issue #1039. 2015-02-05 18:32:50 -05:00
Davide P. Cervone
1e67bf954f Merge branch 'issue1033' into hotfix-2.5. Issue #1033. 2015-02-05 18:31:15 -05:00
Davide P. Cervone
df200f22f3 Merge branch 'issue1006' into hotfix-2.5. Issue #1006. 2015-02-05 18:28:43 -05:00
Davide P. Cervone
f5b7bf59b3 Remove README-branch.txt, which is no longer needed. Issue #1039 2015-02-05 18:24:27 -05:00
Davide P. Cervone
9531b299d4 Make sure children of mtable are mtr or mlabeledtr (was incorrectly making an mtd instead of an mtr). Resolves issues #1006 and #1032. 2015-02-05 16:47:17 -05:00