bug-texinfo
[Top][All Lists]
Advanced

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

texi2dvi ignores -o under unclear circumstances.


From: Jack Kelly
Subject: texi2dvi ignores -o under unclear circumstances.
Date: Tue, 11 Aug 2009 22:15:13 +1000

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/address@hidden/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

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