[OS X TeX] tex files and smart folders
Adam R. Maxwell
amaxwell at mac.com
Fri Jul 27 18:27:41 EDT 2007
On Jul 27, 2007, at 15:20, Scott Murman wrote:
>>> I have a smart folder which contains all of my "TeX Documents".
>>> it only collects files i've created with the latest version of
>>> texshop. if i open a file created in an older version of texshop,
>>> and save it using the latest version of texshop, then it appears
>>> in my smart folder. is there some way to get it to recognize the
>>> meta-info for all of my tex documents? i.e. why is it version
>>> dependent?
>>
>> How did you specify the search? If you open the .savedSearch file
>> in a text editor (it's UTF-8), see what the RawQuery value is and
>> post it here.
>
> i simply used the finder interface to create it. here's what it
> comes out as.
>
> <key>RawQuery</key>
> <string>(kMDItemKind = '*TeX Document*'cd) &&
> (kMDItemContentType != com.apple.mail.emlx) &&
> (kMDItemContentType != public.vcard)</string>
Try changing it to <string>(kMDItemDisplayName = "*.tex"cd) &&
(kMDItemContentType != com.apple.mail.emlx) &&
(kMDItemContentType != public.vcard)</string>. Earlier versions of
TeXShop probably don't export a kMDItemKind of 'TeX Document'.
--
Adam
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the MacOSX-TeX
mailing list