[OS X TeX] Spotlight

Herbert Schulz herbs at wideopenwest.com
Tue May 21 11:31:43 EDT 2013


On May 21, 2013, at 9:19 AM, Eric van der Oord <eric.vanderoord at gmail.com> wrote:

> Hi all,
> 
> I use TexLive 2010-64 and TeXShop 3.16.
> 
> Here is what I get :
> ...

Howdy,

Strangely I'm getting a very different thing with a test file (UTF-8) placed on my desktop:

> $ mdimport -d3 /Users/herbs/Desktop/howdy.tex 
> (Debug) Import: file:/Users/herbs/Desktop/howdy.tex plugin:file://localhost/System/Library/Spotlight/RichText.mdimporter/ /System/Library/Spotlight/RichText.mdimporter
> (Info) Import: Plaintext import 
> (Debug) Import: Attributes for file /Users/herbs/Desktop/howdy.tex: {
>     ":MD:kMDExtendedImportDictionary" =     {
>     };
>     "_kMDItemFinderLabel" = 0;
>     "_kMDItemPrescanCandidate" = 1;
>     "_kMDItemTextEncodingHint" = 134217984;
>     "com_apple_metadata_modtime" = 390842494;
>     kMDItemContentCreationDate = "2013-05-21 15:21:34 +0000";
>     kMDItemContentModificationDate = "2013-05-21 15:21:34 +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-21 15:21:34 +0000";
>     kMDItemDisplayName =     {
>         "" = "howdy.tex";
>     };
>     kMDItemKind =     {
>         "" = "TeX File";
>         en = "TeX File";
>     };
>     kMDItemLogicalSize = 65;
>     kMDItemPhysicalSize = 4096;
>     kMDItemTextContent = "\\documentclass{tmm}\n\\begin{document}\nHello World!\n\\end{document}\n";
> }
> 2013-05-21 10:22:12.314 mdimport[2012:707] Imported '/Users/herbs/Desktop/howdy.tex' of type 'edu.uo.texshop.tex' with plugIn /System/Library/Spotlight/RichText.mdimporter.
> 2013-05-21 10:22:12.315 mdimport[2012:707] Attributes: {
>     ":MD:kMDExtendedImportDictionary" =     {
>     };
>     "_kMDItemFinderLabel" = 0;
>     "_kMDItemPrescanCandidate" = 1;
>     "_kMDItemStaticInterestScore" = "0.5";
>     "_kMDItemTextEncodingHint" = 134217984;
>     "com_apple_metadata_modtime" = 390842494;
>     kMDItemContentCreationDate = "2013-05-21 15:21:34 +0000";
>     kMDItemContentModificationDate = "2013-05-21 15:21:34 +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-21 15:21:34 +0000";
>     kMDItemDisplayName =     {
>         "" = "howdy.tex";
>     };
>     kMDItemKind =     {
>         "" = "TeX File";
>         en = "TeX File";
>     };
>     kMDItemLogicalSize = 65;
>     kMDItemPhysicalSize = 4096;
>     kMDItemTextContent = "\\documentclass{tmm}\n\\begin{document}\nHello World!\n\\end{document}\n";
> }
> 

Is there any connection with using the QLColorCode.qigenerator? What gets shown when I hover over the file in SpotLight list is certainly syntax colored.

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)






More information about the MacOSX-TeX mailing list