Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BackendEmacs so sage-mode can have it's own playground for typesetting output #18115

Closed
gvol opened this issue Apr 3, 2015 · 5 comments
Closed

Comments

@gvol
Copy link

gvol commented Apr 3, 2015

With the inclusion of #17234, we have a framework of creating typeset output in emacs without interfering with other systems, or piggy backing on things like EMBEDDED_MODE.

This ticket is only for the Sage half of the work.

Component: user interface

Keywords: sage-mode, emacs

Author: Ivan Andrus

Branch/Commit: 20aed33

Reviewer: Volker Braun

Issue created by migration from https://trac.sagemath.org/ticket/18115

@gvol gvol added this to the sage-6.6 milestone Apr 3, 2015
@gvol
Copy link
Author

gvol commented Apr 3, 2015

comment:1

For those, like me, who don't fully understand the display_manager stuff, try this recipe

from sage.repl.rich_output.backend_emacs import BackendEmacs
from sage.repl.rich_output import get_display_manager
emacsdm = BackendEmacs()
get_display_manager().switch_backend(emacsdm,shell=get_ipython())

Then you can use

%display text latex

to test it out. Of course it will look rather ugly since sage-mode isn't formatting it for you.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 10, 2015

Changed commit from e3e3247 to 20aed33

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 10, 2015

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

20aed33Add EmacsBackend

@vbraun
Copy link
Member

vbraun commented Apr 13, 2015

Reviewer: Volker Braun

@vbraun
Copy link
Member

vbraun commented Apr 14, 2015

Changed branch from u/iandrus/emacs-typeset-output to 20aed33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants