Hi Gavin, hi all

(please keep Cc)

I am sorry for all the bug reports, but here is the next one that
surfaced when building the documentation for gcc.

In short, it seems that definitions given on the command line
        --command='@set foobar value'
are not properly expanded in the aux files.

Here a minimal not working example:

The following code works without problems:
        \input texinfo   @c -*-texinfo-*-
        @set cmd1 HELLO

        What ever
        @anchor{@value{cmd1} doc}@anchor{0}
        Here we go
        @bye

But when I remove the @set line and instead call
        texi2pdf --command='@set cmd1 HELLO' mwe.texi
I get the following error:

/home/norbert/Debian/gcc-doc/mwe/mwe.aux:1: TeX capacity exceeded, sorry [input
 stack size=5000].
@value ->@begingroup @makevalueexpandable 
                                          @valuexxx 
.....
l.1 ..., used in @value, is not set.} doc-title}{}


The reason is that the mwe.aux file contains:

@xrdef{{[No value for ``cmd1'']}@message {Variable `cmd1', used in @value, is 
not set.} doc-title}{}
@xrdef{{[No value for ``cmd1'']}@message {Variable `cmd1', used in @value, is 
not set.} doc-snt}{}
@xrdef{0-title}{}
@xrdef{0-snt}{}
@xrdef{{[No value for ``cmd1'']}\message {Variable `cmd1', used in @value, is 
not set.} doc-pg}{1}
@xrdef{0-pg}{1}


Thanks for consideration

Norbert

------------------------------------------------------------------------
PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------

Reply via email to