On Sun, Sep 28, 2014 at 01:40:33PM +0200, Jerome BENOIT wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, > > please find below the message given by lintian for gap-io 4.4.1: > > E: gap-io: privacy-breach-may-use-debian-package > usr/share/gap/pkg/io/doc/chap0_mj.html You may use libjs-mathjax package. > (http://cdn.mathjax.org/mathjax/latest/mathjax.js?config=tex-ams-mml_htmlormml) > > and in attachment the chap0_mj.html and chap0.html generated files.
Hello Jérome, GAPDoc documentation gives a solution to this problem: see 5.3-7 GAPDoc2HTML << If mtrans is set to "MathJax" the formulae are essentially translated as for LaTeX documents (there is no processing of <M> elements as decribed in 3.8-2). Inline formulae are delimited by \( and \) and displayed formulae by \[ and \]. With MathJax webpages can contain nicely formatted scalable and searchable formulae. The resulting files link by default to http://cdn.mathjax.org to get the MathJax script and fonts. This means that they can only be used on computers with internet access. An alternative URL can be set by overwriting GAPDoc2HTMLProcs.MathJaxURL before building the HTML version of a manual. This way a local installation of MathJax could be used. See http://www.mathjax.org/ for more details. >> So you should be able to avoid this issue by setting GAPDoc2HTMLProcs.MathJaxURL:="/usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"; in the the file makedocrel.g or whatever the program that call GAPDoc is used. But of course, we should try to solve the problem globally. One solution: 1) I patch GAPDoc/lib/GAPDoc2HTML.gi to use GAPDoc2HTMLProcs.MathJaxURL:="/usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"; as the default value 2) I change gap-gapdoc to Recommends libjs-mathjax and fonts-mathjax-extras. 3) then we will need to rebuild the affected packages Better idea ? Do you know if it is possible to avoid the absolute file:// URL (file:///usr/share/javascript/mathjax/MathJax.js) which does not play well with webserver ? We can do it by creating a symlink mathjax --> /usr/share/javascript/mathjax in the doc directory of the package and set GAPDoc2HTMLProcs.MathJaxURL:="mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"; Thanks for your bug report, Bill. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org