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.
> 
> 
> -- 
> 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.
> 
> 

-- 
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