#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           |  6def164370b96868c373f85ed81fe861cc2e336e
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by novoselt):

 Someone who knows what !MathJax is and can write raw HTML is sophisticated
 enough to read some basic tutorial that better mention existence of
 `pretty_print`. It may be also a good idea to have a section of the
 tutorial specifically on displaying thing nicely.

 `pretty_print` tries its best to show a nice representation of an object,
 but some of them have many, i.e. a plot, a LaTeX formula, and HTML. So it
 may be nice to specify what exactly do you want to get and
 `pretty_print(latex())` or `pretty_print(html())` look quite natural to
 me. Yet `latex` and `html` should NOT display the result automatically in
 case I want to make some modifications/glue it with other pieces etc! And
 those who are willing to provide raw LaTeX or HTML code can, I think,
 figure out `LatexExpr` and `HTMLFragment`. Starting with capital is
 consistent with class names in Sage, although there is nothing wrong in
 having a lower-case synonym, I suppose.

--
Ticket URL: <http://trac.sagemath.org/ticket/18292#comment:61>
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.

Reply via email to