locked
HTML Help WorkShop

    Question

  •  
     Ulrich Kulle - MVP wrote:

    Hello mcari,

     

    assuming you speaking of HTMLHelp Workshop and want create some CHM files - of course you can use CSS like anything allowed with HTML.

     

    Make sure your design.css is inside you project level structure and added to the [FILES] section of your HHP project file. You can open this *.hhp file with e.g. Notepad to add files.

    If the files are listed in the [FILES] section the compiler includes them to the CHM file.


    [FILES]

    welcome.htm
    design.css
    First_Steps\download.htm
    First_Steps\starting_program.htm
    How_to_extend\extend_menu.htm
    How_to_extend\power_function.htm
    images\gui_screenshot.jpg

     

     

    Thanks a lot,

     

    but i have a question...

     

    Today I'm doing a project on HTML HWS but i can't add .js files because only accepts .htm files?

     

    how can i add these type files?

     

    Please, help me!

     

     

    Thanks!!

     

    Tuesday, April 1, 2008 10:50 PM

Answers

  • Hello mcari,

     

    when starting a new HTMLHelp Workshop project some wizard dialogs are shown to convert an old WinHelp project or for creating the new project with existing *.htm files. So it's true for the wizard way.

     

    You can ensure that the JavaScript files are compiled into the help file by adding their names to the [FILES] list in the project (.hhp) file in two ways.

    - You may add the *.js filename(s) by editing the *.hhp file with a plain text editor.

    - or to do this with HH Workshop:

    1) Open the .hhp file in HTML Help Workshop.
    2) Click the Add/Remove Topic Files button on the Project tab.
    3) In the Topic Files dialog box, click Add.
    4) In the File Name field at the bottom of the Open dialog box, type *.js (or e.g. *.jpg)
    5) Browse to the directory that contains the files (or e.g graphics), and then select them.
    6) Click Open, and then click OK to close the Topic Files dialog box.

     

    Additional information:

    The help compiler automatically pulls into the help file all graphics that are referenced in <img> elements via the "src=" attribute. For graphics that are referenced by other means, such as in a script or style sheet, you must use the above workaround to ensure that they are compiled into the .chm file.

     

    HTH


     

     

     

     

     

     

    Wednesday, April 2, 2008 10:05 AM
  • Hi,

     

    Try this:

    1. Open the project (.hhp) file in HTML Help Workshop.
    2. Click the Add/Remove Topic Files button in the left-hand Project tab.
    3. Click Add.
    4. In the File Name field, type *.js.
    5. Click Open, and then select the files to use.

    Alternatively, you can open the .hhp file in Notepad and then add the names of the script files (or just *.js) to the FILES section. For example:

     

    [FILES]
    *.htm

    *.css
    scripts/*.js

     

    Pete

    Wednesday, April 2, 2008 10:06 AM

All replies

  • Hello mcari,

     

    when starting a new HTMLHelp Workshop project some wizard dialogs are shown to convert an old WinHelp project or for creating the new project with existing *.htm files. So it's true for the wizard way.

     

    You can ensure that the JavaScript files are compiled into the help file by adding their names to the [FILES] list in the project (.hhp) file in two ways.

    - You may add the *.js filename(s) by editing the *.hhp file with a plain text editor.

    - or to do this with HH Workshop:

    1) Open the .hhp file in HTML Help Workshop.
    2) Click the Add/Remove Topic Files button on the Project tab.
    3) In the Topic Files dialog box, click Add.
    4) In the File Name field at the bottom of the Open dialog box, type *.js (or e.g. *.jpg)
    5) Browse to the directory that contains the files (or e.g graphics), and then select them.
    6) Click Open, and then click OK to close the Topic Files dialog box.

     

    Additional information:

    The help compiler automatically pulls into the help file all graphics that are referenced in <img> elements via the "src=" attribute. For graphics that are referenced by other means, such as in a script or style sheet, you must use the above workaround to ensure that they are compiled into the .chm file.

     

    HTH


     

     

     

     

     

     

    Wednesday, April 2, 2008 10:05 AM
  • Hi,

     

    Try this:

    1. Open the project (.hhp) file in HTML Help Workshop.
    2. Click the Add/Remove Topic Files button in the left-hand Project tab.
    3. Click Add.
    4. In the File Name field, type *.js.
    5. Click Open, and then select the files to use.

    Alternatively, you can open the .hhp file in Notepad and then add the names of the script files (or just *.js) to the FILES section. For example:

     

    [FILES]
    *.htm

    *.css
    scripts/*.js

     

    Pete

    Wednesday, April 2, 2008 10:06 AM
  • To both, Thank u!

     

    I added as u told me with Notepad or text program... and finally I could do.

     

    It was so easy

    Thank u again.

     

     

     

    Wednesday, April 2, 2008 6:48 PM
  • Hello all,

    hello from berlin, germany



    i have a question about the html help workshop. i know the knowledges in this program a little bit. but my problem is i dont know how to create a searchmachine what is working with "html help workshop" together.

    I have started my apprenticeship one week ago and i dont know how i can build a searchmachine and bind it in html help workshop.

    i have got the programs visual studio 2008 and microsoft expression to try to create a searchmachine for html help workshop.

    My problem is just i am not a profiler and i havent got anything experiences with this tools.

    Perhaps can u send me an email or can u answer me to this topic.

    greeting

    pascal
    Tuesday, September 9, 2008 1:23 PM
  • Hello Pascal,

    I'm not quite sure what you are meaning here - some more clearly information is required.

    You know HTMLHelp Workshop is a tool for creating Compiled Help Modules (CHM) for Microsoft Windows operating system. A full text "search engine" is included (if you want and create it) by a search tab. See:
    http://www.help-info.de/en/Help_Info_HTMLHelp/hh_fts.htm
    or ;-)
    http://www.help-info.de/de/Help_Info_HTMLHelp/hh_fts.htm

    CHM's are based on HTML files like a ZIP file of a web.

    So - if you really want to program a searchengine for CHM (?) you'll have to go very, very deep into the bits of CHM . One idea is to decompile the CHM and search the resulting HTML files.

    You should make a new thread here with your questions and don't continue a answered thread.
    Or contact me offline (see main web above).
    German is welcome ;-)
    Ulrich Kulle - Microsoft MVP - Help - http://www.help-info.de
    Wednesday, September 10, 2008 8:47 AM