Pdfshuffler .sfs - Edit pdfs :) fantastic!

Word processors, spreadsheets, presentations, translation, etc.
Message
Author
User avatar
craftybear
Posts: 62
Joined: Tue 16 Jun 2009, 10:20
Location: East Coast Oz in God's Country

Re: Pdfshuffler .sfs - Edit pdfs :) fantastic!

#21 Post by craftybear »

puppyite wrote:
disciple wrote:If you have a Puppy frugal install or live CD, put it at the top level of the drive where your save file (.2fs) is, then run "Menu-setup-wizard wizard-configure startup of puppy" and tell it to load this .sfs at boot.
Or do what I did and right click the file in ROX-Filer then choose Mount and Use With load_sfs.
AFAIK load_sfs is unique to 4.2.x series Puppy. I haven't found it in anything before or since. I also believe that Rox_Right_Clicks that lets you use your method is also unique to 4.2.x series Puppy.

For at least those two reasons, among others, I doubt I'll be moving on from 4.2.x series for quite some time. We'll see what 4.4CE brings in the way of ease-of-use features and benefits. 4.3.x doesn't seem to offer much in that direction IMHO.
I CARE ... I just don't care about you!

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#22 Post by disciple »

There is no reason you can't install them in another puppy.
4.3.x wasn't intended to add lots of extra features like 4.2. It does have a lot of bugfixes and updates which are very important to a lot of people, but of course you may already have everything you need...
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#23 Post by disciple »

BTW I think 4.3 includes an updated poppler and glib - perhaps someone could confirm that they didn't need to install those to use it in 4.3...
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
craftybear
Posts: 62
Joined: Tue 16 Jun 2009, 10:20
Location: East Coast Oz in God's Country

#24 Post by craftybear »

disciple wrote:There is no reason you can't install them in another puppy.
4.3.x wasn't intended to add lots of extra features like 4.2. It does have a lot of bugfixes and updates which are very important to a lot of people, but of course you may already have everything you need...
My point was that it is a clear regression not to have included them in the subsequent official release. According to the PPM, Rox_Right_Clicks is only 60kb and load_sfs 238kb. In an updated official release that grew by around 4.5Mb one has to question why these two most useful features were left out and duplicate functions like multiple calculators put back in!

Are you suggesting that retaining 300kb of functionality would have prevented some of the alleged 4.5Mb of "bug fixes" being included? Surely just removing the second window manager provided in 4.2.1 would have made sufficient room to permit the retention of these clearly very worthwhile usability features :?

Of course you can install them from both from dotpet or the PPM. The question begged is why you should even HAVE to. JMHO.
I CARE ... I just don't care about you!

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#25 Post by disciple »

Are you suggesting that retaining 300kb of functionality would have prevented some of the alleged 4.5Mb of "bug fixes" being included?
The bug fixes are real, not just alleged, and some of them could and should have been fixed a long time ago. But there are updates too. The updated gtk for example is a big change that actually makes it possible to use a lot of modern programs.
That wasn't actually what I meant to suggest though. Just that 4.2 and 4.3 were made by different people.
duplicate functions like multiple calculators put back in!
That has essentially no effect on size - xcalc is 23k, ycalc is 37k, cgtkcalc is 66k, and calcoo is 83k. cgtkcalc and calcoo have quite different functions - I'm not sure that I think there is any reason to have xcalc and ycalc (except for xcalc rpn mode), but 60k uncompressed is pretty insignificant.
Surely just removing the second window manager provided in 4.2.1 would have made sufficient room to permit the retention of these clearly very worthwhile usability features
Obviously not, because icewm was removed but the .iso grew in size :(

Unlike at least one bug that got regressed from 4.2 to 4.3 (fixed in 4.31), whether or not leaving things out is a regression is a matter of personal taste, needs and opinion. Obviously Barry isn't particularly interested in them.
Of course you can install them from both from dotpet or the PPM. The question begged is why you should even HAVE to.
Why should you have to install anything from petget or anywhere?

I'm curious as to how load_sfs is 238kb. I assume it is just for either loading .sfs addons on the fly, or loading them with a full install. Either way it is very useful, but is far enough from core, essential functionality that I'd be inclined to leave it out myself if I was building Puppy. We can't include everything - that's what the package manager is for. Someone has to decide what to leave out.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

New version of Pdfshuffler (pdf editor) is out.

#26 Post by disciple »

A new version of Pdfshuffler (pdf editor) is out.
Get it from
http://sourceforge.net/projects/pdfshuffler/
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

Re: New version of Pdfshuffler (pdf editor) is out.

#27 Post by edoc »

disciple wrote:A new version of Pdfshuffler (pdf editor) is out.
Get it from
http://sourceforge.net/projects/pdfshuffler/
Has the Puppy version been upgraded?
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#28 Post by disciple »

No, it's silly to replace a big .sfs just for that.
Dowload the .deb from their site (it is only 24kb) and either install it by clicking on (in Puppy 4.3.x), or open it in pupzip/xarchive or whatever, and extract the actual script /usr/bin/pdfshuffler.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#29 Post by edoc »

I was unclear - I intended to refer to updating the Puppy version of Pdfshuffler - not the Puppy distro.

Clicking on it in 4.31 appeared to go without error but there is nothing in Menu nor does Console find it.

I did Restart X Server, no joy, do I need to Reboot?
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#30 Post by disciple »

not the Puppy distro.
I meant the Pdfshuffler .sfs I made, not the main Puppy .sfs
It is 11MB or something as it includes Python and stuff.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#31 Post by edoc »

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:
"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.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#32 Post by disciple »

Good point, we probably should upload an SFS-4 version, and put the new pdfshuffler in while we're at it.
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?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#33 Post by edoc »

disciple wrote:Good point, we probably should upload an SFS-4 version, and put the new pdfshuffler in while we're at it.
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.
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#34 Post by disciple »

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.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#35 Post by edoc »

You mean I accomplished something useful ... instead of just breaking things?
:roll:
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#36 Post by disciple »

:)
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.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
edoc
Posts: 4729
Joined: Sun 07 Aug 2005, 20:16
Location: Southeast Georgia, USA
Contact:

#37 Post by edoc »

All good now, thanks!

BTW: Could this be linked to a PDF-to-Text converter?
[b]Thanks! David[/b]
[i]Home page: [/i][url]http://nevils-station.com[/url]
[i]Don't google[/i] [b]Search![/b] [url]http://duckduckgo.com[/url]
TahrPup64 & Lighthouse64-b602 & JL64-603

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#38 Post by disciple »

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...
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#39 Post by disciple »

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/conver ... 40418.html

Pdf2html looks like it extracts images and text :) http://freshmeat.net/projects/pdf2html/
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

(Possibly) a small alternative to Pdfshuffler

#40 Post by disciple »

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
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

Post Reply