konrad / JATS-to-Mediawiki

A PubMed Central to MediaWiki converter
11 stars 5 forks source link

Figure out how to deal with mathml #11

Closed Klortho closed 8 years ago

Klortho commented 12 years ago

See, for example, equation 1 in PMC3003633 here on PMC vs here in test wiki.

MathJax might be the answer. I know wikipedia now has support for Mathjax. When I checked last, it was kind-of experimental, where users could enable it if they wanted to. I don't know about mediawiki in general.

physikerwelt commented 10 years ago

For me the mml: tags were removed. I'd be happy to implement the mathml support for mediawiki. I tried with pmid: 22548090 the first mml element I found is

´´´ alt or chromium solutions alone.

Mun</mml:mtext></mml:mrow>˜</mml:mo></mml:mover></mml:mrow></mml:math>oz et al. reporte ´´´ which was removed.

physikerwelt commented 10 years ago

Can't we just keep the math element as they are? or change the mml:math or even better change them to and remove the mml prefix inside the math elements?