On 27 July 2016 at 20:56, Ralph Schleicher <[email protected]> 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