Gavin Smith <[email protected]> writes:
> It took me two attempts and several minutes to clone the git repo. First
> attempt:
>
> $ git clone --depth 1 https://git.savannah.gnu.org/git/auctex.git
> Cloning into 'auctex'...
> fatal: unable to access
> 'https://git.savannah.gnu.org/git/auctex.git/': The requested URL
> returned error: 500
>
> I tried running a second time and it completed, but again taking
> several minutes.
I guess problems with GNU/FSF infrastructure again ☹️
> It's very unlikely that that was a line in auctex.texi.
Yes, my bad; I sent another message shortly after the first one about
this[1].
> This is due to changes for sectioning commands such as this, which does
> not have an associated @node line. In context:
>
> @node Processing Facilities
> @section Creating and viewing output, debugging
>
> @subsection One Command for @LaTeX{}, helpers, viewers, and printing
>
> If you have typed some text and want to run @LaTeX{} (or @TeX{}, or
> other programs---see below) on it, type @kbd{C-c C-c}. If applicable,
>
> I used "ln -s ../../../doc/texinfo.tex ." inside the "doc" subdirectory
> to get the development version of texinfo.tex (version 2026-10-30.17),
> then ran pdftex twice following the instructions above. This reproduced
> the error.
Thanks for the explanation. Is this behavior new within Texinfo? The
setup you've fetched used to build with TeX for a long time without
problems.
> Bascially using sequences defined with TeX primitives like \gdef isn't
> guaranteed to work in Texinfo when processing with TeX.
>
> The argument to @subsection is now being written into the .aux file.
> When this happens AucTeX's own definition of \LaTeX is expanded, which causes
> this bug.
>
> If I comment out the definition of \LaTeX from doc/macros.texi, and then
> delete auctex.aux, then pdftex succeeds when run two further times:
>
> diff --git a/doc/macros.texi b/doc/macros.texi
> index 478ac18..ac0e754 100644
> --- a/doc/macros.texi
> +++ b/doc/macros.texi
> @@ -51,8 +51,8 @@ font-latex
> @tex
> \global\let\savedTeX\TeX
> \gdef\TeX#{\savedTeX}
> -\gdef\LaTeX#{%
> - L\kern-.36em\raise.3ex\hbox{\sc{a}}\kern-.15em\TeX}
> +%\gdef\LaTeX#{%
> +% L\kern-.36em\raise.3ex\hbox{\sc{a}}\kern-.15em\TeX}
> \gdef\previewlatex#{%
> {\textsf preview-latex}}
> \gdef\fontlatex#{%
>
> texinfo.tex has its own definition of @LaTeX{}, which works correctly
> in this context.
IIUC, you suggest we do this within AUCTeX sources, right? I'm Cc'ing
David since he's much more knowledgable about this than me; maybe he has
some comments about the redefinitions in macros.texi.
> The PDF output looks good to me after this change, although I notice
> some of the links in the table of contents don't work, which I will
> investigate.
Thanks, I'll try your suggestion above at my end.
Best, Arash
Footnotes:
[1] https://lists.gnu.org/archive/html/bug-texinfo/2026-11/msg00006.html