Navigation:  Basic Working Procedures > Text Formatting and Styles >

Copying styles from other projects

Print this Topic Previous pageReturn to chapter overviewNext page
Show/Hide Hidden Text

Once you have created styles in one project you don't need to redefine them when you create a new project. You can copy styles between projects, both individually and as complete collections, which are referred to as "stylesheets".

Note that unlike many word processors Help & Manual does not store its project stylesheets in separate files. Instead, they are stored in the project files along with all the other project settings. This is why it is necessary to import them from the project file when you want to copy them, instead of selecting a different stylesheet.

Copying a project stylesheet to an existing project

Note that importing a stylesheet completely replaces the stylesheet of the current project! This is not a merge process: All the styles in the current project will be deleted, even if they do not have the same names as the styles in the source file.

1.Make a backup of your current project and store it in a safe place. (In case you change your mind about deleting the styles in your current project.)
2.Select Write > Styles > Edit Styles and select Copy Styles From....
3.Select the Help & Manual project you want to copy the stylesheet from and click on OK to import and overwrite your stylesheet.
Copying a project stylesheet to a new project

If you are creating a new project the easiest way to copy the stylesheet from an existing project is to use the existing project as a "template" for the new project. Then all the styles of the existing project will be included in the new project automatically, along with all of the project's other settings.

1.Open the project, click on the Application Button and make a copy of it using Save As...
2.Delete all the topic files that you don't want to use in the new project.
3.Check your project settings in the Configuration section in the Project Explorer and update anything that needs to be changed for the new project (project title, copyright dates etc).

This is by far the quickest way to set up a new project if you wish to continue using the same basic style, appearance and layout.

See Templates for projects for details.
Copying individual styles from one project to another

You cannot copy individual styles from other projects directly but it is still possible with this little trick:

1.Open the project you want to copy the style to. We will call this Project A.
2.Open the project you want to copy the style from. We will call this Project B.
3.In Project B find a paragraph (for paragraph styles) or a piece of text (for text styles) formatted with the style you want to copy. Use copy and paste to copy this paragraph or text to a topic in Project A. If you now click in this text the name of its style will be displayed in red in the style selector, like this:

4.Click anywhere in the copied text and select Write > Styles > Create Style from Selection.

See Turning formatting into styles for full instructions.

Redefining your styles with skins

In HTML-based output formats you can redefine all the styles in your entire project when you publish by applying a "skin" containing different definitions for the styles. Basically you create a version of your project with alternative definitions of your styles as a "skin file" and then select this file when you publish in the Publish dialog.

See Transforming your output with skins for full details on using this powerful feature. Note that you can only create your own skins with the Professional version of Help & Manual.

See also:

Templates for projects

Defining styles

Transforming your output with skins

 


Page url: http://www.helpandmanual.com/help/index.html?hm_working_formatting_copystylesheet.htm