cadabra2 icon indicating copy to clipboard operation
cadabra2 copied to clipboard

`str` returns unicode even when printing to LaTeX

Open kpeeters opened this issue 6 years ago • 0 comments

The following makes LaTeX go belly-up:

ex:=\delta{x};
print(ex)

because print calls str to convert to printable, and (in the notebook) then feeds that into a verbatim environment, but str has used UTF-8 to represent the delta symbol, which LaTeX doesn't like.

kpeeters avatar Jun 07 '19 21:06 kpeeters