Contents
- Index
Updating a stylesheet
Caution!
Updating a stylesheet is not a recommended operation for novice users. It may affect subsequent editing of any map that uses this stylesheet. The map's appearance will not change (i.e. on File/Open) but future extensions to the map will use the new version of the stylesheet, e.g. new nodes will reflect any colour and font changes to the stylesheet.
Procedure
To update a stylesheet, eg 'Concept map' or 'Argument map', the recommended procedure is :-
1) Use File/Open to open the file 'stylesheet_source.xml' in the stylesheet's folder (this is a subfolder of the Styles folder). You will have to set the dialog's Filter control to view documents of type XML -- the default is set to view '.cpn' files. This gives a map window containing a representation of the stylesheet's source map.
2) Edit the window graphically as required.
3) File/Save_special/Save_styles/Update to permanently update the stylesheet. Note that only stylesheet.pl is revised by this process. You are recommended also to save your window as a new version of stylesheet_source.xml, by use of the File/Save_special/Save_XML command. This will keep the xml file consistent with stylesheet.pl (although this is not crucial since only stylesheet.pl is consulted at runtime).
4) The revised stylesheet can be immediately accessed by selecting its name in the File/New dialog.
Back to start of help