Finish to implement and test IndextermInlineMacro substitution.