Yes, masterpdfeditor. Whichever pdf viewer comes with Puppy I leave alone and as default pdf viewer for when just reading a pdf is all that's required. But I run masterpdfeditor 4 from /opt, with a menu entry and available via Right-Click. Note, 4 not the newer 5. See wiak's post here, https://oldforum.puppylinux.com/viewtop ... 0#p1061130.
You can obtain a version for your OS from the links on this post. https://www.linuxuprising.com/2019/04/d ... linux.html. Download the 'tar.gz' version and extract it. Rename the extracted folder to just "masterpdfeditor4" --no dashes. Just makes life easier. See below.
It has 4 qt-lib dependencies:
ibQtSvg.so.4 => not found
libQtGui.so.4 => not found
libQtNetwork.so.4 => not found
libQtCore.so.4 => not found
[Sorry, these combined exceed the Forum's attachment space restriction. And you'll probably want to use a binary compatible version anyway].
Go to https://pkgs.org/, use its Search box and follow the links to download them from the repository of an OS binary compatible with your Puppy [or older if the binary compatible OS has 'upgraded'
to QT5']. Install them*.
Except for those dependencies, masterpdfeditor-4 is a portable*. You can move its folder anywhere: two convenient places being in /opt if you intend to run a Puppy without a SaveFile/Folder; otherwise /mnt/home. To start the application, just Left-Click the binary conveniently named masterpdfeditor4.
The attached will create a menu entry. It's structured to find the masterpdf4 folder in /opt.
If you prefer the folder elsewhere, a couple of edits are necessary. The bash script which starts it is in /usr/bin and reads:
#!/bin/sh
exec /opt/masterpdfeditor4/masterpdfeditor4 "$@"
Change the path from /opt to wherever the masterpdfeditor4 folder is located.
The desktop file in /usr/share/application sets up a 'work directory' within the masterpdfeditor4 folder itself. Open /usr/share/applications/masterpdfeditor4.desktop in a text editor and change:
Path=/opt/masterpdfeditor4/
to = /ACTUAL-PATH/masterpdfeditor4/
To add it to your Right-Click menu, Right-Click a pdf document, Select Customize Menu, and drag the script from /usr/bin into the window which opens.
-=-=-=-=--=--=
* For those interested, a fully portablized version can be obtained by using fredx181's technique. Place the required libs in a folder named "extralibs" located within the masterpdfeditor4 folder. Create a bash-script/wrapper, perhaps named mpdf, with the following text:
#!/bin/sh
#LAUNCHDIR="$(cd "$(dirname "$0")"; pwd)"
LAUNCHDIR="$(dirname "$(readlink -f "$0")")"
# All text below being on one line- suggest cut & paste into text-editor
LD_LIBRARY_PATH=$LAUNCHDIR/:$LAUNCHDIR/extralibs${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} "$LAUNCHDIR/masterpdfeditor4" "$@"
If you do this, edit /usr/bin/master-pdf to call the script rather than the binary.
p.s. IIRC, the first time you try to run masterpdfeditor4 it may appear that nothing is happening. I think it's configuring its work-folder. At any rate, Left-Clicking the binary a 2nd time starts it.