The functions for finding and replacing text in Help & Manual are very similar to the comparable functions in word processors, with some additional options for the special requirements of help projects.
In addition to this the program also has powerful functions for locating individual topics by their topic IDs and their context numbers, and for locating "referrers", i.e. topics containing links to the current topic or topics.
The Search function is also available in the XML Source editor tab (Professional and Server versions only) and all HTML editor windows for HTML templates and other editing windows. Just right-click in these editor windows to access. |
1.Select Write > Editing > Find & Replace… or press Ctrl+F. 2.Enter your search text and choose your options. These are self-explanatory and are very similar to all search and replace functions in all modern word processors. Find where:Topic Keywords searches for index keywords you have associated with your topics. Image File Names changes the filenames of graphics file references in your projects so that they refer to files with different names. See below for details. Captions searches in TOC captions (the Topic Title field in the tab). Note that replacing this text does not change the name of the topic in the TOC or the header in the header box above the editor. Instead, it "uncouples" the topic title attribute from the other two texts, giving it a different value. Table of Contents searches in the TOC in the Project Explorer (search only, no replace). |
Variables:1.Select Find & Replace in the Edit menu and set the scope of your search (current topic, all topics etc). 2.To search for a variable or replace text with a variable enter: <% + VARIABLENAME + %> For example if your variable is called DEMOBUILD you would type: <%DEMOBUILD%> When you insert or replace variables with Find and Replace the variables are not highlighted in the topic text. This is exactly the same as typing in variables manually – the variables are still fully functional, they are just not highlighted in the text. (The highlight is just an editing convenience to make the variables easier to see.) Conditional tags:1.Select Find & Replace in the Edit menu and set the scope of your search (current topic, all topics etc). 2.Select Conditional Texts as the type of search to perform. 3.Enter the conditional tags you want to search for, including the commas if you are searching for tags with multiple conditions. Examples:
|
Images are referenced with their filenames only so you can "replace" them with other images by replacing their filenames in your topics. Help & Manual finds the image files by searching through all the folders in your Project Search Path so if the filename you use is in one of those folders Help & Manual will be able to find it. 1.Select Write > Editing > Find & Replace… or press Ctrl+F. 2.Select Image File Names in the Find Where section. 3.Enter the exact name of the image file as the search and replacement texts, including the file extension, for example: main_screen.bmp. 4.Choose your other options. These are self-explanatory and are very similar to all search and replace functions in all modern word processors. |
1.Select Project > Manage Topics > Find > Find Topic 2.Select Topic ID or Help Context Number. |
You can find links to the current topic with the Find Referrers function, which also shows which topics the current topics links to. Links to and from the current topic:•Select Topics > Manage Topics > Find > Find Referrers OR •Right-click on a topic in the TOC and select Find Referrers in the context menu. Selecting Find Referrers for a chapter in the TOC will display the referrers for all the topics in the chapter. You can also use this function for multiple topics. Just select two or more topics in the TOC before selecting the function. Note that this function will only find links to the current topic or topics in the current project! You cannot use this function to locate links to the topic in other projects or help files. Finding links in all topics:•Select Project > Tools > Report Tool and select either Long Report or Full Report mode. The report will include lists of all outgoing and ingoing links in all topics in your project. |
See also:
Find & Replace (Reference)
Find Referrers (Reference)