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

Bug#401903: Integrating texdoc.php into Debian's teTeX



Hi everybody,

Joao Palhoto Matos <jmatos@math.ist.utl.pt> wrote:

> Frank Küster wrote:
>
>> Clicking on "User's guide" in "Fundamentals/General References" opens
>> the file usrguide.dvi.gz in xdvi (which by us has been patched to be
>> convert dvi.gz on-the-fly), whereas clicking on "LaTeX symbol table"
>> wants to open symbols.dvi.gz with the application that's associated with
>> gz files.  Any idea how this could come about?
>>
>> Regards, Frank
>>   
> Dear Frank,
>
> This may be unrelated, and certainly will not explain the anomaly, but
> my freshly installed Debian home machine only started letting
> on-the-fly decompression work after I changed
>
>    #AddEncoding x-compress .Z
>    #AddEncoding x-gzip .gz .tgz
>    #
>    # If the AddEncoding directives above are commented-out, then you
>    # probably should define those extensions to indicate media types:
>    #
>    AddType application/x-compress .Z
>    AddType application/x-gzip .gz .tgz
>
> to
>
>    AddEncoding x-compress .Z
>    AddEncoding x-gzip .gz .tgz
>    #
>    # If the AddEncoding directives above are commented-out, then you
>    # probably should define those extensions to indicate media types:
>    #
>    #AddType application/x-compress .Z
>    #AddType application/x-gzip .gz .tgz
>
> on /etc/apache2/apache2.conf.

Hm, does anybody understand these Apache configuration directives?
According to the comment in /etc/mime.types, "Encoding" is the correct
thing, anyway.  Ah, and apache2 in sarge declares gzip with
"AddEncoding", not "AddType".

Regards, Frank
-- 
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)



Reply to: