Document 297 The link between .shl and .cst filesVersion: 3.x, 4.x, 5.x - Scientific WorkPlace & Scientific Word ProblemYou've created a shell (.shl) file and saved it in a new subdirectory in the Shells directory of your program installation. You've also created a style (.cst) file and saved it in a new subdirectory in the Styles directory. You can create a new document with the shell, but can't make permanent changes to the tag appearances in the .cst file. The system either doesn't accept the change or seems to update the wrong .cst file. ExplanationShell files are completely standard SWP/SW LaTeX files. You can create subdirectories in the Shells directory of your installation and you can place your own shells there. These shells then appear in the New dialog when you choose New from the File menu. However, there is an essential restriction regarding where .cst files may reside. Your .cst file must reside in one of only three places:
For example, if the base class is article, the .cst file must be placed in Styles\article or in Styles\[Special]. If the .cst file is placed anywhere else, the program won't be able to locate it when the shell file is chosen from the File/New dialog. If you place the .cst file in Styles\article, you can switch to any of the other .cst files in the directory by choosing Style from the File menu and then choosing the style you want. If you place the .cst file in Styles\[Special], the system uses the .cst file correctly, but you can't use the Style command to select any of the other .cst files in Styles\[Special], because the [Special] directory contains one-time styles. SolutionTo associate a .cst file with your new shell document:
The new design has two goals:
Last revised 06/29/06 This document was created with Scientific WorkPlace. |