[OS X TeX] status of Spotlight indexing of .tex files?

Maarten Sneep maarten.sneep at xs4all.nl
Mon Dec 19 14:41:07 EST 2005

On 19 Dec 2005, at 18:15, Norm Gall wrote:

> Ok. I suppose that I am the man with respect to the importer.
> I have re-written the importer this morning and have set the UTI to  
> org.tug.tex, it recognises .tex, .latex, and .texi extensions. It  
> is independent of any editor (as far as I can tell so far) and I  
> will be testing it for the next few days to make sure I haven't  
> made a mess of things.


>     kMDItemTextContent = "\\documentclass[11pt]{article}\n\n\ 
> \usepackage{amsfonts}\n\\usepackage{graphicx}\n\n\\title{Brief  
> Article}\n\n\\author{Norman Gall}\n\n\\date{\\today}\n\n\\begin 
> {document}\n\\maketitle\n\nThis is a whole bunch of text.\n\n\ 
> \bibliographystyle{}\n\\bibliography{}\n\\end{document}\n \n\n%%%  
> Local Variables: \n%%% mode: latex\n%%% TeX-master: t\n%%% End: \n";

Does it filter information from the complete contents? or does it  
just take the first 2kB or so?

> I think I'm going to rename some things (tex.mdimporter, perhaps)  
> but I'd like to know what extensions people use to mark their files.

I think a previous message by Karl Berry gave a list (.ltx, .ctx). I  
wouldn't include .cls and .sty, as they are not user documents (at  
least not in general).

> I hope that this will be helpful,

I think so.

------------------------- 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 Archive: http://tug.org/pipermail/macostex-archives/

More information about the MacOSX-TeX mailing list