Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 30 Sep 2014, 02:21
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
Pdfshuffler .sfs - Edit pdfs :) fantastic!
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 5 [68 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Author Message
edoc


Joined: 07 Aug 2005
Posts: 4376
Location: Southeast Georgia, USA

PostPosted: Sat 30 Jan 2010, 10:39    Post subject:  

OK, downloaded and moved the pdfshuffler.sfs to /mnt/home then went to add it to the "Bootmanager configure bootup" menu.

I received this error in a red pop-up:

Quote:
"Notice: The following SFS files located in directory /mnt/home are the wrong version for the current Linux kernel: pdfshuffler.sfs

"The above files will be ignored.

"The kernel requires squashsfs, version 4, SFS files.

"Note, there is a SFS-version-converter in the utility menu."


I ran the converter and then ...

Note 1: I received the same error but the file now showed in the left column of the "Bootmanager configure bootup" menu.

Note 2: I renamed pdfshuffler-sfs4.sfs TO pdfshuffler-431-sfs4.sfs

Note 3: I also renamed the original pdfshuffler.sfs TO pdfshuffler-old-sfs (I do not know if that was necessary.)

pdfshuffler DOES run from Console but does not create a entry in the Desktop Menu under Documents or any other category.

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6438
Location: Auckland, New Zealand

PostPosted: Sat 30 Jan 2010, 18:33    Post subject:  

Good point, we probably should upload an SFS-4 version, and put the new pdfshuffler in while we're at it.
Quote:
pdfshuffler DOES run from Console but does not create a entry in the Desktop Menu under Documents or any other category.

It does for me in 4.1.1 and 4.3.1. What Puppy/Puplet version are you using? Have you tried running fixmenus and restarting JWM again?

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4376
Location: Southeast Georgia, USA

PostPosted: Sat 30 Jan 2010, 19:06    Post subject:  

disciple wrote:
Good point, we probably should upload an SFS-4 version, and put the new pdfshuffler in while we're at it.
Quote:
pdfshuffler DOES run from Console but does not create a entry in the Desktop Menu under Documents or any other category.

It does for me in 4.1.1 and 4.3.1. What Puppy/Puplet version are you using? Have you tried running fixmenus and restarting JWM again?


Just did both, per your suggestion, no joy.

I am running 4.3.1 on this laptop.

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6438
Location: Auckland, New Zealand

PostPosted: Sat 30 Jan 2010, 19:27    Post subject:  

Ah, sorry.
You must have installed the .deb over the top, like I suggested.
It seems I had to modify /usr/share/applications/pdfshuffler.desktop to replace the "Office" category with "X-DocumentUtility" to make it show up in Puppy's menu. Thanks for the feedback - I'd better amend my post.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4376
Location: Southeast Georgia, USA

PostPosted: Sat 30 Jan 2010, 19:33    Post subject:  

You mean I accomplished something useful ... instead of just breaking things?
Rolling Eyes

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6438
Location: Auckland, New Zealand

PostPosted: Sat 30 Jan 2010, 19:53    Post subject:  

Smile
I've put a .pet in the first post.
For future reference, I also had to add .png onto the icon name in the .desktop file, for the icon to show up in JWM.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4376
Location: Southeast Georgia, USA

PostPosted: Sat 30 Jan 2010, 20:46    Post subject:  

All good now, thanks!

BTW: Could this be linked to a PDF-to-Text converter?

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6438
Location: Auckland, New Zealand

PostPosted: Sat 30 Jan 2010, 22:35    Post subject:  

Do you just mean to put a link in this thread? Or add a feature to Pdfshuffler? Personally I think it would be better to keep the two tasks separate as they are quite distinct. That's the *nix way of doing things, after all Wink

I think there are quite a number of different tools for converting pdf to text or xml or whatever. It is the aspect of working with PDFs that I'm most unfamiliar with; I probably haven't looked at most of the alternatives, and it is a long time since I looked at any of them.
If you want to look at it, here they're doing it using PyPdf (Pdfshuffler's backend) http://code.activestate.com/recipes/511465/.
They of course mention pdftotxt, a tool that comes with the xpdf viewer, which is a much better solution if you don't want to install python etc. Pdfedit's extract text feature (well, more than that actually) is based on the xpdf code but with some improvements, and a few months back in the mailing list they sorted out their code so you could compile pdftotxt from it... i.e. so you can get a pdf2txt with their improvements. This would definitely be worth building for Puppy... I can't remember if the discussion was before the latest pdfedit version was released though.

I remember using a pdf2xml from somewhere, which seemed quite good I think...

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6438
Location: Auckland, New Zealand

PostPosted: Sat 30 Jan 2010, 22:56    Post subject:  

