Hello,

I think I have found a bug with texi2dvi. It seems to manifest only
when using -o to write the dvi to a subdirectory and when the .texi
file has a sectioning command like @top. texi2dvi emits an identical
copy of the dvi file in the current working directory.

I found a similar-sounding report from 2007:
http://www.mail-archive.com/[email protected]/msg03174.html (indeed,
I found the problem in the same way: my `make distcheck ' failed
because of extra .dvi files left about.)

Minimal example to reproduce this bug:

doc/foo.texi
8<---
\input texinfo @c -*- texinfo -*-
@c %**start of header
@setfilename foo.info
@settitle foo
@c %**end of header
@node Top
@top Top
@bye
--->8

Running texi2dvi -o doc/foo.dvi doc/foo.texi causes a copy of foo.dvi
to be left in the current directory. If you want a minimal autotools
example add:

configure.ac:
8<---
AC_INIT([ambug],[0],[/dev/null])
AM_INIT_AUTOMAKE([foreign])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
--->8

Makefile.am:
8<---
info_TEXINFOS = doc/foo.texi
--->8

Run `autoreconf -i', then `make distcheck' and it will fail.

Is there any other useful information I can provide?

-- Jack


Reply via email to