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

Re: Bug#299877: tetex-bin: texdoc contains undefined command



weg@indiscrete.org (Eythan Weg) schrieb:

> On Thu, 17 Mar 2005 07:49:20 +0100,
>  Frank Küster <frank@debian.org> wrote:
>
>   Eythan Weg <weg@indiscrete.org> schrieb:
>     
>     > Package: tetex-bin
>     > Version: 3.0-2
>     > Severity: normal
>     >
>     > Texdoc  sometimes produces the line:
>     > /usr/bin/texdoc: line 198: setupTmpDir: command not found
>     >
>     > For example 
>     >  texdoc pdftex-a 
>     
>   Cannot reproduce it here. Can you please try with

Meanwhile I found it.  I don't know why it didn't happen here, but I
fixed it nevertheless.
>     
>   sh -x texdoc pdftex-a
>
> In my version of texdoc as (checksum 
>   2f1f52efcbd09491bffcf1db287bf7be  /usr/bin/texdoc  
> )  I see that  setupTmpDir was defined once
> but was commented out.  So perhaps it is not
> needed... And in fact I commented out line 198 to
> no apparent ill effect.

Yes, it's completely useless, and I removed it now.

> I think that compressed dvi files are treated
> normally i.e, uncompressed by texdoc and then
> shown.  Is this the intension?  And related to
> this, xdvi fails with compressed files.
> like here: 
> xdvi /usr/share/doc/texmf/latex/exam/examdoc.dvi.gz 
> xdvi.bin: Fatal error: Could not open `/dev/fd/3': Bad address.

That is a different issue; and indeed a bug I do not understand right
now.  I'll open a separate bug for it.

Eythan, your observations are extremely valuable for us!

Regards, Frank
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer



Reply to: