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 Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs