[OS X TeX] Spotlight importers

Maarten Sneep maarten.sneep at xs4all.nl
Sat May 7 22:07:05 CEST 2005


On May 3, 2005, at 4:06 PM, Adam R. Maxwell wrote:

> No, the hidden directories (and others) aren't indexed by default,  
> unfortunately.  You may have to re-index /usr/local/teTeX after a  
> new install also; I'm not sure if the path filtering still applies  
> after you force indexing with mdimport -f.

Apparently, you can add directories to be indexed. This is taken from  
the Ars-technical openforum, a post by John Siracusa (his review has  
been mentioned on this list before). A the very least it will allow  
you to check whether certain paths are explicitly excluded.

John writes:

> Spotlight is hard-coded to ignore certain dirs. You need to  
> override those settings. Edit this file:
>
> % sudo emacs /.Spotlight-V100/_rules.plist
>
>
> and make it look something like this:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://
> www.apple.com/DTDs/PropertyList-1.0.dtd">
> <plist version="1.0">
> <dict>
>          <key>EXCLUDE</key>
>          <array/>
>          <key>INCLUDE</key>
>          <array>
>              <string>/private</string>
>              <string>/usr</string>
>          </array>
>          <key>NOTE</key>
>          <string>Specify paths to include or exclude, preceeding
> rules which target user-homes with ~/</string>
> </dict>
> </plist>
>
>
> ...and so on, adding each directory you want to include. Then tell  
> Spotlight to reindex your drive:
>
> % sudo mdutil -E /
>
>
> That should do it. (Note: I got this from a mailing list and  
> haven't actually tried it myself, but it looks sensible and safe to  
> me.)

Maarten
--------------------- 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 macostex-archives mailing list