View Single Post
Old 30th June 2012, 21:14   #11  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
I used HTML Help Workshop to make the english.chm: http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx
You need to copy two files to the \docs\english\* folder: the project file "english.hpp" and the table of contents file "Table of Contents.hhc":

http://avisynth2.cvs.sourceforge.net...v=Avisynth_255
http://avisynth2.cvs.sourceforge.net...v=Avisynth_255

Just click on download. Start HTML Help Workshop and open english.hpp. The table of contents file will open automatically. If not you need to open it in the contents tab. The latest version is based on v2.55 so it's a bit outdated

Adding headings and files works as follows: Go to the contents tab. Left-click on the left plane (for example on 'Avisynth manual' and select 'add heading'. Now you can add an 'entry title' (let's say FAQ) and a html file (let's say faq_sections.htm). With the arrows you can move it to the correct place.
Next you can add pages to that heading in the same way. Pages can be separate html files or references in a html file.

If it's ready, save everything, go to File->Compile and it will create a chm file.

Good luck! Let me know if you run into problems.

edit: mmm. I saw that i changed it later on:

http://avisynth2.cvs.sourceforge.net...g&pathrev=MAIN

I removed the table of contents file and replaced it by index.htm (which is the default topic). So if you open the resulting chm file, you will see index.htm. index.htm refers to overview.htm and syntax.htm. So the only thing you need to do is to update overview.htm. You also need to add (under files in the project tab) the files you referenced to in overview.htm i guess.

Last edited by Wilbert; 30th June 2012 at 21:30.
Wilbert is offline   Reply With Quote