Some time recently (possibly with the Ventura upgrade; I'm not sure) quicklook behaviour got worse.
In particular, *.tex (TeX/LaTeX) files stopped previewing entirely; instead they show a message
The extension com.apple.tips.TipsAppQuicklook-macOS does not implement file previews
which seems to be weirdly trying to assign the quicklook to something related to "Tips".
I note
~/Library/Application\ Scripts/com.apple.tips.TipsAppQuicklook-macOS
exists, but it is an empty folder.mdls -name kMDItemContentType <path to a *.tex file>
giveskMDItemContentType = "org.tug.tex"
- I think the previews used to be handled by TextMate which also showed full syntax-highlighted previews. TextMate still has an
org.tex.tug
entry in its Info.plist. - Preview icons are still shown correctly.
- Most other text file types seem to work, albeit without syntax highlighting, with an "Open with some app" button on the top of the preview window, pointing to TextEdit, Xcode, Textmate, or even Emacs depending on the file type. (Emacs files seem to get syntax highlighting?!)
org.tug.tex
does not appear inqlmanage -m plugins
, althoughorg.tug.tex.bibtex
andorg.tug.tex.dvi
do.- There is no
~/Library/QuickLook
directory. - I have tried
qlmanage -r
,qlmanage -r cache
and a restart, to no avail.
Other people have similar problems, as seen on tex.SE
Update: This Apple support forum thread seems to have some more information. It implies that Apple has deprecated old quick look generators, but I don't think that this can be the whole problem, since it seems to work -- including via TextMate -- for some types.
Update 2: not fixed in 13.1, alas.
Update 3: This app seems to work as a quicklook previewer for a wide variety of file types, including TeX and CSS. (Thanks to this answer on the related thread.)
Any ideas?