Changes between Version 9 and Version 23 of Ticket #11775


Ignore:
Timestamp:
12/09/11 08:33:20 (10 years ago)
Author:
ppurka
Comment:

Updated patch to make it work with Typeset on or off, and also take in multiple arguments. Passes doctests: ../../sage -t -long ./sage/misc.

The view(), tuple_function(), latex() and JSMath() in devel/sage/sage/misc/latex.py have been updated to take in an extra argument combine_all. The way it works is:

  1. if combine_all is True then the string returned by tuple_function does not return a tuple and it instead combines all the elements it receives. It does not collapse a tuple inside a tuple.
  1. if combine_all is False (the default) then everything behaves as earlier.
  1. combine_all is passed as True from pretty_print whenever it calls the view() function.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11775

    • Property Status changed from positive_review to needs_review
    • Property Milestone changed from sage-4.7.2 to sage-4.8
  • Ticket #11775 – Description

    v9 v23  
    1111-----
    1212
    13 Apply [attachment:trac_11775-pretty_print_multiple_args.2.patch] to the Sage library.
     13Apply [attachment:trac_11775-pretty_print_multiple_args.3.patch] to the `SAGE_ROOT/devel/sage`.