[Python-modules-team] Bug#677929: python-docutils: remote copy of	MathJax needed to render maths
    Jakub Wilk 
    jwilk at debian.org
       
    Tue Jul  3 18:30:52 UTC 2012
    
    
  
Reply-To: 
In-Reply-To: <1341311913.6292.5.camel at eeepc>
X-Debbugs-No-Ack: please
* Dmitry Shachnev <mitya57 at gmail.com>, 2012-07-03, 14:38:
>--- debian/control	(revision 22398)
>+++ debian/control	(working copy)
>@@ -23,7 +23,8 @@
> Architecture: all
> Depends: ${misc:Depends}, ${python:Depends},
>          python-roman,
>-         docutils-common (= ${source:Version})
>+         docutils-common (= ${source:Version}),
>+         libjs-mathjax
This should be in Suggests, not in Depends.
> Recommends: python-imaging,
>             python-pygments,
>             libpaper-utils,
>@@ -52,7 +53,8 @@
> Architecture: all
> Depends: ${misc:Depends}, ${python3:Depends},
>          python3-roman,
>-         docutils-common (= ${source:Version})
>+         docutils-common (= ${source:Version}),
>+         libjs-mathjax
Ditto.
>+-    # The latest version of MathJax from the distributed server:
>+-    # avaliable to the public under the `MathJax CDN Terms of Service`__
>+-    # __http://www.mathjax.org/download/mathjax-cdn-terms-of-service/
>+-    mathjax_url = ('http://cdn.mathjax.org/mathjax/latest/MathJax.js?'
>++    # Debian version of MathJax
>++    mathjax_url = ('file:///usr/share/javascript/mathjax/MathJax.js?'
>+                    'config=TeX-AMS-MML_HTMLorMML')
As I said on IRC, I'm not very keen on just replacing one URL with 
another if it's not configurable by user.
-- 
Jakub Wilk
    
    
More information about the Python-modules-team
mailing list