Skip to main content
18 events
when toggle format what by license comment
Mar 14, 2018 at 1:09 comment added Kim Morrison Mod @DmitriPavlov, I agree this would be great. I'd suggest creating an entire new post, probably best on meta.stackexchange.com, emphasising that the new version allows HTML+CSS output.
Mar 12, 2018 at 6:55 comment added Martin Sleziak There is this feature request on meta.SE by @MadScientist which seems related: Implement server-side MathJax rendering.
Mar 12, 2018 at 0:30 history edited Dmitri Pavlov CC BY-SA 3.0
added 252 characters in body
Jul 20, 2015 at 12:52 comment added user9072 Yes, I know there are several possibilities in principle (which should be evident from my comment). Indeed, this is why I originally asked what "the compiled version" is supposed to mean (how can one know what is even meant?). It now seems that it is not at all clear that what you proposed even would work. Leaving aside that it would limit users' choice; I think there are some that prefer MathML. As said I do not know all the technicalities, but I suppose the different options are not only offered "for fun" so there ought to be some difference in some circumstances. Maybe update the post.
Jul 20, 2015 at 12:48 comment added user35354 @DmitriPavlov You can check the current status of the new HTML engine if you select FastHTML as the renderer on MathJax here on the site. It is still missing many features and breaks in many cases.
Jul 20, 2015 at 12:42 comment added Dmitri Pavlov @MadScientist: As for “it needs certain measurements that are only available on the client browser”, another comment in your link seems to indicate that this was (or will be?) rectified in a newer version of MathJax.
Jul 20, 2015 at 12:40 comment added Dmitri Pavlov @MadScientist: The comment is almost a year old, so it might not reflect the current state of affairs.
Jul 20, 2015 at 12:34 comment added Dmitri Pavlov @quid: MathJax can compile to several output formats: HTML+CSS, MathML, SVG. The first one works on all browsers (unlike MathML), so it makes sense to compile to it. As for the “possibility to choose” I don't see why one should bother about which format to choose if the outputs are identical.
Jul 20, 2015 at 11:57 comment added user9072 Could you please clarify the status of your comment "The compiled version is HTML+CSS." It appears this is not quite clear or precise (at least it seems there is a choice to be made). In addition, even if it were so, would this switch then deprive us of the possibility to choose between (HTML+CSS), MathML , SVG locally?
Jul 20, 2015 at 11:30 comment added user35354 I found the comment from a MathJax developer confirming that HTML+CSS doesn't work yet with the server-side version: meta.math.stackexchange.com/questions/16809/…
Jul 20, 2015 at 11:23 comment added user35354 @DmitriPavlov I took a quick look at the code, it doesn't look like HTML+CSS is an option. As far as I remember server-side rendering isn't possible with the old MathJax renderer, it needs certain measurements that are only available on the client browser.
Jul 20, 2015 at 11:18 comment added Dmitri Pavlov @MadScientist: The package that I linked to is little more than an example for node.js. It basically calls the original MathJax library, and it's hardly difficult to call the function that outputs HTML+CSS instead of MathML or SVG.
Jul 20, 2015 at 7:32 comment added user35354 From the description it seems that this can only output SVG or MathML, not the HTML-CSS that is currently the default here. MathML is not supported widely enough, and SVG looks worse, at least for me in Chrome on Windows.
Jul 18, 2015 at 20:28 comment added Joonas Ilmavirta Is there a list of (some large) sites that use client-side and server-side MathJax? Comparison between existing examples might shed light on the pros and cons of the two options.
Jul 18, 2015 at 13:58 comment added user9072 Thanks for the clarification. I believe this would also have some downsides, but I do not feel quite competent on these things, so I will wait for others' opinions. It might be interesting to know what the other large sites that use MathJax do.
Jul 18, 2015 at 13:02 comment added Dmitri Pavlov @quid: The compiled version is HTML+CSS.
Jul 18, 2015 at 12:15 comment added user9072 "The server can then serve the compiled version to the user agent," What exactly would this mean, in particular, what is "the compiled version" technically?
Jul 18, 2015 at 11:31 history asked Dmitri Pavlov CC BY-SA 3.0