[sage-edu] JSXGraph and Sage

2013-02-23 Thread Norbert Domes
Has anybody tried to use JSXGraph in a Sage worksheet, may be with success ? JSXGraph is a cross-browser library for interactive geometry, function plotting, charting, and data visualization in a web browser. See http://jsxgraph.uni-bayreuth.de/wp/ JSXGraph is really very nice and I think it is

[sage-edu] Re: Creating Random Student Worksheets using LaTeX and Sage

2013-02-23 Thread Nathan Carter
Harald's idea sounds like a great one, so I tried to implement it. I have no problem creating Python objects with arbitrary _latex_() methods, but then there's no way to insert them into the document. The only way to get Sage output into the document is with the \sage{...} command, which seem

Re: [sage-edu] Re: Creating Random Student Worksheets using LaTeX and Sage

2013-02-23 Thread Jason Grout
On 2/23/13 4:11 PM, Nathan Carter wrote: Harald's idea sounds like a great one, so I tried to implement it. I have no problem creating Python objects with arbitrary _latex_() methods, but then there's no way to insert them into the document. The only way to get Sage output into the document is

Re: [sage-edu] Re: Creating Random Student Worksheets using LaTeX and Sage

2013-02-23 Thread Nathan Carter
That's handy for outputting strings, but unfortunately because the .sout file puts everything in a \newlabel{} command, it still can't handle paragraph breaks. So all my problems would need to be one paragraph. I could use \\ to split paragraphs primitively, and display math *does* work, so i