[OS X TeX] Re: .tex and mdimport

Bruno Voisin bvoisin at mac.com
Thu Nov 17 07:32:37 EST 2005


Le 13 nov. 05 à 00:13, Carroll Morgan a écrit :

> (I am not a subscriber) and I wonder whether you could point me in  
> the right direction about spotlight and .tex. Basically they're not  
> being indexed (as with all the rest of us), but in my case setting  
> the file type to TEXT is not sufficient. The suffix".tex" itself  
> seems to be the culprit:
>
> 2005-11-13 10:02:17.351 mdimport[26067] Import '/Users/carroll/ 
> Desktop/z.tex' type 'dyn.ah62d4um4ge81k3p2' no mdimporter
> Balthazar:~/Desktop carroll$ SetFile -t "TEXT" z.tex
> Balthazar:~/Desktop carroll$ mdimport -d1 z.tex
> 2005-11-13 10:02:28.654 mdimport[26069] Import '/Users/carroll/ 
> Desktop/z.tex' type 'dyn.ah62d4um4ge81k3p2' no mdimporter
> Balthazar:~/Desktop carroll$ mv z.tex z.tax
> Balthazar:~/Desktop carroll$ mdimport -d1 z.tax
> 2005-11-13 10:02:42.592 mdimport[26071] Import '/Users/carroll/ 
> Desktop/z.tax' type 'com.apple.traditional-mac-plain-text' using  
> 'file://localhost/System/Library/Spotlight/RichText.mdimporter/'
> Balthazar:~/Desktop carroll$ mv z.tax z.tex
> Balthazar:~/Desktop carroll$ mdimport -d1 z.tex
> 2005-11-13 10:02:56.300 mdimport[26073] Import '/Users/carroll/ 
> Desktop/z.tex' type 'dyn.ah62d4um4ge81k3p2' no mdimporter
> Balthazar:~/Desktop carroll$ GetFileInfo z.tex
> file: "/Users/carroll/Desktop/z.tex"
> type: "TEXT"
> creator: "R*ch"
> attributes: avbstclInmedz
> created: 11/13/2005 09:22:26
> modified: 11/13/2005 09:22:26
> Balthazar:~/Desktop carroll$
>
> I run TexShop (only), have recently done a clean install of 10.4.3,  
> and don't have any tex/latex importers that I know of. On 10.4.2 I  
> had OzTex installed also, but have not brought it over. The creator  
> "R*ch" is of course BBEdit, which also I did not bring over to  
> 10.4.3, preferring TextWrangler (whose code is "!Rch"). But (other  
> experiments seem to show that) the TextWrangler/BBEdit issue seems  
> not to be relevant.
>
> Any suggestions as to what might be going on?

Hi,

The problem is that there's no SpotLight importer other than LaTeX  
MDIMporter, which requires yaced (Yet Another Carbon Emacs  
Distribution) <http://yaced.sourceforge.net/>.

As it happens, a thread on this topic has just appeared on the OS X  
TeX list, see <http://tug.org/pipermail/macostex-archives/2005- 
November/thread.html#18629>.

Sorry for the late answer, I've been away for a few days' holiday (it  
felt so fine to be back to London and Cambridge) and just got through  
the 500 accumulated email messages. That said, I prefer people not to  
contact me personally, and generally answer with "sorry, I can't  
help, please ask the community on the OS X TeX mailing list instead".

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