Adding a topic file using MS Help Workshop - chm

I have a set of files used to make up a .CHM help file using Help Workshop. I've added a new topic in a separate file in the html sub-directory with a link in one of the other files. Help Workshop makes a .CHM file including the new file BUT the file is NOT listed under [FILES] under the project tab nor is it listed in the CONTENTS section when I run the .CHM file.
When I click on the ADD/REMOVE TOPIC FILES button under the project tab, my new .HTM file is not among those listed.
How do I get Help Workshop to list the new files?

I figured out what my problem was; it was one of expectations. I found I had to press the add file in the project tab, then press the add button before I could see the file. Seems pretty weird to me. Guess there's a distinction made between file already in the project and those not in. The initial add file dialog only includes those already in the project.

Related

HTML files have disappeared from VS Code Project Folders

Upon opening my VS Code project and selecting the single HTML file inside it, a prompt appeared stating that the HTML file doesn’t exist: “(Error: Unable to resolve nonexistent file [file path])”. I opened the only other VS Code project I have containing an HTML file and the single HTML file within that project had disappeared as well.
I then opened Finder and, navigating to the two projects, found that there were no longer HTML files inside either project folders; only the CSS and JavaScript files I had created were there. Having not opened or touched the projects for about a week or so, I’m confused as to how these two HTML files in two different projects are both now “nonexistent.”
So far I’ve tried to show hidden files in Finder, look up the file names in Spotlight Search, check my Trash bin, and search for the file in my iCloud Drive. However, I still haven’t been able to find or recover the files.
Try to change the file extension from .html to .blade.php . Close your vs code and try to open your projects again.
from the get started window open the folder or file there the drop down menu didn't work for me

Robohelp: How to reference a .chm file rather than copy it into a merged project?

