The pdf2line package

[Tags:gpl, program]

Simple command-line utility to convert PDF into text

[Skip to Readme]


Versions 0.0.1
Dependencies base, binary, bytestring, containers, filepath, FindBin, process [details]
License GPL
Copyright 2008 Audrey Tang; distributed with parts of "xpdf" by Glyph & Cog, LLC.
Author Audrey Tang <>
Maintainer Audrey Tang <>
Category Text
Uploaded Mon May 5 16:12:14 UTC 2008 by AudreyTang
Distributions NixOS:0.0.1
Downloads 690 total (15 in the last 30 days)
0 []
Status Docs not available [build log]
Last success reported on 2017-01-03 [all 8 reports]
Hackage Matrix CI


Maintainer's Corner

For package maintainers and hackage trustees

Readme for pdf2line

Readme for pdf2line-0.0.1

"pdf2line" is a simple command-line utility to convert PDF into text.

It is based on "pdftotext" from the Xpdf suite, but with a different
layout algorithm that preserves relative column position and line spacing.

To use it for anything other than ASCII text, you'd need to have a
/usr/local/etc/xpdfrc or ~/.xpdfrc configured in a way that allows
Xpdf's "pdftotext" to run correctly for your purpose.