This content has been marked as final. Show 6 replies
The KeyTools utility available from http://www.keyworks.net/keytools.htm provides an Examine CHM File feature with which you can peek inside a .chm file. This should enable you to confirm whether or not any unwanted files have been pulled into the .chm file at compile time. However, bloating on that scale would normally indicate that the compiler has dragged in a lot of unwanted stuff; any local files to which there are links in the source topics are normally embedded in the .chm file.
KeyTools also provides a Recompile feature that can help to optimise the size of the .chm file without breaking any of its functionality.
I downloaded Keytools and found that some of my graphic files are huge. I'm going to try to convert those and see if that helps to reduce the size.
Do you know how I can make sure that those links to the PDFs, which are local on my PC, aren't embedded into the .chm file?
If the HTML Help compiler follows the path that you specify in a hyperlink and finds a file at the end of it, it will pull the file into the help file. So you just need to ensure that, when you compile, any files that you don't want to be embedded in the help file are located elsewhere — really, anywhere other than the locations specified in the hyperlinks.
It worked! I moved my folder of PDFs when I compiled. I then placed the folder back into my project file when viewing the compiled .chm. Everything linked perfectly!
Sorry but, not for the first time, I wasn't thinking straight.
As a rule, you use standard hyperlinks to make links to files that are to be compiled into the help file, and ShortCut controls to link to files that are to be left outside it. The online help for RoboHelp should provide some information on how to insert these controls.
There are several things to watch for if you decide to use ShortCut controls:
- Because of something called the "
path bug", these controls may not work properly in help files
that are opened context-sensitively by the associated application.
- The controls don't work
at all in help files that are stored remotely on network
I think you were thinking straight all along. When you use a Shortcut control, the external document is opened in its own application. When you use a direct hyperlink (or parser function) the external document is opened in the help window. I know the later is what I want most of the time. So it seems to me that that should be the distinction of when to use one or the other, no?