Package: shared-mime-info
Version: 0.30-2
Severity: normal
Tags: patch
Most TeX documents are wrongly identified as matlab scripts because of
too strict magic. This is discussed there:
http://lists.debian.org/debian-gtk-gnome/2008/11/msg00005.htmlThe attached patch should fix the issue. Thanks, -- .''`. : :' : We are debian.org. Lower your prices, surrender your code. `. `' We will add your hardware and software distinctiveness to `- our own. Resistance is futile.
--- freedesktop.org.xml.in.orig 2008-12-08 16:52:13.796562273 +0100
+++ freedesktop.org.xml.in 2008-12-08 16:52:42.640561511 +0100
@@ -4457,7 +4457,13 @@
<match type="string" value="%" offset="0"/>
</magic>
<magic priority="50">
- <match type="string" value="documentclass" offset="1"/>
+ <match value="\documentclass" type="string" offset="0:100"/>
+ </magic>
+ <magic priority="50">
+ <match value="\chapter" type="string" offset="0:100"/>
+ </magic>
+ <magic priority="50">
+ <match value="\section" type="string" offset="0:100"/>
</magic>
</mime-type>
<mime-type type="text/x-texinfo">
signature.asc
Description: Ceci est une partie de message numériquement signée

