Modifying Definitions in a Module
One of the maintenance tasks associated with modularized stylesheets is modifying a definition contained in one of the modules in the module hierarchy. Arbortext Styler enables you to accomplish this in two ways - in the module itself or from within the modularized stylesheet.
The processes listed in here apply to all the available definitions within Arbortext Styler; use the relevant definition list to carry out the modifications:
• Elements, contexts and conditions
• Property sets
• Page sets
• Page types
• Page regions
• Generated Content objects
• Tables of contents
• Custom tables
• Cross references
• Sizes
• Combined fonts
Modify the Definition in the Module
1. Open your document in Arbortext Editor.
2. Select > to open the Open Stylesheet dialog box.
3. In the Available Stylesheets list, select the module you want to modify - use the Add button to browse your filesystem for the module if it does not currently appear in the list.
4. Click OK to close the dialog box and open the module in Arbortext Styler. Note that the module opens on the Elements list by default - if the module does not contain any elements navigate to the relevant list to find the definitions you wish to modify.
| When electing to open a standalone module you may see an error advising that the module references missing definitions. It may be the case that definitions in the module you are opening reference objects in another module and, since the module is being opened independently of the modular stylesheet or module that contains those definitions, the connections cannot be made. For example, if the objects in your module contain references to property sets in their definition, the link to the property sets will not be resolved and the error will appear. Use the > menu option to confirm that this is the case if you encounter the error. |
5. Modify the definitions in the module as usual and save the module.
The advantage of this approach is that the module opens faster in Arbortext Styler than the complete modularized stylesheet. The disadvantage is that you cannot preview your changes, as the complete stylesheet is not available.
Modify the Definition in the Modularized Stylesheet
1. In Arbortext Editor, open a document with an associated stylesheet that references the module you want to modify.
2. Select > to open the modularized stylesheet in Arbortext Styler.
3. Modify the definitions as usual and save the stylesheet.
When you save the stylesheet, all modified modules in the hierarchy are also saved. Note, however, that you cannot save a read-only module. You can save a module that is referenced by a read-only module, as long as the included module is not read-only.
The advantage of this approach is that you can meaningfully preview your changes. The disadvantage is that it takes longer to open the modularized stylesheet in Arbortext Styler.