Hi! If C is any object in sage, then latex(C) first tests whether C has a _latex_ method. If this is the case, it is used. Otherwise, C.__str__() is used.
Until few minutes ago, I thought that html(C) would work similarly. So, I had implemented a _html_ method. However, html(C) immediately uses C.__str__(), which is not nice. Moreover, when I tried to find out what attributes of C are called by html(C), I found that indeed *only* __str__ is requested. Am I missing something? What method needs to be provided to make html(C) work? Or does html() itself needs an overhaul? Best regards, Simon -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org To unsubscribe, reply using "remove me" as the subject.