ryankeleti / ega

amateur translation project of Grothendieck's EGA.
https://ryankeleti.com/ega
310 stars 33 forks source link

switch from xymatrix to CD? #192

Closed thosgood closed 2 years ago

thosgood commented 3 years ago

KaTeX now supports the CD environment, which means we could render the web version entirely without MathJax if we change all the currently existing \xymatrix diagrams... this is probably something that I'll do little by little when I get the chance

ryankeleti commented 2 years ago

Whew, considering we had everything in tikzcd before, then transitioned to xymatrix because MathJax had an extension for it.... The CD environment is the one provided by the amscd package right? I don't think it's as expressive as either tikzcd or xymatrix. For example, I'm not sure diagonal arrows are supported. So I think we should hold off on this for now, as at least xymatrix can be rendered by MathJax.

thosgood commented 2 years ago

no, it can't do diagonal arrows, so yes, maybe it's best that we do hold off on this, until the fateful day when katex can do something more complete