bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #45771] texi2any barks at non recursive macro being recursive


From: Gavin Smith
Subject: Re: [bug #45771] texi2any barks at non recursive macro being recursive
Date: Sun, 16 Aug 2015 17:55:27 +0100

On 16 August 2015 at 17:36, Vincent Belaïche <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]