[OS X TeX] Leopard Quick Look & TeX

Gedalin Michael gedalin at bgumail.bgu.ac.il
Sun Dec 2 10:43:05 EST 2007


Here is what happens on my machine (I do not know which parts of the  
output are not important so that I paste the whole output):

 >mdls /Additions/Mytex/agu/for_manuscript_preparation/agu11.sty
kMDItemContentCreationDate     = 2007-12-02 14:57:16 +0200
kMDItemContentModificationDate = 2007-12-02 14:57:16 +0200
kMDItemContentType             = "dyn.ah62d4um4ge81g7d3"
kMDItemContentTypeTree         = (
   "com.apple.traditional-mac-plain-text",
   "public.plain-text",
   "public.text",
   "public.data",
   "public.item",
   "public.content"
)
kMDItemDisplayName             = "agu11.sty"
kMDItemFSContentChangeDate     = 2007-12-02 14:57:16 +0200
kMDItemFSCreationDate          = 2007-12-02 14:57:16 +0200
kMDItemFSCreatorCode           = "TeXs"
kMDItemFSFinderFlags           = 0
kMDItemFSHasCustomIcon         = 0
kMDItemFSInvisible             = 0
kMDItemFSIsExtensionHidden     = 0
kMDItemFSIsStationery          = 0
kMDItemFSLabel                 = 0
kMDItemFSName                  = "agu11.sty"
kMDItemFSNodeCount             = 0
kMDItemFSOwnerGroupID          = 502
kMDItemFSOwnerUserID           = 502
kMDItemFSSize                  = 9658
kMDItemFSTypeCode              = "TEXT"
kMDItemKind                    = "STY File"
kMDItemLastUsedDate            = 2007-12-02 14:57:17 +0200
kMDItemUsedDates               = (
   2007-12-02 00:00:00 +0200
)

%%%%%%%%

 >qlmanage -p Additions/Mytex/agu/for_manuscript_preparation/agu11.sty  
 > test2
2007-12-02 15:40:53.877 qlmanage[512:10b] Testing quicklookd preview  
with files:
(
   "Additions/Mytex/agu/for_manuscript_preparation/agu11.sty"
)
2007-12-02 15:40:53.885 qlmanage[512:10b] [QL] Succesfully activated  
built-in quicklookd sandbox profile
2007-12-02 15:40:53.996 qlmanage[512:5603] [QL] Preview test for  
Additions/Mytex/agu/for_manuscript_preparation/agu11.sty -- /Users/ 
gedalin/. Content type UTI: None
2007-12-02 15:40:53.999 qlmanage[512:5207] [QL] Previewing /Users/ 
gedalin/Additions/Mytex/agu/for_manuscript_preparation/agu11.sty.  
Content type UTI: None. Generator used: None
2007-12-02 15:40:54.008 qlmanage[512:590b] [QL] Thumbnailing Additions/ 
Mytex/agu/for_manuscript_preparation/agu11.sty -- /Users/gedalin/ (512  
x 512). Content type UTI: None. Generator used: None
2007-12-02 15:40:54.009 qlmanage[512:590b] [QL] Thumbnailing for  
Additions/Mytex/agu/for_manuscript_preparation/agu11.sty -- /Users/ 
gedalin/ done (No image created).


%%%%%

Nevertheless, the file opens with QuickLook in Finder  - is not the  
same as qlmanage ?

On another machine QuickLook and qlmanage open a file  but mdsl shows  
dynamic kMDItemContentType.

In addition, I had to remove iTeXMac, otherwise it captured tex files  
as attributed them to something like com.itexmac2.plugin (I do not  
remember exactly). I presume that in order to retain it I had to make  
the same changes as proposed in the Info.plist of iTeXMac. Is there  
any way to know which application would capture a file if there any  
several ?

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 MacOSX-TeX mailing list