Commit Graph

440 Commits

Author SHA1 Message Date
Davide P. Cervone
5be76da6fe Don't measure then remeasure stretched embelished operators (saves a reflow) 2011-09-05 21:01:59 -04:00
Davide P. Cervone
2708905233 Since the loading of the jax is now done by prepareOutput, no need to check for callbacks in processOutput 2011-09-04 17:51:18 -04:00
Davide P. Cervone
a4fdb7b815 Properly handle loading of jax during prepareOutput so that it works in combined configuration files 2011-09-04 16:52:44 -04:00
Davide P. Cervone
bb3129d5db Add EqnChunk configuration parameter for how many equations to reveal at one time (they are marked display:none until this many are ready, and then all revealed at once 2011-09-04 13:05:19 -04:00
Davide P. Cervone
75058a81d8 Pass state to input and output jax's Translate() method 2011-09-04 13:04:04 -04:00
Davide P. Cervone
0145248359 Pass state rather than scripts to pre- and postTranslate methods (let them get the scripts from the state) 2011-09-04 12:34:17 -04:00
Davide P. Cervone
922fc81461 Fix a typo that I missed in the previous commit 2011-09-02 11:41:55 -04:00
Davide P. Cervone
c1a5ba16a3 Save heights when getting widths (so don't need to do offsetHeight in placeBox, or rely on assumptions) 2011-09-02 11:33:22 -04:00
Davide P. Cervone
a97410976e Mark bounding boxes known to be exact so that they don't have to be remeasured later 2011-08-31 16:49:10 -04:00
Davide P. Cervone
b62847c57e Replace getW with a better version, and avoid offsetHeight in placeBox when posible. Make some IE bugs dependent on mode (since IE9 doesn't need them) 2011-08-31 12:40:30 -04:00
Davide P. Cervone
0fbba16dbe No need for useProcessingFrame any more (just set styles on the MathJax span itself) 2011-08-30 19:47:45 -04:00
Davide P. Cervone
7b32411bf7 Fix marginScale problem with IE <= 7, and inline display problem with IE >= 8. Don't assign default font to MathJax (it is not needed, since we set the font explicitly on text items) 2011-08-30 12:35:51 -04:00
Davide P. Cervone
b214da2436 Replace getScales and getMarginScale by actions in the preTranslate method. Also add hideProcessedMath option to set display:none on completed expressions (for IE performance) 2011-08-29 19:21:20 -04:00
Davide P. Cervone
2a72125c1a Make prepareOutput() load the main output jax.js file and wait for it to complete; also handle errors in the pre- and post-processing 2011-08-29 07:36:40 -04:00
Davide P. Cervone
7042c1d64f Handle preTranslate in HTML-CSS jax, and don't make a redundent scripts list if there is only one output jax in use 2011-08-28 20:03:53 -04:00
Davide P. Cervone
046079b805 Remove unused function from previous commit 2011-08-28 13:24:30 -04:00
Davide P. Cervone
805c78df67 Add a processing state variable and use that to allow pre- and post-Translate methods that can be used to get scaling factors, etc. 2011-08-28 13:14:20 -04:00
Davide P. Cervone
c23c21443e Mark top-level math element as having a texError when it is one (to make it easier to recognize) 2011-05-01 18:44:03 -04:00
Davide P. Cervone
e23b8b4756 Mark TEX.Parse() call as Inner if it occurs within the processing of an equation (needed for automatics equation numbering), and initialize the global data as the start STACKING is created 2011-05-01 18:35:27 -04:00
Davide P. Cervone
07ab955fe2 Convert pre- and post-filters to Callback.Hook lists 2011-05-01 18:26:08 -04:00
Davide P. Cervone
84ed248395 Break the processing phase into two separate phases to do input processing separately from output processing (they used to be interleaved). This makes it easier to implement forward references for the \ref macro 2011-05-01 17:31:30 -04:00
Davide P. Cervone
fa7673e03d Have Update() method ask ElementJax to determine if it needs updating (which in turn asks the associated input jax). Make Remove() work for just clearing output (without detaching) if desired. 2011-05-01 14:21:01 -04:00
Davide P. Cervone
944aed1ac1 Have ElementJax store input and output jax ID's rather than pointers (to help avoid circular references for cleanup purposes) 2011-05-01 13:45:16 -04:00
Davide P. Cervone
98c56a56ab Move input/output jax and preprocessor registries from Hub.config to Hub itself (they are not user configurable through Hub.Config, and so even though they are configurations, they don't belong there). 2011-05-01 10:46:22 -04:00
Davide P. Cervone
c5c01bd60b Abstract lists of (prioritiezed) callbacks into an object, and use it to replace ExecuteHooks, and to allow priorities for callback hooks (StartupHook, MessageHook, LoadHook, and PreProcessors). This can also be used to provide hooks for other actions, like pre- and post-filtering math or errors, etc. 2011-05-01 09:28:49 -04:00
Davide P. Cervone
bea67bcb8f Mark the root math element with the source ID so you can look up the jax from within the math tree 2011-05-01 07:42:46 -04:00
Davide P. Cervone
92c0a9f9a5 Add an Update() method to ElementJax to force output to be updated (but not reprocess input). To be used if the contents of the element jas changes by hand (e.g. through maction) 2011-05-01 07:13:40 -04:00
Davide P. Cervone
d4c2c09714 Add new generic signals around the math processing, so that it is easier to trap notification of the beginning or ending of math processing 2011-04-30 14:25:33 -04:00
Davide P. Cervone
ea88cc5a5b Add ability to reprocess only the output (can be used by maction to better handle the toggle actiontype) 2011-04-30 14:21:56 -04:00
Davide P. Cervone
bb09608b23 Resolve a conflict with Mathjax and Slidy (its sets window.opera, which confused the browser detection) 2011-04-05 12:25:44 -04:00
Davide P. Cervone
4a2969c45b Merge dpvc/issue85 (fixes for element configuration option) 2011-04-05 12:19:46 -04:00
Davide P. Cervone
d485393f88 Recombine to make sure configs are up to date 2011-04-04 14:10:30 -04:00
Davide P. Cervone
f9e9165835 Merge remote branch 'dpvc/issue89' 2011-04-04 14:07:59 -04:00
Davide P. Cervone
7900c136e4 Merge remote branch 'dpvc/issue87' 2011-04-04 14:07:56 -04:00
Davide P. Cervone
ea00136979 Merge remote branch 'dpvc/issue86' 2011-04-04 14:07:11 -04:00
Davide P. Cervone
0e698717b5 Merge remote branch 'dpvc/docs-update' 2011-04-04 14:05:00 -04:00
Davide P. Cervone
91fca00e4f Fixed typo in about box (Fred reported in issue #47) 2011-04-04 14:04:39 -04:00
Davide P. Cervone
2ac603fa4a Fixed location of .htaccess file for shared installations 2011-03-29 14:05:48 -04:00
Davide P. Cervone
af0b052702 Partial work-around for issue#89: have <br> insert a newline in IE when documentMode < 9 2011-03-26 08:40:02 -04:00
Davide P. Cervone
827c4b3e32 Fixed typo in documentation 2011-03-24 10:09:50 -04:00
Davide P. Cervone
a418d0748a Fix problem with accents not having the correct mathvariant (resolves issue 87) 2011-03-24 09:06:30 -04:00
Davide P. Cervone
4b35e6e4f0 Last round of typos from Carol (I think) 2011-03-23 22:38:55 -04:00
Davide P. Cervone
41cdadab9a Fix delimiters used in example, since defaults now don't include single dollars. 2011-03-21 23:01:50 -04:00
Davide P. Cervone
683fa0291d More of Carol's typo corrections. She probably has two more days to go! 2011-03-21 20:21:00 -04:00
Davide P. Cervone
fe11cb9807 Fix a bunch of documentation typos (from Carol Fisher) 2011-03-21 10:55:40 -04:00
Davide P. Cervone
2cd3e23b58 Fix some references to the old config/MathJax.js file which is now config/default.js 2011-03-20 09:47:17 -04:00
Davide P. Cervone
c90cf9d285 Fix more typos (from Carol Fisher) 2011-03-20 09:36:11 -04:00
Davide P. Cervone
288907d29b Worked around crippled VML implementaion in IE8 and IE9 2011-03-20 07:51:59 -04:00
Davide P. Cervone
8f2a215067 Added more details about using the CDN with a local configuration file 2011-03-19 09:34:35 -04:00
Davide P. Cervone
46d64e2030 More typo fixes in the documentation (from Carol Fisher -- I'm sure there are more to come) 2011-03-19 09:10:08 -04:00