[OS X TeX] TeXShop 3.18 no longer has icons for .tex files

Herbert Schulz herbs at wideopenwest.com
Tue Jun 11 16:55:13 CEST 2013


On Jun 11, 2013, at 9:04 AM, "Adam R. Maxwell" <amaxwell at mac.com> wrote:

> 
> 
> On Jun 11, 2013, at 4:20, Herbert Schulz <herbs at wideopenwest.com> wrote:
> 
>> I think it's more than cosmetic! I think the OS is confused about something but I have no idea what that is.
> 
> Remember, use mdls to diagnose this sort of problem…. I cant give the proper flags since I'm not at my Mac now, but they're in the recent archives of this list.
> 
> Adam


Howdy,

Here's what I get when I simply run mdls on one of my .tex files (Note: they show up with the correct icon in all views except Cover Flow which shows a Preview style icon):

$ mdls /Users/herbs/Documents/Docs/index.tex 
kMDItemContentCreationDate     = 2013-05-19 13:30:43 +0000
kMDItemContentModificationDate = 2013-05-29 11:05:02 +0000
kMDItemContentType             = "edu.uo.texshop.tex"
kMDItemContentTypeTree         = (
    "edu.uo.texshop.tex",
    "public.text",
    "public.data",
    "public.item",
    "public.content",
    "public.plain-text"
)
kMDItemDateAdded               = 2013-05-19 13:30:43 +0000
kMDItemDisplayName             = "index.tex"
kMDItemFSContentChangeDate     = 2013-05-29 11:05:02 +0000
kMDItemFSCreationDate          = 2013-05-19 13:30:43 +0000
kMDItemFSCreatorCode           = ""
kMDItemFSFinderFlags           = 0
kMDItemFSHasCustomIcon         = 0
kMDItemFSInvisible             = 0
kMDItemFSIsExtensionHidden     = 0
kMDItemFSIsStationery          = 0
kMDItemFSLabel                 = 0
kMDItemFSName                  = "index.tex"
kMDItemFSNodeCount             = 0
kMDItemFSOwnerGroupID          = 20
kMDItemFSOwnerUserID           = 501
kMDItemFSSize                  = 0
kMDItemFSTypeCode              = ""
kMDItemKind                    = "TeX File"
kMDItemLogicalSize             = 0
kMDItemPhysicalSize            = 0

Notice that kMDItemContentTypeTree contains ``edu.uo.texshp.tex plus other public items and the kMDItemKind is ``TeX File''. Don't know how to deal with the flags.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the macostex-archives mailing list