Mobile menu

How to deal with PDF source files in Linux?
Thread poster: RNAtranslator

RNAtranslator  Identity Verified
Local time: 20:49
English to Spanish
+ ...
Jan 31, 2008

I have no problem to get text and figures from a PDF file with the aid of pdf-utils or poppler-utils, but cursive, boldface and other formatting are lost. I have tried with pdftohtml from poppler-utils, but the results are bad. Anything better?. The best would be to convert to OpenDocument format.

Direct link Reply with quote
xxxMarc P  Identity Verified
Local time: 20:49
German to English
+ ...
How to deal with PDF source files in Linux? Jan 31, 2008

From my experience, the biggest problem with PDFs isn't the inline formatting; that can be applied later without too much effort. The main problem is preserving the logical structure of complex layouts. My normal procedure is not to attempt to reproduce the layout; instead, I import the text into a two-column table and provide a paragraph-by-paragraph translation in the second column. Even if the layout isn't reproduced, though, contiguous blocks of text still have to be recognized as such.

Adobe Reader's save-as-text function is probably the simplest solution; it has the advantage of generally keeping bits of text together that logically belong together.

kpdf has a neat function that enables you to select text by area rather than by logical structure. This can sometimes be useful with irregular blocks or columns of text.

pdftohtml, which you've tried, is OK for simpler documents but with complex layouts, the resulting structure is a mess, as you've probably discovered already.

KWord probably preserves the most formatting, and probably makes the worst job of it, too.

In technical terms, the best solution may be to do what many Windows users do, and OCR the text. Unfortunately, the only high-quality OCR application for Linux that I'm aware of (Vividata) is extortionately expensive.

If anyone has any more information, I'd be very interested in hearing it.


Direct link Reply with quote
esperantisto  Identity Verified
Local time: 22:49
Member (2006)
English to Russian
+ ...
ABBYY FineReader is reported to work in Linux via wine Jan 31, 2008

and, possibly, ABBYY PDF Transformer too. Both are capable of transforming a PDF input to MS Word/Excel (not to ODF so far).

Direct link Reply with quote

To report site rules violations or get help, contact a site moderator:

Moderator(s) of this forum
Prachya Mruetusatorn[Call to this topic]

You can also contact site staff by submitting a support request »

How to deal with PDF source files in Linux?

Advanced search

PerfectIt consistency checker
Faster Checking, Greater Accuracy

PerfectIt helps deliver error-free documents. It improves consistency, ensures quality and helps to enforce style guides. It’s a powerful tool for pro users, and comes with the assurance of a 30-day money back guarantee.

More info »
Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »

All of
  • All of
  • Term search
  • Jobs