Commit Graph

38 Commits

Author SHA1 Message Date
Davide P. Cervone
f43f94a9e1 Update mpadded to work with new custom tags and line-height 2015-03-01 14:14:29 -05:00
Davide P. Cervone
c1402235ba Implement TeX fraction rules (still need to do bevelled fraction). 2015-03-01 12:56:17 -05:00
Davide P. Cervone
03ff8e5a25 Add TeX font parameters, and switch to TeX.axis_height rather than AXISHEIGHT. (Use in mtable will be fixed later.) 2015-03-01 10:48:53 -05:00
Davide P. Cervone
7b723003bf Fix up some CSS, and some other minor details. 2015-03-01 10:39:13 -05:00
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
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
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
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
81131da3fc Handle variant within handleText() rather than in handleToken(). 2015-02-19 09:28:47 -05:00
Davide P. Cervone
9d8c48ec51 Fix zooming in CommonHTML. 2015-02-18 17:26:00 -05:00
Davide P. Cervone
8ea3a8329d Better layout for fractions (works in xhtml). 2015-02-17 14:56:51 -05: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
f5c10288dd Update copyright dates. 2015-01-29 10:21:06 -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
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
8c616789ef Fix some local/global variable issues detected by doing the compression. 2014-11-08 09:30:24 -05: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
4ad33386ef Remove styling of preview (left over from use as an input postfilter) 2014-08-16 13:00:26 -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