texmacs.spad line 15 [edit on github]
TexmacsFormat provides a coercion from OutputForm to TeXmacs format.
coerce(o)
changes o
in the standard output format to Texmacs format.
coerceL(o)
changes o
in the standard output format to Texmacs format and displays result as one long string.
prints the string returned by coerce, adding <math ...> tags.