Converting a fixed style into a variable style
It means to provide certain parameters for the style which were previously hard coded or not existing. This is very simple operation if the style to be converted was never used in any text, but it is rather tricky if there are stories which contain that tag.
•If a fixed style was never applied on text: Just do it.
•If a fixed style was applied on text and it is not possible to replace all occurrences: Keep in mind that the fixed style appears in text as >style<, without parameters. When you convert the fixed style into a variable style, the tags in existing stories will behave as the parameters supplied were all 0. Let's examine the following style >head1< which contents was >held 10pt<
Example 1
If you specify variable style as >held #1<, any existing paragraphs which contain >head1< will be now formatted as >held 0pt< instead as >held 10pt<.
If you specify variable style as >held #1<>w #1<, any existing paragraphs which contain >head1< will be now formatted as >held 10pt<>w 0pt<.
If you specify variable style as >held #1<>w W*(100+#1)/100< any existing paragraph which contain >head1< will be formatted as >held 0pt<>w W*100/100< which makes the second tag ineffective.
Converting a variable style into a fixed style
It means to hard-code all the parameters which were previously supplied as parameters.
•If a variable style was never applied on text: Just do it.
•If a variable style was applied on text and it is not possible to replace all occurrences: The additional parameters are ignored.