[plug] PDF in Linux

Craig Ringer craig at postnewspapers.com.au
Tue Oct 14 12:14:47 WST 2003


>>When it comes to copy and paste, you /should/ be able to use xpdf for 
>>it, assuming you're copying and pasting text. I prefer the way it 
>>handles it to the way acrobat reader does, often - I can grab a number 
>>of columns as-is with xpdf.
> 
> In what way do you mean? E.g. if I have text in columns like this:
> 
>     11111 44444
>     22222 55555
>     33333 66666
> 
> then Acrobat Reader gives me "11111 22222 33333 44444 55555 66666"
> (which is what I want, because the sentences have stayed together).
> You mean you prefer xpdf in this case because acroread lacks an
> option to preserve the side-by-side formatting?

That's right. Sometimes it's useful to have blocks of text retain their 
formatting, as xpdf does it. Pasting excerpts of formatted tables into 
emails, for example.

As for the image extraction - cool. I had no idea xpdf could grab images 
from PDFs at all. I've always made a high-res JPEG of the PDF with 
GhostScript then cropped it, or more often just placed the PDF straight 
into Quark and positioned it so that only the desired image shows.

Ben New wrote:
 >> I have xpdf 2.01 and there are no copy or paste buttons, menu items,
 >> quickmenu items, or any other indication of editing commands.  Pressing
 >> ctrl+c and ctrl+v does nothing, as does the middle mouse button /
 >> left+right mouse button.  Strange...

Strange indeed - I just checked again, and it works quite fine for me 
using X-window style copy+paste. What are you trying to paste /into/? 
Some apps (Star Office 5.1 comes to mind) don't seem to respect 
middle-click paste. Try opening a terminal and running

cat >/dev/null

then pasting into that - see if it works, because if so it's the 
recieving app that's braindead.

Craig Ringer

_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug


More information about the plug mailing list