On 8/1/11 4:37 PM, Jason Grout wrote:
On 8/1/11 4:23 PM, Rob Beezer wrote:
On Aug 1, 8:50 am, Jason Grout<jason-s...@creativetrax.com> wrote:
Can you post your current working/nonworking version so I can test it
too?
Thanks, Jason, for all the details. I'll try to put up an example or
two, incorporating what you have suggested.
Right now, it looks like something has changed and is not working for
me. The file (listed first) throws up the error message below, and I
get nothing in the browser window.
../static/mathjax/config/TeX-AMS-MML_HTMLorMML.js
uncaught exception: Must specify an input
(?)(c=Object { config={...}, processUpdateTime=250, more...})
c = Object { config={...}, processUpdateTime=250, more...}
[Break On This Error]
(function(c){var h="1.1.1";var a=MathJ...ete("[MathJax]/config/
MMLorHTML.js");
Yep. You *have* to specify an inputDiv now (some selector for the main
singlecell div). It was a little silly of us to default to
'#singlecell'. See my simple example for details.
Sorry, I guess I haven't replied with my simple example yet. This is
soon going into the docs:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<meta name="viewport" content="width=device-width">
<title>Simple Compute Server</title>
<script type="text/javascript"
src="http://localhost:8080/static/jquery-1.5.min.js"></script>
<script type="text/javascript"
src="http://localhost:8080/embedded_singlecell.js"></script>
<script>$(function() {singlecell.init(function ()
{singlecell.makeSinglecell({
'inputDiv': '#mysingle',
'files': false,
'messages': false,
'computationID': false});});})</script>
</head>
<body>
<div id="mysingle"><script type="text/code"></script></div>
</body>
</html>
Thanks,
Jason
--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org