Mikkel Kamstrup Erlandsen wrote:
> 2006/12/14, Jamie McCracken <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>>:
> 
>     Mark Florian wrote:
>      > I just noticed that tracker doesn't index the contents of files
>     of the
>      > type text/x-tex, that is TeX/LaTeX files. If I copy such a file,
>     called
>      > say thesis.tex to thesis.txt, then tracker indexes that .txt file
>     fully
>      > as would be expected.
>      >
>      > I haven't checked how tracker treats other variants of text/*
>     mimetypes,
>      > but it strikes me that tracker should index the contents of *all*
>     text
>      > files.
> 
>     It does index all plain text files that it detects however if it has a
>     mime type other than text/plain then it checks the filters directory to
>     see if a filter is defined for it. If not present then no text is
>     extracted.
> 
>     all the latex/tex  needs is a filter to call untex on it (in
>     tracker/filters/text)
> 
>     patches for above welcome
> 
> 
> 
> It should be fairly easy to extract metadata from .tex files too. Like 
> Author and Title (if present - and set through the standard LaTeX macros).
> 
> If this weekend turns out to have something like 500 hours I might look 
> into it :-)
> 

great - catch me on irc if you need any help...

-- 
Mr Jamie McCracken
http://jamiemcc.livejournal.com/

_______________________________________________
tracker-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to