[Rivet] rivet-mkhtml output requires network access

David Bjergaard david.bjergaard at gmail.com
Wed Nov 4 14:54:32 GMT 2015


Just to reiterate (I dunno if my last email came through), it is possible to
ship a lightweight MathJax that will work with most modern browsers.  

Here's a tutorial (1.4 mb stripped down):
https://github.com/mathjax/MathJax-docs/wiki/Guide:-reducing-size-of-a-mathjax-installation/1814429ed1e97bfb7675c0fd400804baa9287249

and here is a script that automates it:
https://github.com/mathjax/MathJax-grunt-cleaner

Though admittedly, I don't know how to use gruntfiles.

    David
    
PS. the latest matplotlib (on which rivet depends) also weighs ~51
MB... Beautiful typesetting isn't cheap :)

David Grellscheid <david.grellscheid at durham.ac.uk> writes:

> On 03/11/2015 15:30, David Bjergaard wrote:
>> it works fine to have the url point to a local copy (say in the
>> ${PREFIX}/share folder).
>
> Sure it does, but I'm not shipping 50 MB of Mathjax with 2.5 MB of Rivet :-)
>
>   David


More information about the Rivet mailing list