I am assigning new .CHM files to existing merged projects. You may recognize this dialog:
When I go to assign a (in my case) an existing merged project a new .CHM file, I am presented with this dialog. However, I do not want the .CHM file to be copied in, I want it to reference a .CHM file. This is because I am working on a help project that compiles many other help projects that get changed separately from time to time. This leaves the compilation project out of date if the .CHM files are simply copied in; they're just older copies.
Is there a way to have a merged project point to a .CHM file rather than copy it in so that it reflects outside changes made to the .CHM file?
Thanks!
Someone was very helpful on Adobe forums and posted a video about my question. The short answer is that, as far as I can tell, RH cannot "reference" a file. If you want child projects .CHM files to appear in a master project, you must either copy the files manually, or output from the child project build separately to each directory you would like to have an updated .CHM in.
Here's the vid:
[https://www.youtube.com/watch?v=Q774WbvYd-c&feature=youtu.be][1]

Chm file displaying Page can not be displayed

I have created compiled html (chm) file using the Microsoft html Help Workshop. when I tried to open the generated chm file, it is showing message "Page Can not be displayed". But when I click on content topic only then I am able to see corresponding page content.
Do I need to set any thing so show the selected page by default.
The short way:
If the CHM help file resides on a network drive please copy this file to a local hard drive first and try again. You'll find some additional and troubleshooting information at:
http://www.help-info.de/en/xml/maml_troubleshooting_hh.xml
http://www.grainge.org/pages/authoring/chm_mspatch/896358.htm
Problem: The help file will appear, but instead of the topic text you will see an error message "this page cannot be displayed".
Cause: Microsoft released some security patches that makes it impossible to view CHM files that are stored on a network drive (as opposed to CHM files stored on your own computer).
Solution: There is a work-around to allow viewing across a network as discussed on the following links:
http://west-wind.com/weblog/posts/2928.aspx
http://www.helpscribble.com/chmnetwork.html
The problems can also occur if the CHM file name or the path to the file contains a number sign (#). If the CHM file name contains the # symbol, then the topics in the table of contents do not appear. If the path contains the # symbol, then you may receive an access violation error message.
To work around this issue, remove the # symbol from the file name or from the path to the file.
If you have a compiled collection of CHM's (so called "merged CHM") some other problems are possible.
If you are new in using HTMLHelp Workshop:
Question: Is there a way to set a default page to be displayed when a .chm file is opened? I would like to display the page associated with the first item in the Table of Contents.
Answer: You can do this with Microsoft HTMLHelp Workshop.
Open your HHP file with HH Workshop
Click the first icon "Change project options" on the "Project" tab
Set the "Default file" from the file list of the combo box
Compile your project
HHP file example (open with notepad):
\\\
..
[OPTIONS]
Binary TOC=No
Binary Index=Yes
Compiled File=Help_Coding-Example_VB6.chm
Contents File=Help_Coding-Example_VB6.hhc
Index File=Help_Coding-Example_VB6.hhk
Default Window=main
Default Topic=index.htm
..
///
There is a solution:
In your HTML Help Workshop go to the "Project" tab
Press button "Change project options"
In the "Default file" field put the name of your default file which is already exist in your project. File should have .htm extension (for example about.htm)
Compile project again and you will see that problem is fixed

How to create chm file using the directory containing html files

I have a directory containing multiple html files. Need to create chm file using all the html files of the directory.
I am trying to create chm file using chmprocessor.
(downloaded from- http://sourceforge.net/projects/chmprocessor/files/)
I have referred http://chmprocessor.sourceforge.net/ and tried following:
I selected html file using "Add file" under Source Files tab. And selected the directory using "Add directory" under additional files tab. But it didn't worked.
Could any one please suggest the steps to create chm file using the directory containing html files?
I have also tried using HTML Help Workshop, but this tool does not provide the capability to directly create chm file by selecting the directory containing html files.
This is really annoying - after installing chmProcessor I have given the tool a longer try and the chmProcessor for (good structered) Word files (*.doc) is really working good.
But testing for HTML with the one selected HTML at 'Source files' makes me crazy as a former Microsoft Help MVP. Only linked files are included in the CHM I added with "Add Directory".
I put a 'Change Request' for more documentation about 'Source files' to SourceForge where you may download my test sample and some snaps of things I tried:
http://sourceforge.net/p/chmprocessor/bugs/29/
HTMLHelp Workshop has a learn curve and creating Table of Contents (TOC) needs a fairly long time.
So, one more thought: You may have your HTML files in a web structure with sub-directories. A tool I have experience with is FAR HTML. Using the Help Wizard makes a CHM in some minutes. These is shown in a Video I uploaded for you. Give it a try - it's free with full working functions for some weeks.
http://www.help-info.de/files_share/VideoCreateChmHelpFilesWithFAR-HTML.mp4

HTML/CSS Editor with Multi-Computer Code Folding

I'm looking for a code editor that saves folded/collapsed code. I want to be able to open the file on a 2nd computer and have the same folded/collapsed code structure. I understand that HTML/CSS cannot have this preference built in. If the editor needs to save the file in some propriety file type, I'm fine with that. I just need to be able to export it as plain HTML/CSS files once it's ready for publishing.
(Windows 7)
UltraEdit supports code folding for text files of any type and it supports also saving/restoring of folds on close/open.
In menu Advanced there is the menu item Configuration. In the settings tree navigate to Editor Display - Code Folding and enable at least the settings Save folded lines and Enable show/hide lines and code folding.
By default UltraEdit remembers which file are open with which lines hidden/folded on exit in file uedit32.ini stored on Windows computers by default in directory %APPDATA%\IDMComp\UltraEdit\. But this file contains also all other user configurations like the 2 settings I wrote above.
Therefore it is better to use a project or at least a workspace for editing the HTML/CSS files for your website(s). A project/workspace can be created in menu Project with New Project/Workspace. Using a project/workspace results in remembering which files are open on closing the project in a separate project related workspace file instead of uedit32.ini. The workspace file remembers not only the open files on closing the project, it remebers also which lines are folded, where the caret is positioned in each file, which file was the active file on close, and some other information to restore the workspace on next opening of the project/workspace.
But before creating the project/workspace, you need to enable the setting Save project information for use on multiple systems at Advanced - Configuration - File Handling - Advanced. As you can read on help page opened by clicking on button Help of this configuration dialog, this setting results in storing the workspace file of a project in same directory as the project file.
The location of the project file is defined by you on creating the project/workspace and is quite often in root directory or a subdirectory of a local copy of a website. With *.prj (the project file) and *.pui (the project user interface file = workspace file) somewhere in directory tree of the website, you have those 2 files also shared between multiple systems together with the HTML and CSS files.
See the user forum topics Create project from an existing directory tree? and Why save files to a Project? in the user-to-user forums of UltraEdit and take also a look on Tutorials/Power Tips page of IDM Computer Solutions, Inc.
SynWrite (Windows) supports it. Make some folding, then save a session file (*.syn). This file contains folded states and more. Anytime later, just open session file (menu File - Sessions) and folding (and more) restored.
You have a CSSMENU editor where you can create menu bars. This editor saves a file in such a way that it can be moved to any other pc as you mentioned . Html file will be saved and the related Css files are stored in another folder where you can move those files as your wish. No need of changing any code.