To prepare your document, you must consider the style, layout, and content you wish to present.
Single sourcing begins with the creation of your base file. This file acts as a storage area for your text. All changes to content and index entries will be made in this file. Therefore the layout of this file must be approached carefully to minimize the conversion and maintenance effort later. Any Microsoft Office format (TXT, DOC, RTF, PPT, and so on) can be used as your base file. However, if you are single sourcing a HLP and PDF system, the RTF file is the preferred base file due to issues involving link and index maintenance. This page explains how to use the RTF file as the basis for your entire documentation set. Follow these steps to create an efficient single source from an RTF file:
Note: Use a separate RTF for each chapter of your document. If you are creating a help system rather than an online guide, use a separate RTF for each type of information (tasks, windows, concepts).
You must be familiar with the concepts of WinHelp construction to effectively create a base WinHelp system. For more information on creating a WinHelp system, see your HCW online help.
Note: Create a rigid directory structure prior to beginning your project to improve your ease of maintenance later. To create a rigid directory for conversion and maintenance, follow these steps:
This method allows you to move your project from place to place with little to no interruption in your links.
The outline is your most powerful tool. By creating an outline, you can structure the information in a logical manner, avoiding loops and deadend links in WinHelp, ensuring good flow and continuity in DOC files. Your outline should be structured as strictly as possible. You can use this outline to produce your RTF, DOC, your CNT files. The following guidelines can help you create an effective outline:
Important! Your outline is the most important document produced when creating your documentation. This piece contains all the relevant information about your documents and serves as a roadmap for others who may need to maintain your document later. If you make changes to your headings, always include these changes in the outline. You can use your outline for localization efforts, handoffs, proposals, project estimates, and so on.
Chunking is a style of writing in which you isolate the types of information you are using. Information falls into 3 main categories:
Concepts teach a user WHY he wants to use this product. Definitions tell the user WHAT the parts of the product are that he can use. Tasks tell the user HOW to do something with the product. Chunking gives the user exactly what he wants, when and where he wants it. This method allows people with different learning styles to use the same document effectively. In addition, chunking is essential for effective OLE single sourcing. By keeping the information in discrete packets, you can take those packets and arrange them in any way, producing many different presentations with the same material.
Graphics are one of the most powerful, misused, and misunderstood aspects of documentation. A picture can clarify an idea or obfuscate it. Before putting screen shots into your help or hardcopy document, consider whether the picture helps the user. Screen shots representing popup windows that contain some text and an OK button should always be eliminated. In addition, developers are always updating screens at the last minute. To avoid constantly having to recapture all of your windows simply because the capitalization of a few fields have changed, try to limit screen shots to parts of windows. This technique saves time during delivery and maintenance.
Choosing the right format for your graphics can greatly reduce the amount of time required to maintain and link your document. WinHelp accepts two types of graphic formats that we will consider:
DOC files can also use either of these formats. By choosing to use BMP or WMF, you can avoid maintaining multiple sets of graphics (TIF, GIF, etc). This method minimizes the amount of maintenance you must perform when a screen shot or diagram changes.
Linking graphics refers to the process of placing a pointer (for WinHelp a {bmc} field, for DOC files a picture link) in the file instead of pasting the picture into the file. Linking is the only type of graphic inclusion that Microsoft supports. Embedded graphics are large, unwieldy and unstable.
Note: When creating linked graphics, you create a pointer to a real location. That location must remain stable in order for the link to work.
To ensure that your graphics are centrally located, follow these steps:
Creating an index is the most difficult task the technical writer must accomplish. The index is usually the last thing you create on a project and the first thing at which your user looks.
The DOC to RTF conversion macros often produce awkward indexes in WinHelp. This problem occurs because information that was previously on five pages in a DOC file is now one large "page" in the WinHelp file. All of the index entries for that page will take the user to the top of the section, making the index difficult to use. In addition, WinHelp files support only two levels of indexing, while most of our DOC files have three levels. This difference requires significant clean up efforts after a macro conversion.
In contrast, creating an index for OLE single sourcing is relatively easy. Since you have chunked your information in your RTF, all of your index entries will be focused and concise. To ease the linking process, create both DOC and RTF index entries at the same time.
To create your index, follow these steps:
Tips: The following tips will help you create a better index: