On Sun, Nov 2, 2014 at 4:06 PM, Joachim Durchholz <[email protected]> wrote: > Am 02.11.2014 um 23:28 schrieb Aaron Meurer: >> >> On Sun, Nov 2, 2014 at 2:18 PM, Joachim Durchholz <[email protected]> >> wrote: >>> >>> Am 02.11.2014 um 20:05 schrieb Aaron Meurer: >>>> >>>> >>>> Your browser isn't rendering the MathJax. Which browser are you using? >>>> Can you try a different one? Also try clearing the cache. And if that >>>> doesn't work, open the web inspector and see if there are any console >>>> logs from the Javascript. >>> >>> >>> >>> I have Javascript disabled, so I guess that's the reason. >>> >>> It would be nice if the site didn't fall back to that all-backslashes >>> representation for non-JS visitors. >> >> >> You can't really expect to browse the modern web without Javascript. > > > Sorry, you can. I do it every day. > >> I >> >> think showing the raw latex is fine. > > > Is > \(a\) > raw latex? > >> It's far more accessible than >> >> images, and it is readable. > > > Do you consider this: > > \[\begin{split}\sum_{m \leq i < n} f(i)\end{split}\] > > readable? > > I can't make heads nor tails of it. > >> I really don't know what you would expect >> >> to happen here. > > > It would be fine if we could simply have the HTML+CSS that MathJax > generates.
Do you know how to make mathjax pre-generate just html + css, so that we can put the generated html+css into our docs? I am not sure that it allows that. There is another project, called KaTeX: http://khan.github.io/KaTeX/ Which allows that, but it doesn't yet parse all the math, but they are quickly fixing all the issues, e.g. see this one I reported: https://github.com/Khan/KaTeX/issues/74 So maybe we could use it. Ondrej > >> Literally any kind of nice thing that could happen >> >> requires Javascript. > > > That's a gross exaggeration. > Nicely formatted math is possible, even in HTML+CSS - MathJax demonstrates > it, the final result after it did its work is indeed just HTML. > >> Also note that we didn't write this code. We're >> >> just using MathJax, so if you have any suggestions on how they could >> improve their usability for your situation you should make a feature >> request to them. > > > I would be unable to even word such a requests, because my knowledge about > how these web pages are built is practically nonexistent. > > AFAICT MathJax scans the page for <span class="math">, parses the Latex it > finds, and replaces the contents of the <span> with whatever output format > is desired. > That's essentially broken by design, since you can't have a better format > than Latex as a fallback display. Unless MathJax allows a better input > format by itself. > > -- > You received this message because you are subscribed to the Google Groups > "sympy" 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 http://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/5456B8FB.8000203%40durchholz.org. > > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sympy" 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 http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CADDwiVBFG6OxYovwmbVnqyhqjdir_nsidnJSSUtABXdan6Ohew%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
