and Mailing Lists
Search Mackichan Web
SWP & SW
How to fix function key assignments for item tag environments
by modifying the cst file
Version: 2.5 - Scientific WorkPlace & Scientific Word
In SW 2.5, when you assign a function key to an environment such as Exercise,
Remark or Example (shown in the list of item tags associated with your
document style), the assignment doesn't hold unless the environment is defined
in its own section of the .cst file associated with your document. You can
solve the problem if you modify the .cst file like this:
Find the name of the .cst file associated with your document:
Open your SW document.
From the SW File menu,
Note the entry after the caption CST File.
Using an ASCII editor, open the .cst file.
Scroll through the file to find the section
Highlight the entire section and copy it to the clipboard.
Create an extra line between the end of one section and the beginning of
Paste the contents of the clipboard on the new line.
Change the name of the section to reflect the name of the environment to which
you want to assign a function key. For example, change
[newtheorem] to [exercise]
Change the line TAG_TYPE=TLTEMPLATE to
Add a new line and enter Alias=Exercise
where Exercise s the name of the section. This
makes the name appear on the Item Tag popup list.
Add a new line and enter TAG_LEADIN=Exercise where
Exercise is the name of the section. This makes
the name appear in the yellow lead-in tag.
Save the file.
Reopen your document.
The tag will now appear in the Item Tag popup list and in the yellow lead-in
This document was created with Scientific WorkPlace.