Search /usr/local/texlive directory with Spotlight

Posted by Teake Nutma on Super User See other posts from Super User or by Teake Nutma
Published on 2012-07-01T10:51:52Z Indexed on 2012/07/01 15:18 UTC
Read the original article Hit count: 268

Filed under:
|
|
|
|

Having TeXLive installed on my Mac, I frequently need to consult documentation for some of the packages. It seems silly to Google this when I have the PDFs all on my HDD in /usr/local/texlive/2011/texmf-dist/doc , so I want to be able to use Spotlight to search for them. However, I can't get Spotlight to cooperate. I tried

mdimport /usr/local/texlive/2011/texmf-dist/doc

which then does some work, but afterwards doesn't display any results in Spotlight. I've also added the folder in Alfred's search scope to no avail. Any ideas?

© Super User or respective owner

Related posts about osx

Related posts about spotlight