Macaulay2 / M2

The primary source code repository for Macaulay2, a system for computing in commutative algebra, algebraic geometry and related fields.
https://macaulay2.com
347 stars 231 forks source link

TEX mangles unicode #522

Closed DanGrayson closed 4 years ago

DanGrayson commented 8 years ago

... as here:

Macaulay2, version 1.9.2
with packages: ConwayPolynomials, Elimination, IntegralClosure, LLLBases, PrimaryDecomposition, ReesAlgebra, TangentCone

i1 : needsPackage "Text"

o1 = Text

o1 : Package

i2 : html TEX " $ T^σ_ρ(G) Theories $ "

o2 =  <i> T<sup>œ</sup>É<sub>œ</sub>Å(G) Theories </i> 
DanGrayson commented 8 years ago

The work-around is to add braces to keep the bytes together:

i3 : html TEX " $ T^{σ}_{ρ}(G) Theories $ "

o3 =  <i> T<sup>σ</sup><sub>ρ</sub>(G) Theories </i> 
mikestillman commented 8 years ago

Maybe we should allow the use of mathjax on our web pages?

On Sep 2, 2016, at 8:44 AM, Daniel R. Grayson notifications@github.com wrote:

The work-around is to add braces to keep the bytes together:

i3 : html TEX " $ T^{σ}_{ρ}(G) Theories $ "

o3 = Tσρ(G) Theories — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Macaulay2/M2/issues/522#issuecomment-244364668, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGPR0c6hg9EYGqHKMjnw-v0Q-i_KILLks5qmBojgaJpZM4Jzqty.

DanGrayson commented 8 years ago

That might be another way to go.