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

Herbert Schulz herbs at wideopenwest.com
Wed Jun 12 09:17:19 EDT 2013


On Jun 12, 2013, at 8:09 AM, "Gary L. Gray" <gray at psu.edu> wrote:

> On Jun 12, 2013, at 9:04 AM, Herbert Schulz <herbs at wideopenwest.com> wrote:
> 
>> And now what does `mdls` give for that file?
> 
> This discussion made me curious, so I executed mdls on a .tex file. Here is what I get:
> 
> loon:~ �� $ mdls /Users/gray/Documents/Book\ Project/Manuscripts/Dynamics/Chapter-8/Section-8.1/ProblemFigs/C8S1Prob-Spool-1/Labels.tex 
> kMDItemContentCreationDate     = 2010-11-29 00:20:47 +0000
> kMDItemContentModificationDate = 2010-11-29 00:20:47 +0000
> kMDItemContentType             = "org.tug.tex"
> kMDItemContentTypeTree         = (
>    "org.tug.tex",
>    "public.text",
>    "public.data",
>    "public.item",
>    "public.content"
> )
> kMDItemDateAdded               = 2012-07-23 16:56:30 +0000
> kMDItemDisplayName             = "Labels.tex"
> kMDItemFSContentChangeDate     = 2010-11-29 00:20:47 +0000
> kMDItemFSCreationDate          = 2010-11-29 00:20:47 +0000
> kMDItemFSCreatorCode           = ""
> kMDItemFSFinderFlags           = 0
> kMDItemFSHasCustomIcon         = 0
> kMDItemFSInvisible             = 0
> kMDItemFSIsExtensionHidden     = 0
> kMDItemFSIsStationery          = 0
> kMDItemFSLabel                 = 0
> kMDItemFSName                  = "Labels.tex"
> kMDItemFSNodeCount             = 274
> kMDItemFSOwnerGroupID          = 501
> kMDItemFSOwnerUserID           = 501
> kMDItemFSSize                  = 274
> kMDItemFSTypeCode              = ""
> kMDItemKind                    = "TeX Document"
> kMDItemLogicalSize             = 274
> kMDItemPhysicalSize            = 4096
> 
> 
> By the way, after updating to 10.8.4, rebuilding the launch services database, and restarting, my icons did reappear and continue to display correctly.
> 
> Gary
> 

Howdy,

Is that `mdls` run before or after rebuilding Launch Services? Interesting (although I have no idea what the meaning is) that you have kMDItemContentType as ``org.tug.tex'' instead of the newer ``edu.uo.texshop.tex''.

Is this stuff saved with the file or looked up in a ``central'' meta-data database related to Launch Services?

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)





More information about the MacOSX-TeX mailing list