Dear Ivan,

I tried the new version without success. Inline graphics are ok (though
I do not know how to scale them), but other inline output is html.

Maybe this is caused by a new problem which arose since the names of the
two versions of sage-mode differ in their fifth position:

sage-mode-0.7.spkg 
sage_mode-0.8.spkg 

The latter did not replace the first on my system because of the
underscore (_). Now I have two versions of sage-mode installed. How do I
get rid of sage-mode-0.7.spkg? I tried to change '_' to '-' in the name
of the newer package, and then install, but then, when extracing, sage
complains that the directory sage-mod-0.8 does not exist.

I need to resolve that problem first. Interestingly, I did not found a
command-line option for sage for removing packages.

Best greetings,

Klaus. 



Ivan Andrus <[email protected]> schrieb am Sat, 24. Nov 15:24:
> IIRC this was fixed with sage-mode version 0.8.  You didn't mention which 
> version, so I'm assuming the 0.7 which is part of Sage.  Can you try 
> installing from
> 
> http://boxen.math.washington.edu/home/iandrus/sage_mode-0.8.spkg
> 
> If that fixes the problem, then you might consider reviewing trac ticket 
> #13182:
> 
> http://trac.sagemath.org/sage_trac/ticket/13182
> 
> If the problem persists, then I'll dig into it.  You might also have to 
> 
> (require 'sage-view)
> 
> -Ivan
> 
> On Nov 24, 2012, at 12:15 PM, Klaus Dohmen <[email protected]> wrote:
> 
> > I am using emacs with sage-mode. When I run
> > 
> > 1+1
> > 
> > it outputs html-code, instead of a LaTeX-rendered output:
> > 
> > <html><script
> > type="math/tex">\newcommand{\Bold}[1]{\mathbf{#1}}2</script></html>
> > 
> > How can I change this? My configuration file contains the lines
> > 
> > (add-to-list 'load-path (expand-file-name 
> > "/opt/sage/current/local/share/emacs"))
> > (setq sage-dir "/opt/sage/current")
> > (require 'sage sage")
> > (setq sage-command "sage")
> > (add-hook 'sage-startup-after-prompt-hook
> >          (lambda () (interactiv)e'Sage Version 5.4, Release Date: 
> > 2012-11-09''Sage Version 5.4, Release Date: 2012-11-09'
> >          (sage-view 1)))
> > 
> > I am using 'Sage Version 5.4, Release Date: 2012-11-09' on Ubuntu 12.04.
> > 
> > Thanks for your help in advance.
> > 
> > Klaus.
> > 
> > 
> 

-- 
Prof. Dr. Klaus Dohmen
Hochschule Mittweida
University of Applied Sciences
Dept. of Mathematics
09648 Mittweida, Germany


-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to