User-defined variables

<< Click to Display Table of Contents >>

Navigation:  More Advanced Procedures > Using Variables >

User-defined variables

You can define any number of your own variables to use in your project. These user-defined variables are stored with your project, which means that they are only available to the project in which they are defined. However, you can transfer variables between projects with the Export and Import functions (see below).

User-defined variables can be used almost everywhere in your projects: In topics and headers, the Table of Contents, keywords, image captions, link captions, macros, scripts, HTML code objects, HTML templates and PDF templates. See the other topics in this section for details on using variables in these locations.

See Inserting variables in topics and Inserting variables in other locations for details on how to use variables in your projects.

Click to expand/collapsePlain-text variables and HTML variables
Click to expand/collapseHow to define a variable
Click to expand/collapseVariable name syntax
Click to expand/collapseHow to edit user-defined variables
Click to expand/collapseImporting and exporting your user-defined variables

See also:

Variables and Conditional Output (Reference)