On 16 August 2015 at 17:36, Vincent Belaïche <[email protected]> wrote:
> When I compile latex2e-es.texi revision393
> <http://svn.gna.org/viewcvs/latexrefman/trunk/latex2e-es.texi?revision=393&view=markup>
> with texi2any (latest one on the SVN repo), then I have the following
> happening:
>
>
>       $ makeinfo --html --no-split -c
> TOP_NODE_UP_URL=http://tug.org/texinfohtml/ latex2e-es.texi
>      -| Locales dir for document strings not found
> (c:/Programmes/installation/texinfo-install/trunk/tp/../tp/maintain/../LocaleData
> LocaleData ../../../tp/LocaleData ../../tp/LocaleData)
> error-> latex2e-es.texi:5267: recursive call of macro vincentb is not allowed;
> use @rmacro if needed
> error-> latex2e-es.texi:6247: recursive call of macro vincentb is not allowed;
> use @rmacro if needed
> error-> latex2e-es.texi:6248: recursive call of macro vincentb is not allowed;
> use @rmacro if needed
> error-> latex2e-es.texi:6323: recursive call of macro vincentb is not allowed;
> use @rmacro if needed
>
>
> But the @vincentb macro is not recursive, its definition is at line 28 as
> follows:
>
> @macro vincentb {newtext,oldtext,date}
> \newtext\
> @end macro
>

Confirmed. I looked at the file containing this and found that it was
caused by an earlier invocation of the macro with an empty first
argument. The following has the same error:

bash $cat empty-first-arg.texi
@macro Mac{A,B,C}
\A\
@end macro

@Mac{,x,y}
@Mac{z,x,y}

bash $makeinfo empty-first-arg.texi
empty-first-arg.texi:6: recursive call of macro Mac is not allowed;
use @rmacro if needed
bash $

I don't know why this happens yet.

Reply via email to