> The reason, AFAICS, is that user-defined macros are not immediately > expanded while writing an entry to the `.toc` file. Is there a > reason for it?
Note that it works just fine if I use `@set` and `@value` for the purpose shown in the file, and this is probably even a better solution for the example at hand. If you think that the behaviour of `@macro` with respect to ToC entries is a feature, please document it (and also say that `@set` is not affected) Werner