On Tue, Jan 6, 2009 at 12:36 PM, John H Palmieri <jhpalmier...@gmail.com> wrote: > > jsMath has some extensions, like 'verb' and 'AMSmath': see the web > pages http://www.math.union.edu/~dpvc/jsMath/authors/verb.html and > http://www.math.union.edu/~dpvc/jsMath/authors/AMSmath.html, for > example. > > 1. Does it make sense to load these automatically in sage?
Yes. > > 2. To fix a bug, I would like to load the 'verb' extension. I can do > this by including '\require{verb}' as part of the LaTeX code each time > an object is typeset, but maybe it would make more sense to load it > just once via an appropriate javascript command. Any opinions? I like that. Is there any drawback? > > 3. Finally, if it's better to use a javascript command like > > loadFiles: ["extensions/verb.js"] > > or > > <SCRIPT> > jsMath.Extension.Require("verb"); > </SCRIPT> > > where in the sage code do I do this? I don't know which is best. The file to edit is SAGE_ROOT/devel/sage/sage/server/notebook/js.py > > > > > -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---