Ah, I understand better now. Yes, it's true that HTML
Help is picky about file extensions. I did not realize that the files had to
have the XHTML extension.
I did a little experimenting, and I am able to
get files with this extension to work in HTML Help, but
unfortunately it breaks easily if file associations are altered in Windows.
Here's what I did to make it work:
(1) Gave a topic file the extension ".htm.xhtml".
This is a workaround to an HTML Help issue that prevents it from searching
topic files that use an extension that does not start with the letter
(2) Made sure that the XHTML document does *not* have
an XML prolog (<?xml...?>). HTML Help only treats the document as an
HTML document if this prolog is missing; otherwise it will be treated like
This works in a default Windows installation.
However, when I install another browser (Firefox) as the default browser, the
XHTML extension gets taken over, and the CHM behavior reverts to trying to
open the file externally. Even going back and trying to re-map the extension
or to set IE back as the default browser doesn't fix the problem from that
I suppose all this doesn't help if you can't solve
the final problem, but maybe you'll see a way through it that I haven't. I'll
keep chewing on it as well.
Your input got me further. Thanks.
You are right - the HHC uses IE but there are a
few things that got in the way.
1. It appears that the only way to have IE
& FF actually display the MathML is to make sure it's
<xml:output> is "xml"
AND html.ext must be set to ".xhtml". That
was the only way that I could make the MathML show up in a browser. (Bob
mentions this in his book)
2. HHC only knows HTML. [now I'm stuck]
It will allow me to use an XHTML file, but thinks its a foreign file and try
to load it in a browser. I'm using the 4.74 version of the HTML Help
3. Looking at the HTMLHELP stylesheets, it
looks like it calls the html style sheets.
Anybody have comments on this setup? I
suspect that because of namespaces the MathML needs a well behaved XML -
In a message dated 10/28/08 13:47:37 Pacific Daylight Time,
DeanNelson@aol.com [mailto:DeanNelson@aol.com] wrote:
other thing that I have to deal with is multiple outputs: PDF, html,
With PDF jeuclid works fine. With html FFor IE7 can be
However, MSHelp is uninteligent and doesn't handle MathML.
Does anyone have a solution for that? I don't really want to
process that converts the MathML to image. That would be my
I'm a little confused by
this. HTML Help uses Internet Explorer to
display the HTML pages, so
just about anything that can be displayed in
IE should also be
displayed in HTML Help topics.
I'm not familiar with JEuclid, from
its SourceForge page it looks like
it's a Java applet? Perhaps the
problem is merely getting the Help
topics to point to the right
location to load the applet. This can be a
little tricky with files
that are compiled into a CHM, but it's usually
Heights Boulevard, 6th Floor
San Diego, CA 92121-4234
F: (858) 320-1010
opinions expressed here are my personal opinions. Content published
here is not read or approved in advance by EMC and does not
reflect the views and opinions of EMC.
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: