[texhax] For webmasters of TeX-related sites

Elizabeth Dearborn elizabeth at medicalese.org
Wed Aug 23 00:29:40 CEST 2006

If you're running a website with a lot of TeX-related documents 
available for reading and/or download, I'm sure you've already 
enabled the .pdf MIME type for your site.

Did you know you can also enable TeX, LaTeX, and .dvi similarly? Add 
the following lines to your .htaccess file:

AddType application/x-latex latex
AddType application/x-tex tex
AddType application/x-dvi dvi

Then, if a visitor has a TeX editor or YAP installed, and clicks on a 
.tex or .dvi file, the file can be opened & read immediately.

Elizabeth Dearborn
elizabeth at medicalese.org

More information about the texhax mailing list