#18292: Fix HTML output
-------------------------------------+-------------------------------------
Reporter: vbraun | Owner:
Type: defect | Status: needs_info
Priority: major | Milestone: sage-6.7
Component: notebook | Resolution:
Keywords: | Merged in:
Authors: Volker Braun | Reviewers: Andrey Novoseltsev
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/vbraun/fix_html_output | 9a4bc8d4f2cfe6f16567de1c82efb45c9d194023
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by novoselt):
I guess it sacrifices `html(...)` on the last line and that's why you had
to adjust doctests, but it is livable and I think is a great option. Karl-
Dieter - are you happy with this one?
Regarding interacts, which are also supported by SMCs (!SageMathCell and
!SageMathCloud ;-)) - what is "the right way" to adjust
`sage.interacts.decorator.interact` to other UIs?
Do we need `math_parse`? It seems to me that the string `$x._latex_()$`
should be a perfectly valid HTML for our UI, i.e. !MathJax will process
math. The advantage of not fiddling with LaTeX code beyond adding dollar
signs, apart from simpler code, is that such a string can be used directly
in LaTeX via SageTeX.
Typo: `def eval(self, s, locals=None):` has description for `globals`
argument.
Why do we need this test:
{{{
+ OutputHtml = display_manager.types.OutputHtml
+ if OutputHtml in display_manager.supported_output():
+ return OutputHtml(self._html_())
}}}
isn't the point of all this display framework to make these decisions
WITHOUT object's interference?
Is it really necessary to include `<html>` tag for SageNB?
--
Ticket URL: <http://trac.sagemath.org/ticket/18292#comment:68>
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/d/optout.