[GRASS-dev] mathjax support for GRASS manual pages

Dear devs,

What do you think if we start supporting mathjax on the html webpages?

Please read more on mathjax here: http://www.mathjax.org/

And then we should be able to add formulas on our html page with:
$\frac{n!}{k!(n-k)!} = \binom{n}{k}$

To do this we should modify the header in the manual html pages.
Any thoughts?

Pietro

Il 10/apr/2015 16:00, “Pietro” <peter.zamb@gmail.com> ha scritto:

Dear devs,

Dear all,

What do you think if we start supporting mathjax on the html webpages?

Please read more on mathjax here: http://www.mathjax.org/

And then we should be able to add formulas on our html page with:
$\frac{n!}{k!(n-k)!} = \binom{n}{k}$

To do this we should modify the header in the manual html pages.
Any thoughts?

I like the idea

Pietro

Ciao
Luca

Pietro wrote:

What do you think if we start supporting mathjax on the html webpages?

The main drawbacks of doing so are:

1. It's likely to mess up the nroff manual pages which are generated
from the HTML versions (unless someone's planning on adding code to
g.html2man to recognise the mathjax portions and re-write them using
eqn syntax).

2. It won't work with HTML viewers which don't support JavaScript
(AFAICT, the wx.html control used by wxGUI doesn't). Or images (e.g.
lynx/links).

3. Network access is required to read the manual pages, even when
stored locally. This also has privacy implications.

--
Glynn Clements <glynn@gclements.plus.com>