[OS X TeX] Spotlight and .tex files

Adam Maxwell amaxwell at mac.com
Tue May 3 19:28:52 CEST 2005


 
On Tuesday, May 03, 2005, at 10:09AM, Norm Gall <gall at spookyhill.net> wrote:

>
>On 3-May-05, at 10:57, Gary L. Gray wrote:
>>>
>>> By any chance are all of your tex files created by TeXShop (or  
>>> BBEdit, etc.)?
>>>
>>> None of my .tex files have been indexd, but I have created them  
>>> all with emacs of some flavour. Spotlight uses the Type/Creator  
>>> codes to identify the file?
>>>
>>
>> They are all TeXShop files (with maybe a BBEdit file or three  
>> sprinkled in there).
>>
>
>Ok. So that means that the rtf.mdimporter is grabbing them as they  
>are identified as plain-text.
>
>I get this:
>
>[gall at ludwig v4] $ /usr/bin/mdimport -d1 Chapter-1.tex
>2005-05-03 11:01:50.637 mdimport[2440] Import '/Users/gall/Documents/ 
>Academic/Projects/PhilofPsych/v4/Chapter-1.tex' type  
>'dyn.ah62d4rv4ge81k3p2' no mdimporter
>
>
>So, I am going to have to write an importer for .tex files made by  
>emacs and such.

It should be about 4 lines of code using Foundation.framework.  Let me know if you want any advice :).

Adam

--------------------- 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