Hi all,

I tried to run pdftex on auctex.texi and it fails; it used to work.  To
reproduce, try:

--8<---------------cut here---------------start------------->8---
$ git clone --depth 1 https://git.savannah.gnu.org/git/auctex.git
$ cd auctex
$ make doc/version.texi && cd doc && \
  pdftex auctex.texi && pdftex auctex.texi
--8<---------------cut here---------------end--------------->8---

This is the error after the second pdftex run:

--8<---------------cut here---------------start------------->8---
This is pdfTeX, Version 3.141592653-2.6-1.40.29 (TeX Live 2026) (preloaded 
format=pdftex)
 restricted \write18 enabled.
entering extended mode
(./auctex.texi (/usr/local/texlive/2026/texmf-dist/tex/texinfo/texinfo.tex
Loading texinfo [version 2026-10-21.20]: pdf, fonts, glyphs, page headings,
tables, conditionals, indexing, sectioning, toc, environments, defuns, macros,
cross references, insertions,
(/usr/local/texlive/2026/texmf-dist/tex/generic/epsf/epsf.tex
This is `epsf.tex' v2.7.4 <14 February 2011>
) localization, formatting, microtype, and turning on texinfo input format.)
(./version.texi) (./macros.texi) [1{/usr/local/texlive/2026/texmf-var/fonts/map
/pdftex/updmap/pdftex.map}] [2] (./auctex.aux
! Missing @endcsname inserted.
<to be read again>
                   @kern
@safexrefname ->One Command for L@kern
                                       -.36em@raise .3ex@hbox {a}@kern -.15e...

@xrshad ...pandafter @ifx @csname XR@safexrefname
                                                  @endcsname @relax @expanda...
l.61 ...@LaTeX {}, helpers, viewers, and printing}
--8<---------------cut here---------------end--------------->8---

It seems TeX is not happy with this line in auctex.texi (line breaks
added for legibility):

--8<---------------cut here---------------start------------->8---
@xrshad{One Command for L@kern -.36em@raise .3ex@hbox {@sc {a}}
@kern -.15em@TeX {}, helpers, viewers, and printing-title}
{One Command for @LaTeX {}, helpers, viewers, and printing}
--8<---------------cut here---------------end--------------->8---

This is the definition in doc/macros.texi:

  \gdef\LaTeX#{%
      L\kern-.36em\raise.3ex\hbox{\sc{a}}\kern-.15em\TeX}

which hasn't changed for a long time.  Any hints?

Best, Arash

P.S. I'm not subscribed to this list, please keep me in Cc, TIA.

Reply via email to