On Saturday, February 25, 2017 at 12:52:44 PM UTC, Richard W Bump wrote:
>
>
>     Your worksheet does not import as it is an old unsupported format, 
>

it is not a worksheet, it is a plain text file (you can just paste its 
contents into a SageNotebook cell)
(Alternatively, rename it so that it has .py suffix and import it as a 
python module)
 

>  Attached is an incomplete Calculus BC demo I am preparing for my wife. 
> The last few evaluations are text I pasted directly from the website to 
> test latex.  There were some MathJax tests in earlier versions and MathJax 
> does work but is limited in ints output.  Mainthing I’m trying to do is 
> display the Limit information in the proper format.  and You probably can 
> see where I am stumbling in the tests I am running below the front-end 
> problem.
>

in case you merely want to display limit in the interact (x->0, say)  then 
change
lt1 to 
lt1=text("$\lim_{x\mapsto 
0}f(x)/g(x)="+latex(lf1)+"/"+latex(lg1)+"$", 
(c[1],d[0]+3),fontsize=14,rgbcolor='green')
then I get a nice x->0 underneath lim.




>  I was able to extract the text of your worksheet using TextWrangler, but 
> a quick look shows no %Latex being used.
>
there is text("$P_9$",....) there

But indeed, cells starting with "%latex" don't work for me either (on 
Linux).
This seems to be a bug standing for the past couple of years.
(but unreported in a proper way)

As sagenotebook is not really maintained anymore, your best bet might be 
switching to jupyter notebook;
at the moment, however, sagenotebook interacts are not really working with 
jupyter
 (see https://trac.sagemath.org/ticket/21267 -it's being worked on as I 
write this :-))
Jupyter has its own interacts, so if you can use them instead it would be 
fine.

Sorry that I can't be more helpful here.

Dima
http://users.ox.ac.uk/~coml0531/
 


> Richard Bump
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to