Use far to create a simple CHM tutorial

Source: Internet
Author: User

It is undeniable that quickchm is the most concise and effective software for CHM e-books. However, since I encountered an inexplicable problem when I used quickchm for e-books last year, I realized that I could not throw on a tree with software, so I began to look for other CHM production software.

After multiple attempts, I found the FAR.

Far, also known as "far html", is an English version of software. However, you can find the Chinese version on the Internet. The size of the compressed package containing Chinese-based cracking is approximately 2.5 MB.

Far provides complete functions. In addition to HTML Help 1.x, it also supports Ms help 2.x( Ms help 2 needs to be installed. x-related Runtime library files are detected when the software is started ). As a result, the buttons on the interface are a little dazzling.

Here we will use the far v3.6.0 Chinese version as the blueprint to write a simple tutorial on using far to create CHM. For other functions, we will not mention it for the moment ~

Far can be used to create CHM in multiple ways. Three methods are described here:Express mode, wizard mode, HHP solution editor Mode.

No matter which method, you must first select the file to be packaged (usually we put these files in a separate folder, so you can also directly select a folder)

Add File
Click "add file" on the tool button bar, or select "file-add file" in the menu to select the folder to be added. You can manually set the file filtering type. Which can be loaded by default
The file type is HT */jpg/GIF/JS/vbs/TXT/SWF/CSS/BMP/INI/CAB. You can also click "add webpage", and the system will prompt "find × webpage Files,
", And you can select whether to add all files. If the file you want to package contains images, we recommend that you select "add file option ".

After adding the file, you can choose to save the file list (generate the *. Far file ). Switch from the file tools page to the creation tools page. All the compilation and compilation work is completed on the "creation tools" page.

I. Express Mode

Click the "Express" button on the toolbar and set it in the pop-up dialog box. Select the folder to be packed, write the CHM title, set the CHM homepage, and the CHM file name. Click "create help" to compile the CHM File. Then, click "view help" to view the generated CHM File.

Express mode is suitable for scenarios with fewer pages and a simple hierarchy. If you want to design several classification layers in the directory, you need to use other methods. From the express mode interface, you can also click "advanced editing" to go to the wizard mode or solution editor mode.

Ii. wizard mode

The wizard mode is suitable for creating a new CHM file. It is easy to operate step by step as prompted.

Click "Wizard" on the toolbar to enter the wizard interface.

1. Select a Help SystemSelect the first item (generally only the first item is selected, unless your machine has MS help 2. x Runtime Library ). Then, click "Next ".

2. Select an HTML Help 1. x solution file.When creating a new file, you only need to select the storage directory and write a file name by yourself. This solution file is *. HHP, which is stored in the directory to be compiled and has the same name as *. CHM to be generated. The solution file is very important for modifying and re-compiling CHM in the future.

3. Select a Content FileIf you have created a file list from the very beginning by following the steps we have mentioned, you can see all the files you want to package here. Just take a look, basically, there is no problem. You can also add, remove, and set the home page and renewal page here.

4. Configure the Help WindowSelect the content to be displayed in the CHM window, including directory, index, search, favorites, and toolbar. Generally, both directories and the toolbar are required. Unless you have included all the front and back links on the HTML page, you can also choose not to use the toolbar.

4.1 directoryThis is an important part. Directory
The file is *. HHC, which is generally stored in the folder to be compiled and has the same name as CHM. Select "create directory" for the first creation. After the creation, you will be asked if you want to edit the directory immediately. Select "yes" to go to another
Directory and index editor ". You can organize the names, sequences, layers, and symbols of pages in the directory. On the "properties" page, you can set the style, Font, and Character Set of the Directory column (generally, select "001, Mo
"). After editing, save and close the window.

4.2 IndexIf you do not select "Index" in step 1, this step will not appear. The index file is *. HHK. Like creating a directory, go to "directory and index Editor ". Sorting indexes is easier than sorting directories. Generally, there is no need to level anything. You just need to check whether the file order is correct. Save the disk and close the window.

5. Select and save the target.Write the information in the CHM File title bar, determine the CHM storage location and file name, and then click "Next. There is a check box "Save settings when you click Next", which is recommended to be selected.

6. Compilation SchemeNeedless to say, "compile help" generates a CHM File. "view help file" is to open CHM after compilation. You can click "Open advanced solution Editor" in the following single region to go to the editor to modify the solution.

Iii. HHP solution Editor

In this way, you can complete all the creation and modification work. I personally prefer to use the Wizard to create files, and then use the solution editor to modify them.

Click "HHP Editor" in the toolbar and select the HHP solution file to edit. The solution editing window is displayed.

All editable projects are displayed in the left column of the window. The following items may be Edited:

1. Window TypeYou can adjust the size of the CHM window, and click "size auto-timer". You can drag the position of the window and adjust the size of the window and Its pane. We recommend that you select "Remember the window position and size" to display the CHM file as the size and position of the last close when it is opened for the second time, which is more convenient for users.

2. ToolbarClick
Button, usually we select "Expand/contract the navigation panel, back, forward, refresh, home page, next (that is, the next page), last (that is, the previous page )". Jump 1 and jump 2 can set the link by yourself, for example
Set jump 1 is displayed as "Hujiang Japanese", the URL is "", so that online can be directly linked to Hujiang Japanese channel.

3. Directory wizardSimilar to the wizard method, if the directory still needs to be adjusted, you can enter

4. Compilation SchemeAfter you modify any webpage files or directories, you must recompile them. Otherwise, CHM won't be automatically updated.

Before each compilation, you will be asked if you want to save the solution file. Select "yes" for future modification. Several errors may be prompted during compilation. Do not close the CHM File and check the CHM file. If everything is normal, no problem will occur.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.