diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js
index bb0135e23..17f5a5ab0 100644
--- a/unpacked/jax/output/CommonHTML/jax.js
+++ b/unpacked/jax/output/CommonHTML/jax.js
@@ -1341,6 +1341,17 @@
}
},{
+ //
+ // Autoload files based on node type or file name
+ //
+ HTMLautoload: function () {
+ var file = CHTML.autoloadDir+"/"+this.type+".js";
+ HUB.RestartAfter(AJAX.Require(file));
+ },
+ HTMLautoloadFile: function (name) {
+ var file = CHTML.autoloadDir+"/"+name+".js";
+ HUB.RestartAfter(AJAX.Require(file));
+ },
//
// For use with embellished operators
//
@@ -2277,10 +2288,19 @@
return node;
}
});
- MML.annotation.Augment({toCommonHTML: function(node) {}});
+ MML.annotation.Augment({toCommonHTML: function(node) {return this.CHTMLcreateNode(node)}});
MML["annotation-xml"].Augment({toCommonHTML: function(node) {}});
+// MML["annotation-xml"].Augment({toCommonHTML: MML.mbase.CHTMLautoload});
/********************************************************/
+
+// MML.ms.Augment({toCommonHTML: MML.mbase.CHTMLautoload});
+// MML.mglyph.Augment({toCommonHTML: MML.mbase.CHTMLautoload});
+// MML.menclose.Augment({toCommonHTML: MML.mbase.CHTMLautoload});
+// MML.maction.Augment({toCommonHTML: MML.mbase.CHTMLautoload});
+// MML.mmultiscripts.Augment({toCommonHTML: MML.mbase.CHTMLautoload});
+
+ /********************************************************/
//
// Loading isn't complete until the element jax is modified,