Did I mention the pdftotxt from xpdf should be available on the forum (and probably also in petget) in an xpdf-tools package (or something like that)?

Aha - pdf2xml is also based on xpdf http://sourceforge.net/projects/pdf2xml/

pdf2txt - just a script http://comp.eonworks.com/scripts/convert_pdf_to_text-20040418.html

Pdf2html looks like it extracts images and text Smile http://freshmeat.net/projects/pdf2html/

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6438
Location: Auckland, New Zealand

PostPosted: Sat 30 Jan 2010, 22:59    Post subject: (Possibly) a small alternative to Pdfshuffler  

BTW when Puppy's gtk and stuff gets updated there's an alternative to Pdfshuffler (without the Python dependencies, and written in vala) that's worth trying http://freshmeat.net/projects/final-page
_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
edoc


Joined: 07 Aug 2005
Posts: 4376
Location: Southeast Georgia, USA

PostPosted: Sun 31 Jan 2010, 15:12    Post subject:  

disciple wrote:

pdf2txt - just a script http://comp.eonworks.com/scripts/convert_pdf_to_text-20040418.html


Would it be really hard to create an icon onto which a .pdf file could be dragged & dropped to convert the whole thing to text?

Would a script like this just ignore charts and graphs and images?

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
edoc


Joined: 07 Aug 2005
Posts: 4376
Location: Southeast Georgia, USA

PostPosted: Sun 31 Jan 2010, 16:13    Post subject:  

disciple wrote:

Pdf2html looks like it extracts images and text Smile http://freshmeat.net/projects/pdf2html/


Looking at the URL for this one it appears to have been abandoned 9 years ago.

Was it not functioning correctly and not deemed worth the effort to pursue or was it replaced by a different utility?

_________________
Thanks! David
Home page: http://nevils-station.com
Don't google Search! http://duckduckgo.com
Puppy upup Raring 3992 & Lighthouse64-b602
Back to top
View user's profile Send private message Visit poster's website 
disciple

Joined: 20 May 2006
Posts: 6438
Location: Auckland, New Zealand

PostPosted: Sun 31 Jan 2010, 19:08    Post subject:  

Quote:
Would it be really hard to create an icon onto which a .pdf file could be dragged & dropped to convert the whole thing to text?

No, it would be really easy of course. It would be harder to add an icon to pdfshuffler to do it, but I'm still not sure if that's what you meant.
It would be worth comparing the output produced by the different alternatives though, as I think you'll find some are significantly better than others.

Quote:
Would a script like this just ignore charts and graphs and images?

AFAIK everything but pdf2html would ignore images, although I'm guessing most of them would pick up the text from charts, which wouldn't be pretty.
I used to use a pdf2html on Windows, which produced relatively good results - I'm not sure if it picked up images or if it is the same one as this pdf2html. There are also all sorts of other options, like online converters and sending a pdf to a friend with Adobe Acrobat to use the built-in .doc export (which sometimes produces corrupt .docs that freeze M$ Word Smile ). Corel Wordperfect does PDF import these days, and there is also a plugin for Openoffice that does it, although I think it just imports to OOo Draw.

Quote:
Was it not functioning correctly and not deemed worth the effort to pursue or was it replaced by a different utility?

I've got no idea - give it a try Smile

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Frank Cox

Joined: 01 Nov 2009
Posts: 381

PostPosted: Tue 01 Jun 2010, 16:54    Post subject: Thanks  

I installed and converted the pdfshuffler squash file and converted it to 4 for Puppy 4.31 and everything worked well including the menu listing.

It is a cool and useful program but unless I missed something it cannot edit the files , only shuffle them, is that correct? It is presented as a replacement for pdfeditor .

I am using a program called ImageScan which works fine but only seems to be able to produce single page pdfs . Are you familiar with a Puppy friendly scanner software that will create multi page pdfs?

Also is there a pet for pdfeditor or another utility that will edit the files themselves?
Back to top
View user's profile Send private message 
Frank Cox

Joined: 01 Nov 2009
Posts: 381

PostPosted: Tue 01 Jun 2010, 17:07    Post subject: Thanks  

I installed and converted the pdfshuffler squash file and converted it to 4 for Puppy 4.31 and everything worked well including the menu listing.

It is a cool and useful program but unless I missed something it cannot edit the files , only shuffle them, is that correct? It is presented as a replacement for pdfeditor .

I am using a program called ImageScan which works fine but only seems to be able to produce single page pdfs . Are you familiar with a Puppy friendly scanner software that will create multi page pdfs?

Also is there a pet for pdfeditor or another utility that will edit the files themselves?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 5 [68 Posts]   Goto page: Previous 1, 2, 3, 4, 5 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0864s ][ Queries: 13 (0.0065s) ][ GZIP on ]