[OS X TeX] TeX.mdimporter

Norm Gall gall at spookyhill.net
Tue Jan 3 20:02:16 CET 2006


On 3-Jan-06, at 11:27 AM, Jan Hegewald wrote:

>
> Am 03.01.2006 um 19:12 schrieb Norm Gall:

>>
>> Hmph.
>
> No no, don´t get me wrong. It does work.
>

But not for MacOSRoman... I don't like that. :)

>> Do an mdimport -d3 on the file that is supposed to have this  
>> string and send me the output by e-mail offlist.
>
> As I already wrote: I can not send to you email address.
>

Right; sorry.

> A simple test file only contains:
>
> \documentclass[a4paper,ngerman,11pt,bibtotoc]{scrreprt}
> Wellenhöhenänderung
> \end{document}
>
> and mdimport output is:
>
> jan$ mdimport -d3 test.tex
> 2006-01-03 19:24:31.139 mdimport[4892] Attributes of file '/Users/ 
> jan/textest/test.tex' before import: {
>     "_kMDItemImporterCrashed" = <null>;
>     "com_apple_metadata_modtime" = 158004091;
>     kMDItemContentCreationDate = 2005-07-26 09:52:51 +0200;
>     kMDItemContentModificationDate = 2006-01-03 19:01:31 +0100;
>     kMDItemContentType = "org.tug.tex";
>     kMDItemContentTypeTree = (
>         "org.tug.tex",
>         "public.text",
>         "public.data",
>         "public.item",
>         "com.apple.cocoa.path",
>         "com.apple.cocoa.string",
>         "public.content"
>     );
>     kMDItemDisplayName = {"" = "test.tex"; };
>     kMDItemKind = {"" = tex; };
> }
> 2006-01-03 19:24:31.140 mdimport[4892] Import '/Users/jan/textest/ 
> test.tex' type 'org.tug.tex' using 'file://localhost/Users/jan/ 
> Library/Spotlight/TeX.mdimporter/'
> 2006-01-03 19:24:31.142 mdimport[4892] Sending attributes of '/ 
> Users/jan/textest/test.tex' to server.  Attributes: '{
>     "_kMDItemImporterCrashed" = <null>;
>     "com_apple_metadata_modtime" = 158004091;
>     kMDItemContentCreationDate = 2005-07-26 09:52:51 +0200;
>     kMDItemContentModificationDate = 2006-01-03 19:01:31 +0100;
>     kMDItemContentType = "org.tug.tex";
>     kMDItemContentTypeTree = (
>         "org.tug.tex",
>         "public.text",
>         "public.data",
>         "public.item",
>         "com.apple.cocoa.path",
>         "com.apple.cocoa.string",
>         "public.content"
>     );
>     kMDItemDisplayName = {"" = "test.tex"; };
>     kMDItemKind = {"" = tex; };
>     kMDItemTextContent = "\\documentclass[a4paper,ngerman, 
> 11pt,bibtotoc]{scrreprt}\nWellenh\U00f6hen\U00e4nderung\n\\end 
> {document}";
> }'

Well, I see what is happening when the encoding is MacOSRoman, but I  
don't know how to make spotlight read things right.

My advice is to use TeXShop in UTF-8 or Latin-1 from hereon in.

Sorry. I'll have to look into this further later.
-- 
The fault, dear Brutus, is not in our stars, but in ourselves.
William Shakespeare
Cassius in Julius Caesar, 1599


------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list