2012/6/1 Jonas Smedegaard <d...@jones.dk>:
> Hi Dan,
>
> On 12-06-01 at 08:56am, Dan S wrote:
>> 2012/5/31 Felipe Sateler <fsate...@debian.org>:
>> > 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?

Hi Jonas -

> Probably a good idea to then raise that issue over at
> pkg-javascript-de...@lists.alioth.debian.org
>
> (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.

Thanks
Dan

_______________________________________________
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

Reply via email to