You may want to add or override variables in your EditorialConfig.
For instructions on how to edit EditorialConfig, see Edit EditorialConfig.
Check if a variable already exists
1.Open EditorialConfig as instructed in Edit EditorialConfig.
2.Locate the <Dict> node.
In the standard EditorialConfig, it appears after:
<!-- Free dictionary available to scripting -->
<Dict>
3.Review the variables and try to find out if the one you need already exists. All variables are within <Dict> node, but their order is arbitrary. If the file is too long, you may want to paste it in an Editor (Notepad, Notepad++ or Visual Studio Express, where you can use the Find command.
4.Do one of the following:
•If you didn't find the variable, follow the steps explained in "Add a new variable".
•If you've found the variable, follow the steps explained in "Modify an existing variable".
Add a new variable
1.Put the cursor at the beginning of the in the line with the </Dict> statement and press Return.
2.Type the new variable line in appropriate syntax (see Examples).
3.Save your changes and then update the EditorialConfig as explained in Edit EditorialConfig.
4.Inform all users that they need to restart their Ted and Freds.
Modify an existing variable
1.Edit the value of an existing variable.
2.Save your changes and then update the EditorialConfig as explained in Edit EditorialConfig.
3.Inform all users that they need to restart their Ted and Freds.
Examples of variables
Simple string value ("testo")
<Item Name="bodyname" Value="testo" />
Simple string value ("testo") for the typography with ID=1810
<Item Name="1810_bodyname" Value="testo" />
Simple integer value in millipoints ("30000"). Note that all the values get enclosed in double quotes.
<Item Name="glbKickerH" Value="30000" />
Simple empty string value:
<Item Name="F_JumpTopC" Value="" />
Example of putting GNML tag brackets in the variable. The tag name is >jump<, but you cannot put ">" and "<" directly: you must use > for > and < for <:
<Item Name="F_JumpTopT" Value=">jump £<" />
An example of a Web address in variable value:
<Item Name="WebhelpUrl" Value="http://localhost/gn4help" />
An example of a Boolean value:
<Item Name="glbAlwaysSplitVertical" Value="true" />
See also
Typography-dependent overridable variables