When I execute the following block of code in a Sage worksheet (I did this in a
.sagews file on cocalc.com, kernel 7.6), I get unexpected behavior from the
last pretty_print statement (the LaTeX doesn't render at all).
A = GF(2)
R.<x> = PolynomialRing(A,1)
I = R.ideal(x^5 - 1)
Q.<t> = R.quotient_ring(I)
E = Q(1 + t^2 + t^4)
pretty_print('$A = %s$'%latex(A))
pretty_print('$R = %s$'%latex(R))
pretty_print('$I = %s$'%latex(I))
pretty_print('$Q = %s$'%latex(Q))
pretty_print('$E = %s$'%latex(E))
I'm reporting this here in case it is a bug. If there is a more appropriate way
to render strings that are a mix of text and LaTeX'd Sage objects, then please
let me know.
--
You received this message because you are subscribed to the Google Groups
"sage-support" 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 https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.