Rename specific xrefs in all files in a book

You can use the BookXRefs file to rename xrefs. The RenameXRefChar parameter defines the character that tells the Import XRef Definitions command to rename the xref rather than change its definition. Set the RenameXRefChar parameter to a value (a single character), then use that value as the first character of the "definition." The next time you run the Import XRef Definitions command, those xrefs will be renamed. You cannot rename an xref to a name that already exists, but you can replace it (see Replace specific xrefs in all files in a book).

For example, the following sample file will rename the HeaderOnly, HeaderQuoted, and HeaderAndPage xref definitions to HeadingOnly, HeadingQuoted, and HeadingAndPage. The RenameXRefChar parameter is set to "#" and that character is used as the first character in the "definition."

[General] 
AltBookXRefsFile= 
DeleteXRefCode= 
RenameXRefChar=# 
ReplaceXRefChar= 
EditorType=0 
 
[Groups] 
Count=1 
1=MainGroup 
 
[MainGroup] 
HeaderOnly=#HeadingOnly 
HeaderQuoted=#HeadingQuoted 
HeaderAndPage=#HeadingAndPage
Warning: Be careful to use a value for the RenameXRefChar parameter that is not used as the first character in your xref names.