in reply to Re: PDF search term highlighting
in thread PDF search term highlighting

I'm not sure this is useful - I already use pdf2txt in another context.

The problem is that I need to know the page number and offset (ie nth char) of the words to highlight. pdf2txt doesn't retain this information - it simply returns all the text in the PDF.

-- Michael Snell
-- michael@snell.com

Replies are listed 'Best First'.
Re: Re: Re: PDF search term highlighting
by traveler (Parson) on Nov 19, 2002 at 17:44 UTC
    I know that pdf2txt only outputs the text. Absent another solution, though, that code may for the basis for a perl module you could write that would preserve the necessary information.

    --traveler