Re: [Tracker] Tracker doesn't index contents of text/x-tex files



Mikkel Kamstrup Erlandsen wrote:
2006/12/14, Jamie McCracken <jamiemcc blueyonder co uk <mailto:jamiemcc blueyonder co uk>>:

    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/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]