[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: DOCBOOK-APPS: htmlhelp + mathml + mathplayer
Hello everybody,
I am trying to enable MathML display in generated HtmlHelp pages using
MathPlayer (http://www.dessci.com/en/products/mathplayer/). I managed to
do it manually, but ofcourse, I'd like to modify the xsl stylesheets so
that it can be done automatically. I want to add a parameter to control
whether or not to add the extra elements needed for displaying the
MathML correctly. These elements are:
- Add "xmlns:m=http://www.w3.org/1998/Math/MathML" after every <html>
open tag on every page
- Add
<object ID=MathPlayer
CLASSID="clsid:32F66A20-7614-11D4-BD11-00104BD3F987"></object>
<?import namespace="m" implementation="#MathPlayer" ?>
to the <head></head> part of every page
Can anyone point me in the right direction of how to do this? It doesn't
seem too hard but I'm an xsl beginner and the stylesheets are somewhat
intimidating.
Secondly, the htmlhelp stylesheets seems to strip the namespace from all
MathML tags. How can I leave them in? Do I have to change the
stylesheets or can I set a parameter somewhere?
Thanks in advance.
cheers,
roel
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC