Variables in topic text

Variables

Using variables will save you time and energy. You can create topics and place variables anywhere in the text. List of Values, System, and Text variables can also be used in the Print, Help, and Web headings.

Only the name of the variable appears inside the <angle brackets> in the topic. When the book is published the variable's value is displayed in the output. In this example, every instance of <Product> in the topic in Author is displayed as X1000 in the published output.

Variables in Topic and Output

Note: Variable names may only contain the characters 0-9, a-z, A-Z and _ (underscore). Variable names are not case-sensitive. For example, both <Contact> and <contact> represent the same variable name when used in a topic.