#14839: Calling latex(...) shouldn't typeset the result
----------------------------------------------+-----------------------------
Reporter: iandrus | Owner: was
Type: enhancement | Status: new
Priority: minor | Milestone: sage-5.12
Component: user interface | Resolution:
Keywords: latex notebook typesetting | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
----------------------------------------------+-----------------------------
Comment (by ppurka):
This is subtle.
`latex()` returns a `LatexExpr` object and that automatically gets typeset
by `pretty_print`. If you want to turn it off then you will have to either
1. make `latex` return just a string, which will potentially break a lot
of things (because some of us do want typeset stuff when typeset is on),
or
2. you will have to modify `pretty_print`, or the toggle
`pretty_print_default`,
3. or, add an extra keyword to `latex(..., pretty_print=False)` that
defaults to false and that you can set to True in your sage mode (I am
just guessing that perhaps you can do this automatically in sage mode - I
don't use sage mode).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14839#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.