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

Bug#631271: texlive-binaries: xdvi no longer uncompresses .gz and .bz2 files



Samuel Bronson <naesten@gmail.com> writes:

> Control: severity -1 important
> Control: block -1 by 583188
> Control: tag -1 + confirmed
> Control: found -1 texlive-binaries/2012.20120628-4
>
> Vincent Lefevre <vincent@vinc17.net> writes:
>
>> Package: texlive-binaries
>> Version: 2009-8
>> Severity: normal
>>
>> xdvi no longer uncompresses .gz and .bz2 files. For instance:
>>
>> $ xdvi /usr/share/doc/texmf/latex/styles/preview.dvi.gz
>> xdvi.bin: Fatal error: /usr/share/doc/texmf/latex/styles/preview.dvi.gz: Not a DVI file.
>
> Considering the number of .dvi.gz files shipped in Debian, I think this
> is actually fairly important.

I don't think it is important, because it doesn't make much sense to
type a commandline as the one above, when it is much easier to just type

texdoc preview

However, there _are_ issues with that:  When "see" is used as the
command for viewing in texdoc, which is the sensible default, this does
not work because of a known bug.  I'm not sure where, maybe it's only on
a gnome desktop because I get

View comand: (gnome-open "/tmp/texdoc.qrsrFG/preview.dvi"; rm -f "/tmp/texdoc.qrsrFG/preview.dvi"; rmdir /tmp/texdoc.qrsrFG) &
** (evince:8177): WARNING **: Error stating file '/tmp/texdoc.qrsrFG/preview.dvi': No such file or directory

IIRC gnome-open returns before the viewer has opened the file.

The other problem is that (at least on stable), no system-wide
texdoc.cnf is installed, and if you create one at the place you'd
expect, /etc/texmf/texdoc/texdoc.cnf, it is simply ignored.


Anyway, I'd much rather have these issues fixed than patch xdvi's code.
However, patches are of course welcome.

Regards, Frank


Reply to: