pdftotext needs a " -" to specify output to standard out, otherwise it creates a filename.txt file for each filename.pdf.

Changed:
336 $filefilter .= 'FileFilter .pdf '.$filter.' "\'%p\'"'. "\n";
to:
336 $filefilter .= 'FileFilter .pdf '.$filter.' "\'%p\' -"'. "\n";

Comments

populist’s picture

Status: Needs review » Fixed

fixed

populist’s picture

well, fixed in the head version. these .txt files are currently being used to drive the search excerpts stuff (so the .txt generation is in the 4.7 1.1 version). there is a better implementation planned for the 5.0 release.

Anonymous’s picture

Status: Fixed » Closed (fixed)