On 1 July 2015 at 17:39, David Kastrup <[email protected]> wrote: > There is no @relative in the source file: the requisite source reads > > @warning{Motifs to be inverted should be expressed in absolute form > or be first converted to absolute form by enclosing them in a > @code{\relative} block.} > > The definition of @warning is
I reproduced this. When I doubled the backslash before "relative", it worked. The argument to @warning contains a backslash, which is an active character. This is the case even though it's nested within the argument to another command. According to the Texinfo manual, " If a macro invocation includes another command (including a recursive invocation of itself), any commas in the nested command invocation(s) are quoted by default." Unfortunately, this doesn't appear to extend to backslashes. \ would have to be set as non-active before reading the argument for @code, and switched back afterwards.
