The Snippets tool inserts topics and H+M XML files into your current topic at the cursor position. These topics can be inserted in Copy mode or Link mode. In Link mode the snippet content updates automatically when the source topic or XML file is edited.
The topics can be in your current project, another Help+Manual project (HMXP format, Professional and Floating license versions only) or a directory of H+M XML files.
1.Click in your topic where you want to insert the snippet.
2.Select the Snippet tool in
3.Choose From Topic to insert a topic from the current project or From File to insert an external H+M XML file or an XML topic file from another project.
•Copy & Paste inserts a copy of the file that you can then edit.
•Linked creates a live link to the file – changes in the source file or topic are updated automatically.
•Deselecting Snippet creates a new paragraph allows you to insert a snippet as inline text in an existing paragraph.
•You can also insert XML files from your current project instead of using the From Topic mode (HMXP format, Professional and Floating license versions only).
4.Select the topic or file you want to insert and click on OK to insert it.
"Use project search path to locate snippet"
This option adds the location of the snippet file to the project search path – if you deselect it the path to the snippet is stored with the snippet.
Rather than using snippets from many locations it is better to store all your snippet files in a common location. This will make them easier to manage, particularly if you ever need to move your project or have it translated.
|