← Back to team overview

desktop-packages team mailing list archive

[Bug 1485217] Re: Magic for text/x-tex broken

 

How are you reproducing this? How can I verify the fix?

It seems to me as nautilus recognizes a dummy file correctly as plain
text rather than TeX document; so does the file command.

-- 
You received this bug notification because you are a member of Desktop
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


References