[OS X TeX] Leopard Quick Look & TeX

Adam R. Maxwell amaxwell at mac.com
Sun Dec 2 18:38:40 CET 2007


On Dec 2, 2007, at 9:25 AM, Alain Matthes wrote:

>
> Le 2 déc. 07 à 16:44, Adam R. Maxwell a écrit :
>
>>
>> You should remove the dyn* UTI that you added, though.  It's  
>> dynamically generated by the system and changes frequently.
>>
>
> I removed all the modifications in
>>> /System/Library/Frameworks/QuickLook.framework/Versions/A/ 
>>> Resources/Generators/Text.qlgenerator/Contents/Info.plist
>
>
> (there is no information about dyn* UTI on the net ?)

It's discussed in Apple's developer docs on UTIs.

> and now I use only your Info.plist for TextMate.
> The only problem is the encoding utf8.
> Do you have a solution ?

Open your file as utf-8 in TextEdit, then save it as utf-8 from  
TextEdit.

Alternately, try this in Terminal:

xattr -w com.apple.TextEncoding 'UTF-8;134217984' file.tex

which will set the encoding extended attribute to UTF-8.  I added  
support for this in BibDesk yesterday, which should make opening .bib  
files in TextEdit work reliably.

-- 
adam


More information about the macostex-archives mailing list