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 Touch seeded packages, which is subscribed to shared-mime-info in Ubuntu. https://bugs.launchpad.net/bugs/1485217 Title: Magic for text/x-tex broken Status in shared-mime-info package in Ubuntu: New Bug description: 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). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shared-mime-info/+bug/1485217/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp