[OS X TeX] TeX Spotlight plugin

Simon Spiegel simon at simifilm.ch
Thu May 23 10:54:13 CEST 2013


After a lot of tinkering (basically doing the same things over and over again) it suddenly works.

simon

On 23.05.2013, at 09:39, Simon Spiegel <simon at simifilm.ch> wrote:

> I'm chiming in late here, but this doesn't seem to work here. I installed the new importer, I updated TeXShop, I made sure that no other importer is around. I tried both /Library/Spotlight and ~/Library/Spotlight, I tried mdimport -r ~/Library/Spotlight/TeX.mdimporter, I logged out and in again. Still, my .tex files seem only to get imported by the Rich Text Importer (they're mostly UTF8).
> 
> 2013-05-23 09:35:46.425 mdimport[300:707] Imported '/Users/simi/Dropbox/Todorov/Kapitel/faustus.tex' of type 'edu.uo.texshop.tex' with plugIn /System/Library/Spotlight/RichText.mdimporter.
> 2013-05-23 09:35:46.429 mdimport[300:707] Attributes: {
>    ":MD:kMDExtendedImportDictionary" =     {
>    };
>    "_kMDItemFinderLabel" = 0;
>    "_kMDItemStaticInterestScore" = "0.5";
>    "_kMDItemTextEncodingHint" = 134217984;
>    "com_apple_metadata_modtime" = 313019140;
>    kMDItemContentCreationDate = "2010-12-02 21:45:40 +0000";
>    kMDItemContentModificationDate = "2010-12-02 21:45:40 +0000";
>    kMDItemContentType = "edu.uo.texshop.tex";
>    kMDItemContentTypeTree =     (
>        "edu.uo.texshop.tex",
>        "public.text",
>        "public.data",
>        "public.item",
>        "public.content",
>        "public.plain-text"
>    );
>    kMDItemDateAdded = "2013-03-20 19:08:16 +0000";
>    kMDItemDisplayName =     {
>        "" = "faustus.tex";
>    };
>    kMDItemKind =     {
>        "" = "TeX File";
>        en = "TeX File";
>    };
>    kMDItemLogicalSize = 14001;
>    kMDItemPhysicalSize = 16384;
>    kMDItemTextContent = 
> 
> Any ideas?
> 
> TIA
> 
> simon
> 
> 
> On 23.05.2013, at 05:17, Adam R. Maxwell <amaxwell at mac.com> wrote:
> 
>> Dick,
>> 
>> Happy to help; I figured you were buried under MacTeX stuff, and this needs some beta testing. Seems like a couple people were interested :).
>> 
>> I guess you'll have to reset architectures on that project to add ppc. Not sure I mentioned that last night…
>> 
>> Adam
>> 
>> On May 22, 2013, at 18:26, Richard Koch <koch at math.uoregon.edu> wrote:
>> 
>>> Adam,
>>> 
>>> Thanks very much for taking this on, and then arranging a test. I've
>>> been swamped with MacTeX work for several days, so I haven't
>>> responded, but I greatly appreciate your work.
>>> 
>>> Dick Koch
>>> 
>>> PS: Others: please test this.
>>> 
>>> On May 22, 2013, at 6:19 PM, "Adam R. Maxwell" <amaxwell at mac.com> wrote:
>>> 
>>>> I've put up a modified copy of the Spotlight plugin that Dick ships with TeXShop for download at
>>>> 
>>>> https://www.dropbox.com/s/qfese0ictr33hwa/TeX.mdimporter.zip?v=1rw-
>>>> 
>>>> No guarantees that this will work, but I'd be interested to hear of any problems. Install it manually in ~/Library/Spotlight, creating that folder if needed.
>>>> 
>>>> ** Caveats **
>>>> 
>>>> 1) Next time TeXShop ships with a Spotlight importer, you should manually remove this one!
>>>> 
>>>> 2) It's not code signed, as I can't find an Apple recommendation on that.
>>>> 
>>>> 3) It will not run on PowerPC systems
>>>> 
>>>> 
>>>> 
>>>> ----------- Please Consult the Following Before Posting -----------
>>>> TeX FAQ: http://www.tex.ac.uk/faq
>>>> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
>>>> List Archive: http://tug.org/pipermail/macostex-archives/
>>>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>>>> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>>> 
>>> 
>>> ----------- Please Consult the Following Before Posting -----------
>>> TeX FAQ: http://www.tex.ac.uk/faq
>>> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
>>> List Archive: http://tug.org/pipermail/macostex-archives/
>>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>>> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
>> 
>> ----------- Please Consult the Following Before Posting -----------
>> TeX FAQ: http://www.tex.ac.uk/faq
>> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
>> List Archive: http://tug.org/pipermail/macostex-archives/
>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
>> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
> 
> --
> Simon Spiegel
> Steinhaldenstr. 50
> 8002 Zürich
> 
> Telephon: ++41 44 451 5334
> Mobophon: ++41 76 459 6039
> 
> 
> http://www.simifilm.ch
> 
> „If you ever travel back in time, don't step on anything because even the tiniest change can alter the future in ways you can't imagine.“ Abe Simpson
> 
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> List Archive: http://tug.org/pipermail/macostex-archives/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex


--
Simon Spiegel
Steinhaldenstr. 50
8002 Zürich

Telephon: ++41 44 451 5334
Mobophon: ++41 76 459 6039


http://www.simifilm.ch

„Everybody needs money! That’s why they call it money!“ David Mamet







More information about the macostex-archives mailing list