[OS X TeX] Leopard Quick Look & TeX
Thomas Rike
tricycle222 at earthlink.net
Thu Dec 6 07:59:52 CET 2007
Hello again.
This is very frustrating, because I had about 5 hours where it worked
perfectly. Now I am back to square one. Now none of the .tex, .sty
or .cls files generate a quick look. All I get is the icon. I use
qlmanage -t foo.tex on the command line and
Content type UTI: org.tug.tex. Generator used: None
is back with no thumbnail created. <QLGenerator/System/Library/
Frameworks/QuickLook.framework/Resources/Generators/Text.qlgenerator>
no longer appears.
Is there somewhere to look to find what is stopping quicklook from
registering a generator for org.tug.tex?
Macintosh-3:~ trike$ mdls /Users/trike/Desktop/Untitled.tex
kMDItemContentCreationDate = 2007-12-05 22:11:11 -0800
kMDItemContentModificationDate = 2007-12-05 22:11:11 -0800
kMDItemContentType = "org.tug.tex"
kMDItemContentTypeTree = (
"org.tug.tex",
"public.text",
"public.data",
"public.item",
"public.content"
)
This is the same output I saw in another email that suggested that
this is not correct. Should the public.plain-text show up? I have to
admit that I am unclear about how this works.
Hopefully someone reading this can suggest something I can try. Since
I had the ability for a day, it is even harder to live without it now.
Thanks. Tom Rike
On Dec 2, 2007, at 2:01 PM, Thomas Rike wrote:
> Hope this goes to the correct place in the thread. I am still not
> sure how to reply to a thread so that the email shows up in the
> correct place. I didn't get any response to this posting, so I kept
> going over all of the items in the thread. It looked like I had done
> everything correct, but none of the files would generate thumbnails.
> Content type UTI: org.tug.tex. Generator used: None was always the
> outcome. I finally came across the remark that UTI was discussed in
> Developer documentation. When looking at my hard drive I found that
> the Developer folder was not there. Apparently when Leopard is
> installed the X-Code tools are thrown out, but the new ones are not
> installed. So I went to my install disk and installed the Leopard X-
> code Tools and as soon as the installation was over Quicklook began
> working perfectly on .tex and .sty files. I don't know what that has
> to do with X-code Tools, but qlmanage -t foo.tex now shows:
>
> Content type UTI: org.tug.tex. Generator used: <QLGenerator/System/
> Library/Frameworks/QuickLook.framework/Resources/Generators/
> Text.qlgenerator>
>
> Thanks for the pointers (Especially Adam and Herb), Tom Rike
>
> On Dec 1, 2007, at 9:32 PM, Thomas Rike wrote:
>>
>> Sorry for the delay. I have been away all day and am just getting
>> back to my computer. Thanks for your patience. Here are the results
>> of the terminal commands.
>>
>> mdls /Users/trike/Desktop/quicktest.tex
>> kMDItemContentCreationDate = 2007-11-30 21:13:38 -0800
>> kMDItemContentModificationDate = 2007-11-30 21:17:29 -0800
>> kMDItemContentType = "org.tug.tex"
>> kMDItemContentTypeTree = (
>> "org.tug.tex",
>> "public.text",
>> "public.data",
>> "public.item",
>> "public.content"
>> )
>> kMDItemDisplayName = "quicktest.tex"
>> kMDItemFSContentChangeDate = 2007-11-30 21:17:29 -0800
>> kMDItemFSCreationDate = 2007-11-30 21:13:38 -0800
>> kMDItemFSCreatorCode = "TeXs"
>> kMDItemFSFinderFlags = 0
>> kMDItemFSHasCustomIcon = 0
>> kMDItemFSInvisible = 0
>> kMDItemFSIsExtensionHidden = 0
>> kMDItemFSIsStationery = 0
>> kMDItemFSLabel = 0
>> kMDItemFSName = "quicktest.tex"
>> kMDItemFSNodeCount = 0
>> kMDItemFSOwnerGroupID = 501
>> kMDItemFSOwnerUserID = 501
>> kMDItemFSSize = 692
>> kMDItemFSTypeCode = "TEXT"
>> kMDItemKind = "TeX Document"
>> kMDItemLastUsedDate = 2007-11-30 21:32:24 -0800
>> kMDItemUsedDates = (
>> 2007-11-30 00:00:00 -0800
>> )
>>
>> Macintosh-3:~ trike$ qlmanage -r
>> 2007-12-01 21:03:15.361 qlmanage[334:10b] Resetting all generators
>>
>> Macintosh-3:~ trike$ qlmanage -t /Users/trike/Desktop/quicktest.tex
>> 2007-12-01 21:05:43.222 qlmanage[340:10b] Testing quicklookd
>> thumbnails with files:
>> (
>> "/Users/trike/Desktop/quicktest.tex"
>> )
>> 2007-12-01 21:05:43.230 qlmanage[340:10b] [QL] Succesfully
>> activated built-in quicklookd sandbox profile
>> 2007-12-01 21:05:43.263 qlmanage[340:4503] [QL] Thumbnailing /Users/
>> trike/Desktop/quicktest.tex (128 x 128). Content type UTI:
>> org.tug.tex. Generator used: <QLGenerator Void>
>> 2007-12-01 21:05:43.266 qlmanage[340:5203] [QL] Registering
>> <QLGenerator Built-in> for public.image
>> ----cut---- A LOT OF REGISTERING TO VARIOUS APPLICATIONS FROM
>> SAFARI TO ICAL TO MAIL TO IWORK ...
>> 2007-12-01 21:05:43.331 qlmanage[340:5203] [QL] Registering
>> <QLGenerator /Applications/LaTeX/LaTeXApps/BibDesk.app/Contents/
>> Library/QuickLook/BibDesk.qlgenerator> for
>> net.sourceforge.bibdesk.bdskcache
>> 2007-12-01 21:05:43.333 qlmanage[340:5203] [QL] Registering
>> <QLGenerator /Applications/LaTeX/LaTeXApps/BibDesk.app/Contents/
>> Library/QuickLook/BibDesk.qlgenerator> for
>> net.sourceforge.bibdesk.bib
>> 2007-12-01 21:05:43.334 qlmanage[340:4e03] [QL] Thumbnailing /Users/
>> trike/Desktop/quicktest.tex. Content type UTI: org.tug.tex.
>> Generator used: None
>> 2007-12-01 21:05:43.334 qlmanage[340:4503] [QL] Thumbnailing for /
>> Users/trike/Desktop/quicktest.tex done (No image created).
>> 2007-12-01 21:05:43.335 qlmanage[340:4503] No thumbnail created for file://localhost/Users/trike/Desktop/quicktest.tex
>>
>> The bottom line is that no image is created. Any advice is welcome.
>> Thanks, Tom
>>
>> On Nov 30, 2007, at 10:34 PM, Adam R. Maxwell wrote:
>>
>>>
>>> On Nov 30, 2007, at 10:03 PM, Thomas Rike wrote:
>>>
>>>> I agree it is very explicit, but it isn't working for me.
>>>> I have added, using BBEdit.app,
>>>> <string>public.plain-text</string>
>>>> to the UTTypeConformsTo</key> <array>
>>>> After saving: moving TeXShop.app, logging off, shutting down, and
>>>> using touch on the command line were all unable to cause Quick
>>>> Look to view any of my .tex files as text. Have I missed the
>>>> point? Thanks for any advise.
>>>
>>> That sounds right. What is the output of the following in Terminal:
>>>
>>> 1) `mdls /path/to/file.tex`
>>> 2) `qlmanage -r /path/to/file.tex`
>>>
>>> where /path/to/file.tex comes from dropping a .tex file on Terminal?
>>>
>>> --
>>> adam
More information about the macostex-archives
mailing list