bug-texinfo
[Top][All Lists]
Advanced

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

Re: syncodeindex bug


From: Gavin Smith
Subject: Re: syncodeindex bug
Date: Thu, 28 Jul 2016 21:55:18 +0100

On 27 July 2016 at 20:56, Ralph Schleicher <address@hidden> wrote:
> \texinfoversion{2016-07-16.19}
> texi2any (GNU texinfo) 6.1
>
> Hi,
>
> the @synindex and @syncodeindex do no longer work for TeX output.
> The makeinfo command is not affected.  Here is an example input file:
>
>
>
> After running "texi2pdf synind.texi" or "texi2dvi synind.texi" the
> symbol index in the resulting PDF or DVI file is empty.
>
>

Thank you for the report. I believe the patch at the bottom of this
mail is the correct fix. I will investigate some more and make this
change.

The bug came in when index files were only opened after they were
actually needed. However, @synindex needs the index files to be open
to work.

Index: texinfo.tex
===================================================================
--- texinfo.tex (revision 7276)
+++ texinfo.tex (working copy)
@@ -4781,6 +4781,7 @@
     \expandafter\closeout\csname#2indfile\endcsname
     \expandafter\let\csname donesynindex#2\endcsname = 1
   \fi
+  \requireopenindexfile{#3}%
   % redefine \fooindfile:
   \expandafter\let\expandafter\temp\expandafter=\csname#3indfile\endcsname
   \expandafter\let\csname#2indfile\endcsname=\temp



reply via email to

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