[OS X TeX] Leopard Quick Look & TeX

Gedalin Michael gedalin at bgumail.bgu.ac.il
Sun Dec 2 22:16:21 CET 2007


Correction (lost / in qlmanage in the previous posting) and update:  
after once again opening Info.plist and saving it (no changes), moving  
TeXShop to the desktop and back, and opening TeXShop, all files with  
extensions tex, cls, sty, and aux are previewed by QuickLook. The  
output of  mdls, however, gives:

 >mdls /Additions/Mytex/agu/for_manuscript_preparation/agu2001.cls
kMDItemContentModificationDate = 2006-07-31 00:00:00 +0300
kMDItemContentType             = "dyn.ah62d4rv4ge80g5dx"
kMDItemContentTypeTree         = (
   "public.data",
   "public.item"
)
...

that is, dynamic ContentType and no plain-text. Nevertheless,

 >qlmanage -p /Additions/Mytex/agu/for_manuscript_preparation/ 
agu2001.cls
...
2007-12-02 23:09:06.998 qlmanage[524:5f03] [QL] Previewing /Additions/ 
Mytex/agu/for_manuscript_preparation/agu2001.cls. Content type UTI:  
org.tug.tex. Generator used: <QLGenerator /System/Library/Frameworks/ 
QuickLook.framework/Resources/Generators/Text.qlgenerator>
2007-12-02 23:09:06.999 qlmanage[524:5f03] [QL] Validating /Additions/ 
Mytex/agu/for_manuscript_preparation/agu2001.cls against CFBundle/ 
CFPlugIn 0x16e080 </System/Library/Frameworks/QuickLook.framework/ 
Resources/Generators/Text.qlgenerator> (bundle, loaded) and /Additions/ 
Mytex/agu/for_manuscript_preparation/agu2001.cls
2007-12-02 23:09:07.000 qlmanage[524:5f03] [QL] Previewing file://localhost/Additions/Mytex/agu/for_manuscript_preparation/agu2001.cls 
  finished

So is the mdls output relevant at all ?

Two more questions:

1. If there are two or more applications defining the same UTI, should  
I make changes in both Info.plist or one takes precedence ?
2. Do .qlgenerators override UTI definitions by applications ?

Regards,
Michael





***********************************************
* Michael Gedalin
* Department of Physics
* Ben-Gurion University
* POBox 653
* 84105 Beer-Sheva, Israel
* tel: 972-8-6461645
* fax: 972-8-6472904
* email: gedalin at bgu.ac.il
* http://physics.bgu.ac.il/~gedalin
***********************************************







More information about the macostex-archives mailing list