[OS X TeX] Spotlight importers

Mark Smith mark at bbprojects.net
Tue May 10 08:44:21 EDT 2005


On May 10, 2005, at 14:11, Stephen Anderson wrote:

> For some reason, the package installs the importer module inside  
> the Emacs.app package.  I copied it from there to /Library/ 
> Spotlight with the others, but running mdimport -f on my Documents  
> directory does not seem to get any of the LaTeX files there indexed  
> for Spotlight, since none of them show up in searches.

You probably shouldn't have done that. Spotlight plugins can live  
inside of app bundles at:

     myApp/Contents/Library/Spotlight/myApp.mdimporter

I don't use emacs so can't comment on whether they have done it right  
(no reason to suppose they haven't), but with the plugin in this  
location, it should work, provided that it conforms and that they  
have added the necessary stuff to the application's info.plist.

If they have built things correctly, their plugin will *only* work in  
this location and having two or more instances of the same plugin in  
two or more of the standard locations [1]  will conflict.

It may not run straight away. I'd put it back (or delete the copy in / 
Library/ ) and then try this:

     mdimport -r /Path/to/the/plugin/in/the/app/bundle

mark.

[1]  /System/Library/Spotlight/  /Library/Spotlight/  ~/Library/ 
Spotlight/
my.app/Contents/Library/Spotlight/


--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list