On Thu, Nov 29, 2007 at 10:47:06AM +0000, jamie wrote: > On Wed, 2007-11-28 at 16:06 -0800, Regis Smith wrote: > > Tracker doesn't seem to index text files with extension *.tex. Is there > > a way to force it to do so? Curiously, Tracker by default indexes the > > RCS revision files with *.tex,v extension (undesirable, but > > configurable) but not the actual *.tex file. Apologies if I'm totally > > missing something obvious. I'm using 0.6.3. > > > > we would need a latex filter (simple shell script that outputs to a > text file) > > see http://svn.gnome.org/viewvc/tracker/trunk/filters/text/
Ahh, looks like there is a latex filter that was already added on January 2. It depends on the "untex" command, which I probably don't have. I'll check when I get home. Anyway, do you think it would be reasonable to check for the untex command and just copy the file directly if untex is not installed? Say something like #!/bin/sh UNTEX=`which untex` if [ -n "$UNTEX" ]; then nice -n19 $UNTEX "$1" > "$2"; else cat "$1" > "$2"; fi I'd prefer having a TeX file indexed with all the TeX commands than having untex (apparently) silently fail. > > _______________________________________________ tracker-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/tracker-list
