Opened 11 years ago

Closed 11 years ago

#3396 closed enhancement (fixed)

[with patch, positive review] new function in misc/latex.py: print_or_typeset

Reported by: jhpalmieri Owned by: somebody
Priority: minor Milestone: sage-3.0.3
Component: misc Keywords: latex, view, print
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

This patch defines a function in sage.misc.latex, print_or_typeset, which runs 'view' if in notebook mode with the typeset box, and runs 'print' otherwise. See the discussion toward the end of this thread:

http://groups.google.com/group/sage-support/browse_frm/thread/9698e83a1d1b22ac

Attachments (2)

3396.patch (990 bytes) - added by jhpalmieri 11 years ago.
new function, print_or_typeset
sage-3396-doctests.patch (965 bytes) - added by was 11 years ago.
apply this after the other patch

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by jhpalmieri

new function, print_or_typeset

Changed 11 years ago by was

apply this after the other patch

comment:1 Changed 11 years ago by was

  • Summary changed from [with patch, needs review] new function in misc/latex.py: print_or_typeset to [with patch, positive review] new function in misc/latex.py: print_or_typeset

comment:2 Changed 11 years ago by mabshoff

  • Milestone changed from sage-3.0.4 to sage-3.0.3
  • Resolution set to fixed
  • Status changed from new to closed

Merged both patch in Sage 3.0.3.rc0

Note: See TracTickets for help on using tickets.