bug-texinfo
[Top][All Lists]
Advanced

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

Re: Help requested for Automake.


From: Mathieu Lirzin
Subject: Re: Help requested for Automake.
Date: Thu, 13 Apr 2017 20:06:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Hi,

Here is a follow-up of my previous message.

Mathieu Lirzin <address@hidden> writes:

> I have recently updated the texinfo.tex distributed in Automake from
> version 2013-02-01.11 to version 2017-01-14.15
>
> Unfortunately this had the consequence of making 2 tests of Automake test
> suite fail.  The problems happen when calling texi2dvi and I fail to
> parse the error messages.  That would be great if someone could help me
> figure out what/where the problem is.

OK. So I have updated texinfo.tex to version 2017-03-25.14. This has
fixed one test but I still have the other one failing.  Here is the
failing texi file:

baz.texi:
  \input texinfo
  @setfilename baz.info
  @settitle baz
  @defindex au
  @defindex sa
  @defindex sb
  @syncodeindex sa sb

  @node Top
  Hello walls.

  @auindex baz
  baz
  @saindex sa
  sa
  @sbindex sb
  sb
  @bye

Based on the attached tarball content.

When running command 'TEXINPUTS="./old:" texi2dvi baz.texi' where 'old'
directory contains an old texinfo.tex (2013-02-01.11), the build
succeed.

When running command 'TEXINPUTS="./lib:" texi2dvi baz.texi' where 'lib'
directory contains the newer texinfo.tex (2017-03-25.14) I have the
following output:

--8<---------------cut here---------------start------------->8---
This is pdfTeX, Version 3.14159265-2.6-1.40.17 (TeX Live 2016/Debian) 
(preloaded format=etex)
 restricted \write18 enabled.
entering extended mode
(./baz.texi (/home/mthl/src/automake/lib/texinfo.tex
Loading texinfo [version 2017-03-25.14]: pdf, fonts, markup, glyphs,
page headings, tables, conditionals, indexing, sectioning, toc, environments,
defuns, macros, cross references, insertions,
(/usr/share/texlive/texmf-dist/tex/generic/epsf/epsf.tex
This is `epsf.tex' v2.7.4 <14 February 2011>
) localization, formatting, and turning on texinfo input format.)
./baz.texi:10: Missing @endcsname inserted.
<to be read again> 
                   @let 
@fixbackslash ->@ifx address@hidden @let 
                                     \ = @ttbackslash @fi @catcode 13=5 @ena...
<argument> sb^^M
                address@hidden Top^^MHello
@requireopenindexfile #1->@ifnum @csname #1
                                           address@hidden =0 @expandafter...

@dosynindex #1#2#3->@requireopenindexfile {#3}
                                              @expandafter @let @expandafter...
l.10 Hello 
           walls.
? 
./baz.texi:10: Emergency stop.
<to be read again> 
                   @let 
@fixbackslash ->@ifx address@hidden @let 
                                     \ = @ttbackslash @fi @catcode 13=5 @ena...
<argument> sb^^M
                address@hidden Top^^MHello
@requireopenindexfile #1->@ifnum @csname #1
                                           address@hidden =0 @expandafter...

@dosynindex #1#2#3->@requireopenindexfile {#3}
                                              @expandafter @let @expandafter...
l.10 Hello 
           walls.
No pages of output.
Transcript written on baz.log.
/usr/bin/texi2dvi: etex exited with bad status, quitting.
--8<---------------cut here---------------end--------------->8---

I have identified that the issue only happens when there is a @synindex
and when that @synindex doesn't contain all the existing index.  for
example if I remove the '@auindex' and its definition, or if I simply
remove '@synindex sa sb', the build succeeds.

As usual any help would be appreciated.  :)

Thanks.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37

Attachment: synindex-texi2dvi-bug.tar.gz
Description: application/gzip


reply via email to

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