This is a list of Frequently Asked Questions for the FAR HTML program and HTML Help users in general.
HTML
Help compilation
HTML Help
viewing
Toolbar pane
buttons
Navigation pane
page tabs
There are a number of reasons why the MS HH compiler may crash.
1. | Invalid filenames.
The HTML Help compiler does not like some filenames. Try and stick with these characters _, a..z, A..Z, 0..9. Do not use periods apart from in the normal file extension. Example: A filename such as xxx.h001.gif is identified incorrectly as a HTML file. The compiler then attempts to parse the binary file and crashes. I believe that spaces in a filename can still cause some minor problems with HTML Help. Best to replace spaces with underscores if you have the chance. |
2. | Invalid Tags or Characters
Certain sequences of HTML tags and characters can crash the compiler.
|
3. | Insufficient Memory
If the help web is big (>10MB) then try recompiling on a more powerful PC (eg. 256M RAM, lots of harddisk space on the system drive). If it successfully compiles then you know that free memory is the problem. |
Debugging:
You need to debug your help system. You need to identify the file(s) that are crashing the compiler.
I normally remove sections of the web by renaming or moving folders and files, then recompile. Keep adding and removing sections until the compiler does not crash. Eventually you will find one or two files that are causing the problem. You may also need to debug these files by temporarily removing sections of the HTML file.
Note: A good starting point is to watch the compile log file being displayed and try to see where the crash appears. Tip: You may need to press PrintScrn just before the crash to be able to read the list. The compiler normally follows the list of files in the .hhp project file then searches for addition files by examining the .hhc and .hhk files.
You should have a minimum of version 1.2 (4.73.8252) installed. Earlier
versions are too unstable. Later versions contain bug fixes and are more
stable.
HH version
info
Window 2000: Note that HH 1.31 (4.74.8793) or greater will not
installed on Windows 2000. W2K comes with HH 1.3 (4.74.8702) and can not be
upgraded without an official MS Windows2000 Service Pack.
Download the
latest HHUPD.EXE run-time installed free from
http://msdn.microsoft.com/library/tools/htmlhelp/chm/HH1Start.htm
The navigation pane can contain a Contents, Index, Search and Favorites page tab. The Contents tab (AKA Table Of Contents or TOC) is defined by a file with a .hhc file extension. The Index tab is defined by a file with a .hhk file extenstion. The search and favorites tabs do not require extra files. FAR can create and edit .hhc and .hhk files.
- Open the FAR HHP Editor.
- To remove the Contents and Index tabs:
Clear all edit fields that specify a .hhc or .hhk file. These fields are on the "Compiler " page and also the "Files" page (if a Window Type is defined).- To remove the Full Text Search tab:
Clear the "Compile FTS information" checkbox on the "Compiler Page". Also clear the "Show Search Tab" checkbox on the "TriPane" page (if a Window Type is defined).- To remove the Favorites tab:
Clear the "Show Favorites Tab" checkbox on the "TriPane" page. If you do not have a "TriPane" page then you may need to define a Window Type.- If you want to remove the toolbar pane:
Clear the "Show Nav and Toolbar Panes" checkbox, or clear the "Hide Toolbar" checkbox on the "TriPane" page. If you do not have a "TriPane" page then you may need to define a Window Type.
- Open the FAR HHP Editor.
- Define a Window Type if you do not have one ("Window Type" page).
- Clear the "Remember window position & size" checkbox on the "Window Types" page. This stops the window remembering if the navigation pane was open or not.
- Check the box labeled "Initially closed" in the "TriPane" page
Got a question? Need assistance? Email us Info@Helpware.net
|