auctex-devel
[Top][All Lists]
Advanced

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

Re: Running pdftex on auctex.texi with texinfo 2023-01-02.21 fails


From: David Kastrup
Subject: Re: Running pdftex on auctex.texi with texinfo 2023-01-02.21 fails
Date: Sat, 07 Jan 2023 16:10:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Arash Esbati <arash@gnu.org> writes:

> Hi,
>
> happy new year to all.  I have a problem building AUCTeX from the git
> repo where pdftex-ing the manual (auctex.texi) fails.  I think this is
> an issue with the latest texinfo which is
>
>   \def\texinfoversion{2023-01-02.21}
>
> provided by TeXlive.  Steps to reproduce in a shell:
>
>  • In doc/ directory, do 'make clean'
>  • Then do 'pdftex auctex.texi'
>  • And again 'pdftex auctex.texi'
>
> The first run passes, the second one says:
>
> (./auctex.toc
> ! Argument of @TeX has an extra }.
> <inserted text>
>                 @par
> <to be read again>
>                    }
> @dosecentry ...leftskip =@tocindent @tocentry {#1}
>                                                   {#2}@endgroup
> l.4 ...ntry{Overview of AUC@TeX }{1.1}{Summary}{3}
>
> ?
>
> Can others reproduce this?

It needs to be written AUC@TeX{} .  Maybe the toc code errouneously
strips the braces? ...  Oops.  In doc/macros.texi, we have

\global\let\savedTeX\TeX
\gdef\TeX#1{\savedTeX#1}

This would indeed cause this problem.  Maybe try

\gdef\TeX#{\savedTeX}

instead of the second line?  That would not strip but retain the braces.
It would inhibit kerning after @TeX{}, like when writing @TeX{}O, but I
don't think that should be a relevant problem.  Worth a try.

-- 
David Kastrup



reply via email to

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