Public bug reported: The magic for text/x-tex in Ubuntu 15.04 is broken as it assigns text/x-tex to any text file which contains the word "section", "chapter" or "documentclass" within the first 100 characters.
This behavior is fixed if one adds backslashes to the appropriate match values in /usr/share/mime/packages/freedesktop.org.xml (.in) (see attached patch). ** Affects: shared-mime-info (Ubuntu) Importance: Undecided Status: New ** Patch added: "fix_x-tex_magic.patch" https://bugs.launchpad.net/bugs/1485217/+attachment/4445155/+files/fix_x-tex_magic.patch -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to shared-mime-info in Ubuntu. https://bugs.launchpad.net/bugs/1485217 Title: Magic for text/x-tex broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/1485217/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs