Snippets in style repositories

<< Click to Display Table of Contents >>

Navigation:  More Advanced Procedures > Working with Style Repositories >

Snippets in style repositories

In addition to styles, a style repository can also contain topic files. These files are automatically available to all projects linked to the style repository as snippets. They can be inserted directly with the Insert Snippet tool, with the special From Repository section.

Since the repository styles are also available in all linked projects, all the snippets contained in the style repository will be formatted the same in all the linked projects where they are used. In addition to this, the style repository provides an easy, centralized place to edit the snippets. Just as with the repository styles, editing the topic files in the style repository automatically updates the content of the snippets in all projects where they are used.

This only applies when you link the snippets, of course! If you insert the snippets in paste mode they become part of the target topic and later changes to the source will not have any effect.

Click to expand/collapseUsing and editing style repository snippets
Click to expand/collapseEditing a project when the style repository is not available

See also:

Repository Manager