character styles stay/strip/replace in VARIABLES
Headers created with Variables need to be able to do three different things with character styles that are included in text :
1. The Character Style stays present in the VARIABLE ;
2. The Character Style is stripped.
3. The Character Style is mapped to another character style.
These settings should accessible in the Style: <stylename> section of the TOC options -- customizable for each paragraph style used to generate the TOC.
The most notable use for the mapping style is when the typeface between the TOC and the body text of the book differs,…