Opened 6 years ago

Closed 6 years ago

#18115 closed enhancement (fixed)

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

Reported by: iandrus Owned by:
Priority: major Milestone: sage-6.6
Component: user interface Keywords: sage-mode, emacs
Cc: Merged in:
Authors: Ivan Andrus Reviewers: Volker Braun
Report Upstream: N/A Work issues:
Branch: 20aed33 (Commits, GitHub, GitLab) Commit: 20aed339aa187cd58bf6d7479ca8166f379afd23
Dependencies: Stopgaps:

Status badges


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.

Change History (5)

comment:1 Changed 6 years ago by iandrus

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

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.

comment:2 Changed 6 years ago by git

  • Commit changed from e3e324770e2a06d75e6d15b3641ddbe3a5573d7e to 20aed339aa187cd58bf6d7479ca8166f379afd23

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

20aed33Add EmacsBackend

comment:3 Changed 6 years ago by iandrus

  • Status changed from new to needs_review

comment:4 Changed 6 years ago by vbraun

  • Reviewers set to Volker Braun
  • Status changed from needs_review to positive_review

comment:5 Changed 6 years ago by vbraun

  • Branch changed from u/iandrus/emacs-typeset-output to 20aed339aa187cd58bf6d7479ca8166f379afd23
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.