Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using pdf2text (part of xpdf) to convert PDF documents to text. It works, for the most part, but one thing I wish it did was to insert blank lines between separate paragraphs instead of mashing them together.

Is there way to get pdf2text to do this? And if not, is there another pdf to text utility that can do this?

share|improve this question
4  
In the title you say "pdftotext" (which is part of poppler-utils) and in the body you say "pdt2text" (which I don't know). Which you are you referring to? – enzotib Jul 6 '11 at 17:53

2 Answers

up vote 4 down vote accepted

You could try ebook-convert from Calibre.

If anything, I'd say it errs in the other direction: too many line breaks.

Another thing I'd definitely consider though is converting to HTML using pdfreflow, and then convert the HTML to TXT.

share|improve this answer

If you have a Google account, you can use Google Docs to upload the PDF and transform it into editable text.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.