Commit Graph

369 Commits

Author SHA1 Message Date
Davide P. Cervone
d38774b014 Repack AMSmath and recombine 2012-08-20 09:54:26 -04:00
Davide P. Cervone
91df5dae5b Combine multiple primes into single unicode characters. Issue #216. 2012-08-20 09:05:57 -04:00
Davide P. Cervone
c1097dc29c Merge branch 'issue213' into develop 2012-08-20 08:49:35 -04:00
Davide P. Cervone
e325cf9acf Merge branch 'issue229' into develop 2012-08-20 08:49:18 -04:00
Davide P. Cervone
81ce9ec446 Merge 'issue249' into develop 2012-08-20 08:41:57 -04:00
Davide P. Cervone
abaa72e102 Remove unwanted 'em' from eqnarray columnwidth (reported by Fred). Issue #229. 2012-08-20 08:33:05 -04:00
Davide P. Cervone
e25d84d30f Make <mi> with more than one letter have tex class OP rather than ORD so it will space as a function. This takes care fo things like sin and cos, and should not interfer with other uses like variables with multi-character names. Resolves issue # 267. 2012-08-19 14:53:07 -04:00
Davide P. Cervone
9340a02d72 Prevent align attribute on mtable from applying to mover/munder/munderover elements. Resolves issue #249 2012-08-19 09:28:24 -04:00
Davide P. Cervone
939c1dc034 Bump version, repack, and recombine previous commit. Issue #213. 2012-08-19 09:12:06 -04:00
Davide P. Cervone
085ecf46b2 Bump version, pack and recombine previous commit 2012-08-19 09:04:07 -04:00
Davide P. Cervone
0236ee5a54 Merge branch 'issue286' into develop 2012-08-18 19:33:54 -04:00
Davide P. Cervone
9fe3f9eb15 Merge branch 'issue226' into develop 2012-08-18 19:33:33 -04:00
Davide P. Cervone
1fc8929667 Repack and recombine (missed a packing somewhere along the line). Fixes the problem Fred reports with tests using packed versions. 2012-08-18 08:43:44 -04:00
Davide P. Cervone
4f722d050f Make mtextFontInherit use the style and weight indicated in the math, so that \textbf and \textit will work properly. Resolves issue #226. 2012-08-17 19:35:50 -04:00
Davide P. Cervone
c481c9f375 Allow decimal scale values. Fix setting of scale to work with SVG. Resolves issue #286. 2012-08-17 18:40:17 -04:00
Davide P. Cervone
c8b9755caf Fix for problem reported by Fred in issue #278. 2012-08-16 14:18:09 -04:00
Davide P. Cervone
481373994f Merge 'issue225' into develop 2012-08-16 11:42:23 -04:00
Davide P. Cervone
332dad309c Merge 'issue268' into develop 2012-08-16 11:39:47 -04:00
Davide P. Cervone
fe02e699a7 Merge branch 'issue215' into develop 2012-08-16 09:16:41 -04:00
Davide P. Cervone
bb7f76158c Bump version number and recombine after prevous pull from Fred 2012-08-16 09:12:23 -04:00
Davide P. Cervone
c5de4397a4 Merge 'issue209' into develop 2012-08-15 15:52:40 -04:00
Davide P. Cervone
46f2941d5a Merge branch 'issue230' into 'develop' 2012-08-15 11:03:01 -04:00
Davide P. Cervone
f71f84e35b Merge branch 'issue242' into 'develop' 2012-08-15 11:00:52 -04:00
Davide P. Cervone
e86153d59b Merge branch 'issue263' into 'develop' 2012-08-15 10:57:52 -04:00
Davide P. Cervone
eb2afc8dec Merge branch 'issue268' into 'develop' 2012-08-15 10:54:32 -04:00
Davide P. Cervone
0a65cac0a1 Merge branch 'issue274' into develop 2012-08-15 10:51:34 -04:00
Davide P. Cervone
54fffeac3b Ignore \label{} with no label. Resolves issue #225. 2012-08-15 09:24:20 -04:00
Davide P. Cervone
1a09ec5ef1 Make sure 'embellished' function names propagate their texClass. Resolves issue #263. 2012-08-14 17:25:42 -04:00
Davide P. Cervone
2932430f34 Fixed problem where \\ with whitespace followed by [ would incorrectly be interpretted as \\[dimen]. Resolves issue #230. 2012-08-14 17:04:31 -04:00
Davide P. Cervone
6e73b80d88 Make \injlim and friends produce single <mi> elements for thier names. Resolves issue #215. 2012-08-14 16:33:40 -04:00
Davide P. Cervone
8ff5b925d8 Fix setTeXclass for TeXatom so that it handles the spacing for relations correctly. Resolves issue #242. 2012-08-14 15:52:38 -04:00
Davide P. Cervone
ecc14cf9b2 Make <mo>'</mo> produce script-positioned prime in MathJax fonts, while still allowing \prime to produce proper TeX output (a bit of contortion needed in the font remapping tables to allow it to override the character in MathJax_Main while still being able to use it for \prime). Resolves issue #268. 2012-08-14 14:39:37 -04:00
Davide P. Cervone
aa7440244a Add more CSS to isolate NativeMML output from page. (Resolves issue #274.) 2012-08-14 12:47:53 -04:00
Davide P. Cervone
0c02ab2670 Handle primes followed by superscript as TeX does in TeX input jax (resolves issue #278) 2012-08-14 11:34:36 -04:00
Davide P. Cervone
a93c59e669 Merge branch 'issue281' into develop 2012-08-14 08:44:29 -04:00
Davide P. Cervone
63619df08e Add close button to About box and don't make clicking box close it (only clicking button). Resloves issue #281 2012-08-14 08:43:57 -04:00
Davide P. Cervone
9f1656df09 Bump version numbers and make packed/combined files for last two commits 2012-08-14 08:41:44 -04:00
Davide P. Cervone
35119a25c4 Provide a separate span for semantics elements so linebreaking works properly (resolves issue #247) 2012-05-18 21:47:54 -04:00
Davide P. Cervone
adc375b343 Merge branch issue228 into develop 2012-05-18 21:02:08 -04:00
Davide P. Cervone
88108a167f Merge branch 'issue227' into develop 2012-05-18 20:59:47 -04:00
Davide P. Cervone
edfd102702 Merge issue209 with develop 2012-05-18 20:59:40 -04:00
Davide P. Cervone
920c603a4b Have output jax properly skip math when the input jax has had an internal failure and so didn't produce any element jax. (Resolves issue #228.) 2012-04-11 11:50:15 -04:00
Davide P. Cervone
544e37bebd Check for null operator when processing \limits (resolves issue #227) 2012-04-11 11:11:14 -04:00
Davide P. Cervone
ed0eb9c0c4 Added missing callback for restarting toMathML 2012-03-20 22:55:41 -04:00
Davide P. Cervone
b816490799 Bump the version numbers for the previous commit 2012-03-15 13:48:48 -04:00
Davide P. Cervone
f2d5c4b037 Make NativeMML output properly handle iOS double-tap-and-hold, and issue warning message when switching to NativeMML output. Resolves issue #209. 2012-03-15 12:09:38 -04:00
Davide P. Cervone
4d717dbea4 Work around IE10 bug with document.namespace, and with the background color for the contextual menu (resolves issues #203 and #204) 2012-03-07 12:04:20 -05:00
Davide P. Cervone
b08db7d93e Fix problem in HTML-CSS output with msubsup when super- or subscript has explicit style 2012-03-06 10:02:42 -05:00
Davide P. Cervone
c6b96dd558 Fix references to web fonts for use in Firefox in NativeMML output 2012-03-03 09:59:20 -05:00
Davide P. Cervone
a2ab1f3760 Fix problem with MathEvents where pinch gestures were not being registered if both fingers were in typeset equations. (This may still need more, but it is an improvement for now). Resolves issue #200. 2012-03-01 16:06:16 -05:00
Davide P. Cervone
b8fc1c99f5 Bump the version number on MathMenu.js to account for the previous change 2012-02-27 18:19:32 -05:00
Davide P. Cervone
b82c4ac6ee Fix typo in renderer-switching message for Forefox MML 2012-02-27 15:17:26 -05:00
Davide P. Cervone
4174acf5ac Change help-2-0 to help-v2 in URL references (I think this looks better) 2012-02-26 10:46:52 -05:00
Davide P. Cervone
66058ed1e7 Move help files to help-2-0 since menu setup is different, and if we edit the on0line docs, then sites that are still uwing v1.1 will point to the new docs instead of the ones appropriate for their version 2012-02-26 09:31:51 -05:00
Davide P. Cervone
c1ab649925 Add MathJax.InputJax.TeX.resetEquationNumbers() routine to allow reprocessing of pages that have equation numbers and labels 2012-02-23 14:52:54 -05:00
Davide P. Cervone
7ce521293c Fix a whitespace issue in token elements with IE/quirks mode (MathML input jax) 2012-02-17 12:05:06 -05:00
Davide P. Cervone
1698f9c33c Make a separate routine to get the contents of a script, and make it work in IE for XHTML files. 2012-02-10 08:21:42 -05:00
Davide P. Cervone
b5ab1e96c0 Move code that prevents numbers from being treated as a unit for super- and subscripts to the super- and subscript routines (instead of prefiltering for it). Resolves issue #192. 2012-02-09 13:27:18 -05:00
Davide P. Cervone
388595f4fe Make mml2jax work better with IE namespaces (IE9 no longer seems to list the xmlns entries on the html element) 2012-02-09 11:31:04 -05:00
Davide P. Cervone
db4f476301 Fix font message for SVG output 2012-02-07 18:28:02 -05:00
Davide P. Cervone
49e7bc5e9e Handle mode='display' attribute on math elements properly, now that is has been moved to a separate attr property internally 2012-02-07 09:59:36 -05:00
Davide P. Cervone
0d2d066b37 Make \ulcorner, etc. use more approprate unicode positions, and remap those positions to the locations in the MathJax_AMS fonts. 2012-02-01 16:15:30 -05:00
Davide P. Cervone
23472e3f87 Add U+2032 through U+2037 to the STIX characters that must come from the variants font; don't special case U+2032 in TeX input or STIX font tables. 2012-01-31 14:09:24 -05:00
Davide P. Cervone
8b49255547 Make \dots produce mo with stretchy=false to correspond to the other mathchar0mo elements 2012-01-31 11:50:18 -05:00
Davide P. Cervone
15aa6674b7 Fix problem with \mathop adding invisible times when the following isn't what the operator is being applied to (e.g., an <mspace>, or a BIN or REL operator) 2012-01-31 10:50:41 -05:00
Davide P. Cervone
2a3608ee37 Make EqnChunk smaller for mobile devices, and implement the chunk delay (inadvertantly left out) 2012-01-30 16:58:11 -05:00
Davide P. Cervone
b1233d332c Fix typo in EqnChunkDelay 2012-01-30 08:04:29 -05:00
Davide P. Cervone
3bd6c1d203 Move MP menu warning messages to a confiogurable array, and hide the menu unless the current renderer is NativeMML with MathPlayer 2012-01-26 16:14:20 -05:00
Davide P. Cervone
145f5b17c5 Put back missing styles for noError output in HTML-CSS output (commented out while making earlier changes). Since no longer a subclass of merror, don't adjust for merror font size. 2012-01-25 10:39:00 -05:00
Davide P. Cervone
30e35cc729 Add menu control for showing TeX hints in MathML, and make TeXAtom not show extra mrow when it contains a single element 2012-01-25 09:45:20 -05:00
Davide P. Cervone
02909ecba4 Update copyright dates and set version numbers to 2.0; repack and recombine 2012-01-25 09:23:45 -05:00
Davide P. Cervone
9936d53e2f Make font preference menu honor the imageFont setting 2012-01-24 13:07:28 -05:00
Davide P. Cervone
876be6f0fc Make showDsicoverable setting properly show/hide the Highlight-on-Hover menu item 2012-01-23 12:22:51 -05:00
Davide P. Cervone
0adb4b9d5e Make default for Firefox be HTML (since its native MML doesn't support all the needed features), and give explicit defaults for Safari and Chrome. 2012-01-23 12:17:13 -05:00
Davide P. Cervone
033e6ee6d1 Add warning messages if you switch to a renderer that is not appropriate for your browser (but let you do it anyway, just in case we are wrong) 2012-01-23 10:44:57 -05:00
Davide P. Cervone
344f832e1e Better handling of MathPlayer settings. In particular, allow Alt-Click in IE8 and lower when math menu is disabled. 2012-01-23 10:06:52 -05:00
Davide P. Cervone
92f00c7f5b Add a MathPlayer menu item in IE to allow user control over what gets passed to MathPlayer (this allows users with assitive technology to control the setup to suit their needs). 2012-01-23 06:49:11 -05:00
Davide P. Cervone
b02429e1ad Have MathJax.js set up MathPlayer if it can (since delaying that is what causes crashes). Also make preview be hidden to prevent screen readers from seeing them once the math is typeset. 2012-01-22 17:40:46 -05:00
Davide P. Cervone
603328ae82 Add \middle command to TeX input jax 2012-01-21 16:47:46 -05:00
Davide P. Cervone
39b0122d08 Fix problem with MathML input adding extra class of 'null' when no class is present on an element (result of changes to include special classes for TeX attributes) 2012-01-21 15:08:19 -05:00
Davide P. Cervone
14b3702e85 Fix a typo in the displaystyle parameter for the pre- and post-filters of the TeX input jax 2012-01-20 11:02:31 -05:00
Davide P. Cervone
b0fd920efb Fix a timing problem with mobile devices when combined configurations are used 2012-01-19 20:56:10 -05:00
Davide P. Cervone
a4d08f6522 Improve font detection for WebKit browsers (still doesn't work for Safari/Win). May resolve issue #65. 2012-01-19 18:48:11 -05:00
Davide P. Cervone
630febd0e8 Normalize name of preview filter function to filterPreview for all preprocessors. 2012-01-18 11:47:42 -05:00
Davide P. Cervone
44344c7142 Fix \dots to produce \ldots or \cdots depending on the following element (as the LaTeX version does) 2012-01-18 09:40:12 -05:00
Davide P. Cervone
2a9287b06a Fix texClass for <mo> elements that should be class OP, and make ^ and + be stretchy accents in infix mode 2012-01-16 15:44:02 -05:00
Davide P. Cervone
65892262ac Move remapping of <mo> contents to output jax, so that the original MathML is left unchanged 2012-01-14 16:33:43 -05:00
Davide P. Cervone
f2170f4c4a Make \require{} check URL for safety (currently overkill; it only allows loading from the extensions directory) 2012-01-14 15:30:25 -05:00
Davide P. Cervone
9763b5754f Handle \not better (produce proper unicode points for negated characters, when possible, use \u0338 when possible, and do \mathrel{\rlap{/}} otherwise). Add remappings to convert unavailable combinations back to combining characters for web-based fonts (this also makes it possible to handle double and tripple prime unicode code points). 2012-01-14 15:05:47 -05:00
Davide P. Cervone
bb35eb004c Add full support for unicode planes 1 through 10 (both in \unicode{}, as input, and in HTML-CSS and SVG output) 2012-01-13 12:29:44 -05:00
Davide P. Cervone
52755c4c3d Merge SVG branch into v2.0-candidate (no need to continue to keep them separated) 2012-01-12 07:39:53 -05:00
Davide P. Cervone
f833905396 Fix typo in previous change 2012-01-11 18:25:53 -05:00
Davide P. Cervone
88e3ce4680 When MathML with MJX classes come from TeX extensions, load the required extension so that the fonts will be properly set up 2012-01-11 17:53:05 -05:00
Davide P. Cervone
fe40630d43 Add pre- and post-filter hook lists, to be consistent with TeX input jax 2012-01-11 17:26:11 -05:00
Davide P. Cervone
cae4834aa6 Convert <mi> to <mo> if it is used with <munderover> and needs to have movablelimits=true (since only <mo> can have this attribute) 2012-01-11 14:33:52 -05:00
Davide P. Cervone
c679563c09 Move copyAttributes and skipAttributes to element jax (since they are used in several places) to avoid redundency 2012-01-11 14:22:24 -05:00
Davide P. Cervone
568b919f70 Remove capitalized TRUE and FALSE (don't remember why I had those in the first place) 2012-01-11 13:55:39 -05:00
Davide P. Cervone
756ef39804 Make MathML input read the MathJax classes to recreate the TeXAtoms and other tex-specific items 2012-01-10 19:39:08 -05:00
Davide P. Cervone
36ef5c9e34 Add class to mark TeXAtom elements and make sure other attributes are applied (they were being left off) 2012-01-10 16:30:57 -05:00
Davide P. Cervone
cfacc26c31 Use classes to distinguish mathvariants that aren't in MathML, and set FF CSS to handle them. Use classes for variantForm and cancel arrows. (Still need to have MathML input handle these classes on input) 2012-01-10 15:32:06 -05:00