[OS X TeX] tex files and mdimport

Norm Gall gall at spookyhill.net
Mon Nov 14 17:41:08 EST 2005


On 14-Nov-05, at 2:55 PM, Adam Maxwell wrote:

>
> On Monday, November 14, 2005, at 01:17PM, Frank STENGEL  
> <fstengel at mac.com> wrote:
>
>>
>> Le 14 nov. 05 à 20:53, Adam Maxwell a écrit :
>>
>>>
>>> Right, I'd really like to avoid that as well.  I've defined a bogus
>>> UTI for my experiment, but you'd probably want to define a UTI in
>>> TeXShop, then create a new MDImporter in Xcode for that UTI.  I'll
>>> provide the GetMetadataForFile.m implementation, and it can be
>>> dropped into a new importer project (each one has a unique ID,
>>> generated when you create the project).  If anyone else wants to
>>> use it, they follow the same procedure (set up UTI in Info.plist,
>>> create importer with unique ID).
>>
>> The only caveat being that there would be TeXShop's importer and
>> iTeXMac's importer and...
>
> You are correct.  The only way to remedy that would be by adopting  
> an common UTI for .tex files, e.g. org.tug.tex, then have each  
> front end declare that they edit that UTI; they could then use the  
> same importer, as far as I understand.  There was some discussion  
> of an official UTI a few months ago, but I don't recall anything  
> being formalized (and I'm not going to use the org.tug domain  
> without permission).

Indeed. The LaTeX mdimporter for the yaced Carbon Emacs, for  
instance, requires that you have Carbon Emacs installed to assign the  
UTI.

Perhaps we _should_ standardise the UTI for tex files (it would seem  
that there's a de facto standard for bib files already). Perhaps we  
need to discuss this a bit and do it.

Norm Gall

-- 
"Come, let us go. Let us leave this festering hellhole. Let us think the
unthinkable, let us do the undoable. Let us prepare to grapple with the
ineffable itself, and see if we may not eff it after all." -- Douglas  
Adams

------------------------- 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