
150
USING ROBOHELP HTML 9
Editing and formatting
Last updated 12/14/2011
Variable names can contain only alphanumeric characters, underscores, and hyphens, and can't exceed 255
characters. A variable value can be blank.
3
Click OK. The variable is inserted.
Press Ctrl+F9, and then specify the variable name within the curly brackets that appear in the topic. Double-click the
variable to specify its value in the Variable dialog box.
Note:
You can create variables only in Default Variable Set, but you can modify the variable value in other variable sets.
Create a variable set
Variable sets enable you to modify values of various user-defined variables and use them in different outputs.
Default Variable Set is the master variable set. When you insert a variable, the variable is taken from Default Variable Set.
You can create different variable sets in the User Defined Variables pod to override the values of variables in Default
Variable Set and use them in different outputs. To use a variable set other than Default Variable Set, select the variable
set in the Content pane of layout properties.
1
Click the Add/Edit Variable Set icon.
2
Click Add and specify a name for the new variable set.
3
Click OK.
Note:
You can edit and delete a variable set in the Variable Set dialog box by clicking the respective buttons.
Edit a user-defined variable
1
In the User Defined Variables pod, select a user-defined variable from the Default Variable Set.
2
Do one of the following:
•
Right-click and select Edit.
•
Select and edit its value in the User Defined Variables editor.
•
From the Edit menu, select Edit [
variable name
].
3
(Optional) Select a different variable set.
4
Modify the value.
5
Click OK.
Note:
You can format a user-defined variable in the User Defined Variables editor. The Design and HTML buttons in
the editor allow you to toggle between Design Editor and HTML Editor.
Format a user-defined variable
You can format variable values in the User Defined Variables editor. You can also achieve the following using Design
Editor:
•
Insert images, hypertext links, and multimedia files in the variable values.
•
Apply conditional build tags to the values.
•
Perform a spell-check on the variable values.