Share

jsMath

File Release Notes and Changelog

Release Name: 3.4

Notes:
This release adds a new "easy loader" to make it easier to configure and load 
jsMath.  There is also new installation documentation and some test files to 
make it easier to check if you have installed jsMath correctly.  A number of bugs 
have been fixed as well.  See the change log for more details.

Changes: * Added a test page so that you can more easily determine if you have jsMath installed correctly. * Added a new "easy loader" so that jsMath can be loaded and run with a single SCRIPT tag. The file can be customized to configure jsMath to suit your needs, and it can control jsMath, invoke the autoload and tex2math plugins, and load extensions and fonts. * A number of users have complained that the jsMath TeX fonts don't render well on the PC, and this problem has gotten worse with the release of MSIE7. This seems to be due to poor anti-aliasing, and so, for example, thin horizontal lines can disappear (causing minus signs to vanish, or plus signs to turn into minus signs). It is telling that Microsoft has disabled font smoothing within their own fonts. A new set of jsMath-TeX fonts have been sent to me by Jetsada Karnpracha with anti-aliasing turned off, which perform better than the original versions. * Fixed a problem with the jsMath button not staying in the lower right-hand corner in MSIE7. (The fix does not take into account changes in the position based on CSS for the button; that may be fixed in the future.) * In the images-for-symbols fallback mode, the minus sign was being represented by an en-dash. This caused problems in some unix environments; it has been replaced by the unicode minus sign, which it should have used in the first place. * Fixed an error where empty math lists could end up with negative widths (cached data wasn't being cleared properly). * Fixed a bug where super- and subscripts immediately following \over and related macros would incorrectly apply the super- or subscript to the last item preceeding the \over. * Fixed an error with \smash that could cause the line spacing to be incorrectly set in some situations. * Added \lt and \gt macros to make it easier to enter mathematics that include < and >. Since these characters are used to mark HTML tags, it can be hard to include them in TeX code within an HTML page. Often putting spaces around the < or > will work, and you could enter them as HTML entities like &lt; and &gt;, but this is not very convenient. * When sprite-image fonts are used in conjunction with any of the extra-fonts, then jsMath would incorrectly look in jsMath/fonts rather than jsMath/fonts-sprite for the definition files if the user has the native jsMath version of the font installed. This has been corrected. Also, the def.js files have been updated for four of the sprite fonts: cmbsy10, cmmib10, msam10, and msbm10, so you may want to download those sprite fonts again. * The warning messages for missing extra fonts are now recorded in the jsMath cookie, so they will not be reissued after they have been displayed once. * Changed the way that the jsMath.Setup.User routine works. You now specify functions for the individual times that the User function could be called via the jsMath.Setup.UserEvent object. Pages that replace the jsMath.Setup.User function, and that properly check for the "when" parameter, should continue to work. * Added a new "onload" event to the ones that are processed by the jsMath.Setup.User routine. This is called when jsMath.js has finished loading and running. Note that if jsMath.js is loaded in the document HEAD, this will fire before jsMath.Setup.Body() has been called, so the "onload" event may come before the "pre-font" event (which occurs as the body is being set up). * Fixed a problem with baseline alignment in Firefox when in-line math appears within text that has a non-standard line-height. (There are still some baseline issues with MSIE -- big surprize). * Added more CSS to jsMath's control panel to try to isolate it from the main page's CSS a bit more (so that font and background color changes won't bleed into the control panel). * Added CSS to make the link button's border work properly in warning messages in MSIE. * Fixed the documentation for autoload which incorrectly listed findCustomStrings as CustomStrings. * Fixed a problem with custom delimiters in tex2math. When the starting and ending delimiters are the same, tex2math did not properly end the math mode at the first terminator. * Fixed a problem with tex2math where the processSlashParens and processSlashBrackets flags did not get handled properly when they are set to zero. * Fixed ability of jsMath to identify Intel-based Macs.