set entitypath
set entitypath= d1 [:dn]
This command specifies a list of directories to search for entities that do not specify an absolute path name or a path name relative to the current directory (each directory separated by a semicolon). The initial setting is the value of the
APTENTPATH environment variable if set. Otherwise, it defaults to the
entities subdirectory of
Arbortext-path. This path option supports file entities as well. Use
%D to refer to the
Arbortext-path\entities subdirectory. Use
%B to refer to directories relative to the current document’s directory.
The document's parent directory and current working directory are included by default in the directories searched for entities. When any set entitypath directory parameter is set to a value of %^, the parent document directory and the current working directory will not be included when searching for entities. Only the paths specified will be searched.
If there is an Arbortext-path\custom\entities subdirectory at startup, the \custom\entities path is automatically prepended to the entities path. Putting your entity files in the \custom\entities subdirectory makes them automatically available, avoiding manual steps to add them to the path.
The Arbortext-path\custom\entities directory is also automatically included if you use %D in the path.
Examples:
set entitypath="c:\\Program Files\\Arbortext\\editor\\entities;%^;
c:\\Arbortext\\editor\\packages\\entities"
The list of multiple directories must be enclosed in quotation marks.
You can use the
append_entity_path function to update the entities path.
Related Topics