On Jun 1, 2012 7:04 AM, "Dan S" <[email protected]> wrote: > > 2012/6/1 Jonas Smedegaard <[email protected]>: > > Hi Dan, > > > > On 12-06-01 at 08:56am, Dan S wrote: > >> 2012/5/31 Felipe Sateler <[email protected]>: > >> > I see that MathJax is included in the binary packages. Can't we use > >> > libjs-mathjax? > >> > >> I don't really know mathjax myself but it looks like, technically, it > >> could be patched to use libjs-mathjax, as long as our custom config > >> file "HelpSource/MathJax/config/scmathjax.js" was installed in the > >> appropriate place. > >> > >> However, the rendered help is supposed to be self-contained in the > >> sense that it can be uploaded to a website (we do this with > >> http://doc.sccode.org ) so if the URLs were rewritten to use > >> /usr/share/javascript/mathjax/... then this would break. (And the help > >> is supposed to be re-rendered by users - when the user installs an > >> extension the rendering process is re-run locally.) So this makes me > >> think that we would prefer not to. Is that OK with you?
Another option is to create a linkfarm pointing to the real mathjax sources. This would avoid the problem, wouldn't it? I think Raphael Hertzog wrote a tool precisely for this. I'm not on a computer now, though, so I can't search for it. > > Hi Jonas - > > > Probably a good idea to then raise that issue over at > > [email protected] > > > > (since you most likely are not subscribed to that list, please remember > > to mention in the email that you want to be cc'ed on replies). > > I'm not sure there's an issue here that they can help with, unless I > misunderstand? The issue is that the SC rendered helpfiles currently > have a reference like this: > > <script src='./MathJax/MathJax.js?config=TeX-AMS_HTML,scmathjax' > type='text/javascript'></script> > > and if we used the libjs-mathjax package, the rendered helpfiles would > have a reference like this: > > <script src='/usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS_HTML,scmathjax' > type='text/javascript'></script> > > This is unportable for exported helpfiles and that's why I'd prefer > not to do it. It's OK for other software which expects to render the > math on-the-fly for the local user and not export it anywhere. (For > example ipython-notebook-common depends on the lib - I guess it's > doing local math rendering only...) > > Please let me know what you think. I'll also pass this on to the > person who actually did the mathjax bit and see if they have a good > way round. I think the idea was that maybe in that team somebody already had the same problem and they could have a different solution.
_______________________________________________ pkg-multimedia-maintainers mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers
