On Sun, Apr 20, 2014 at 1:03 AM, Peter Mills <[email protected]>wrote:

> Currently, the MathJax.js gets added, its fonts are downloaded, you need
>> to be connected to the internet to connect to the MathJax CDN, and in
>> general page loading is slower. Not everyone will be displaying math so
>> they shouldn't have to pay these penalties. This is not as big an issue
>> with real web browsers as the javascript and fonts are cached. However, I'm
>> not sure how that works with QWebKit?
>>
>
> This is a good point to raise, to make sure VR2 and Leo stays as good
> general purpose tools, that are useful widely.
>
> For the MathJax option, I think the .js and font downloading and internet
> connection don't happen when docutils renders a page without any math
> included.  I've looked at the exported html file for a node without math
> and I can't find any js or MathJax references, so I don't think this slows
> down the render in any way.
>
> I think for anyone who genuinely uses math, the math.css rendering is
> almost useless and certainly wouldn't be regarded as production quality
> (unless I'm doing something very wrong).
>
> One of the reasons that I wrote VR2 was to have output that looked
> production quality "out of the box" and math for me was a key element.
>  Strangely, in my mind, if I got stuck with the latex output because I
> don't have an internet connection, I'd prefer that to the math.css
> rendering (so that, in theory, you can actually figure out what it should
> have looked like).  The IPython Notebook also uses MathJax even when used
> entirely within the same machine.
>
> So my vote would be to keep MathJax as the default.  It seems that it
> won't make any difference to those who don't use math.  Thoughts?
>
> I actually looked and you're right. If a page (node) doesn't do math, then
no MathJax overhead is added. So I agree, let the default for math_output
remain MathJax.

BTW, I personally like MathJax, I just thought that not everyone should be
saddled with it if they didn't need it which seems to be the case. But yeah
if you need to display math in a browser then MathJax is definitely the way
to go. Weird about how tiny the formula currently is displayed within
viewrendered2. When I use your export button and view in Firefox the math
formula looks about the right size.

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" 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/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to