Gavin Smith <[email protected]> writes:
> On 8 August 2015 at 22:05, Gavin Smith <[email protected]> wrote:
>>> I'd like to make the @macroargdummy token completely disappear at some
>>> point, but maybe it isn't possible.
>>
>> Doing \def\macroargdummy{} in \scanmacro also makes the files I tried
>> work. It didn't the first time I tried, maybe because I had stale
>> index files.
>
> That last patch I posted doesn't work properly when a macro defines an
> index entry, because of changes in the active definition of backslash
> down under the definition of \cindex (\normalturnoffactive underneath
> \commondummies).
>
> Here's a change that I think's nicer, which does the expansion of the
> active backslash earlier as an extra stage of expansion.
Well, this is an interesting one...
\entry{Tiny examples}{90}{\code {Tiny examples}}
] [91]
/usr/local/tmp/lilypond/Documentation/contributor/issues.itexi:275: Undefined c
ontrol sequence.
<argument> @empty Simple@unhbox @voidb
@x @penalty @tiepenalty @ tasks@unhbo...
@trim@@@ #1 #2@->#1
l.1 ...idb@x @penalty @tiepenalty @ Documentation}
@quotedblright{}@empty
@scanmacro ...spaceisspace @scantokens {#1@empty }
@endgroup
@macnamexxx ...{}@xeatspaces {#1}@quotedblright{}}
@egroup
l.275 @qq{Simple tasks -- Documentation}
on:
?
/usr/local/tmp/lilypond/Documentation/contributor/issues.itexi:275: Emergency s
top.
<argument> @empty Simple@unhbox @voidb
@x @penalty @tiepenalty @ tasks@unhbo...
@trim@@@ #1 #2@->#1
l.1 ...idb@x @penalty @tiepenalty @ Documentation}
@quotedblright{}@empty
@scanmacro ...spaceisspace @scantokens {#1@empty }
@endgroup
@macnamexxx ...{}@xeatspaces {#1}@quotedblright{}}
@egroup
l.275 @qq{Simple tasks -- Documentation}
on:
/usr/local/tmp/lilypond/Documentation/contributor/issues.itexi:275: ==> Fatal
error occurred, no output PDF file produced!
Transcript written on contributor.log.
/usr/bin/texi2dvi: pdfetex exited with bad status, quitting.
With the definition
@macro qq{TEXT}
@quotedblleft{}\TEXT\@quotedblright{}
@end macro
--
David Kastrup