Bug 6235

Summary: Missing patterns for text/x-tex
Product: shared-mime-info Reporter: Thomas Braun <thomas.braun>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: bugzilla
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Thomas Braun 2006-03-12 23:57:48 UTC
Hi,
I was referred here by an KDE BTS entry
(http://bugs.kde.org/show_bug.cgi?id=114940).

Currently the patterns 
<glob pattern="*.tex"/>
<glob pattern="*.ltx"/>
<glob pattern="*.sty"/>
<glob pattern="*.cls"/>
determine an Tex-Document.

The entries *.dtx and *.ins are missing. (See
e.g.http://www.tex.ac.uk/cgi-bin/texfaq2html?label=dtx for an explanation what
these files are)
In short these are extensions for documents which have to be processed using
"latex <filename>".

In KDE also *.latex is included in text/x-latex, but there seems no text/x-latex
in the shared-mime-info-0.16 package. I don't no how official the suffix
".latex" is for latex documents.

Thanks
Thomas Braun
Comment 1 Bastien Nocera 2006-08-25 07:40:49 UTC
Done for the patterns:
2006-08-25  Bastien Nocera  <hadess@hadess.net>

        * freedesktop.org.xml.in: add *.dtx and *.ins as possible patterns
        for TeX files, spotted by Thomas Braun <braun@physik.fu-berlin.de>
        (Re: #6235)

Anything wrong with adding *.latex to the TeX patterns as well?
Comment 2 Thomas Braun 2006-08-26 08:28:59 UTC
Hello,

I just made a little internet research and discovered that .ltx is also a common
suffix for tex documents. Especially under latex users having winedt as editor.

I would suggest to add .ltx and .latex to the x-tex mimetype.

There is, in my eyes, no need for an extra mimetype x-latex.
If there is need for, I can try to get an official answer to this question.

Thanks
Thomas Braun
Comment 3 Bastien Nocera 2006-08-26 15:55:33 UTC
*.ltx was already in there.

2006-08-26  Bastien Nocera  <hadess@hadess.net>

        * freedesktop.org.xml.in: Add *.latex as a pattern for TeX documents
        (Closes: #6235)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.