Author |
Message |
Dingo

Joined: 11 Dec 2007 Posts: 1434 Location: somewhere at the end of rainbow...
|
Posted: Fri 25 May 2012, 02:36 Post subject:
|
|
an indipendent developer has added pagemarks ability to mupdf
https://github.com/Asido/MuPDF
however, even successfully compiled from sources, I don't see any pagemarks ability
see issue:
https://github.com/Asido/MuPDF/issues/1#issuecomment-5651555
_________________ replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux
|
Back to top
|
|
 |
antiloquax

Joined: 27 Jan 2012 Posts: 405
|
Posted: Sat 02 Jun 2012, 06:03 Post subject:
|
|
I've just come across this package. I'm going to try to build it on my Raspberry Pi.
Compiled it myself in Slack before I saw this thread.
_________________ My System:Arch-Arm on RPi!
"RacyPy" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
RaspberryPy: Lobster and I blog about the RPi.
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4787 Location: Kingwood, TX
|
Posted: Sun 03 Jun 2012, 00:16 Post subject:
|
|
I was playing with my musl-libc toolchain and wanted to see if it could build a real app - here is the result, a static build with musl, tinyx11, xext and the 3rd party libs in just over 1mb (resource usage is much lower too <6mb RAM) These are the official 1.0 release, not latest git and package without modification (mubusy only has the command line tools and mupdf is separate)
Edit: this version is now included in mupdf-gtk, command line tools are still here.
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
Last edited by technosaurus on Sun 21 Oct 2012, 18:38; edited 1 time in total
|
Back to top
|
|
 |
zygo
Joined: 08 Apr 2006 Posts: 233 Location: UK
|
Posted: Sun 03 Jun 2012, 20:12 Post subject:
How is a mubusy tool invoked in Puppy? |
|
technosaurus,
Thanks for these. How is mupdfextract invoked in Puppy?
Code: |
# mubusy
mubusy: Combined build of mupdf/mudraw tools.
Invoke as one of the following:
mupdfclean, mudraw, mupdfextract, mupdfinfo, mupdfshow.
# mupdfextract
bash: mupdfextract: command not found
# mubusy mupdfextract
mubusy: Combined build of mupdf/mudraw tools.
Invoke as one of the following:
mupdfclean, mudraw, mupdfextract, mupdfinfo, mupdfshow.
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4787 Location: Kingwood, TX
|
Posted: Sun 03 Jun 2012, 21:06 Post subject:
|
|
mubusy mupdfextract args
Iirc, this has changed in git. Dropping the mu- from the internal commands, but I could be mistaken. If I get time I'll supply a patch to work like busybox and include mupdf itself.
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
zygo
Joined: 08 Apr 2006 Posts: 233 Location: UK
|
Posted: Sat 30 Jun 2012, 09:23 Post subject:
symlink mupdfextract to mubusy |
|
I see now.
In /bin make a symlink called mupdfextract to mubusy then invoke with
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4787 Location: Kingwood, TX
|
Posted: Sat 21 Jul 2012, 13:50 Post subject:
|
|
a little movement on the frontend side:
goingnuts has added a swallow widget to gtkdialog1 (a backport of an older version to gtk1 that still builds with gtk2)
http://www.murga-linux.com/puppy/viewtopic.php?p=636066#636066
could be a nice addon to vlc-gtk too
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
Puppyt
Joined: 09 May 2008 Posts: 780 Location: Gatton, Queensland
|
Posted: Sun 16 Sep 2012, 15:46 Post subject:
Subject description: How do I print from mupdf? Works in LH64 |
|
Cheers Dingo and technosaurus, and others, for bringing this into the Puppy fold -
amazing speed and excellent copy'n'paste working in LightHouse 64, I'm using this version, just downloaded: http://www.silverdollarsolutions.com/PuppyLinux/Dingo/mupdf-9.0-lucid.pet. I've been using xpdf and ePDFviewer, but I haven't yet found an equivalent to Foxit Reader (+Wine) that will save highlighting on pdfs - I'm hoping that the modularity of mupdf will enable that feature at some future stage, but until then I guess I'll use xournal as a stop-gap.
+1 vote from me for a simple GUI and printer/CUPS functionality for this beaut little toolset - or could anyone point me to existing solutions in mupdf I haven't spotted yet?
Thanks again
_________________ Search engines for Puppy
http://puppylinux.us/psearch.html; Google Custom Search; others TBA...
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4787 Location: Kingwood, TX
|
Posted: Sat 20 Oct 2012, 22:21 Post subject:
|
|
just made a frontend to mupdf, no icons, just labeled buttons and entry boxes using gtkdialog1 (it could look really nice with gtkdialog1, but I just wanted to get the buttons working for now and didn't want to mess with icon theming, layouts and the like so it looks pretty bad as is, but the framework is there if anyone wants to beautify it, great)
you can get gtkdialog1 here:
http://murga-linux.com/puppy/viewtopic.php?p=601618#601618
and xdotool here:
http://murga-linux.com/puppy/viewtopic.php?p=639151#639151
TODO
needs support for the command line options in mu_open
-b antialiasing bits 0-8
-p password
-r resolution
beautifications
Description |
gtkdialog, gtkdialog4 or gtkdialog1 supported
|

Download |
Filename |
mupdf-gtk-0.2.pet |
Filesize |
1.79 KB |
Downloaded |
904 Time(s) |
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4787 Location: Kingwood, TX
|
Posted: Sun 21 Oct 2012, 18:44 Post subject:
|
|
I added some icons and fixed up the layout a bit while making it compatible with gtkdialog1 and latest gtkdialog4.
Description |
|
Filesize |
16.57 KB |
Viewed |
2598 Time(s) |

|
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4787 Location: Kingwood, TX
|
Posted: Sun 21 Oct 2012, 20:39 Post subject:
|
|
I had to rename 0.4 to uPDF to prevent xdotool from writing to the control window... Will release tomorrow. In the mean time don't use the entry boxes.
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4787 Location: Kingwood, TX
|
Posted: Mon 22 Oct 2012, 05:56 Post subject:
|
|
Since I changed the name, I went ahead and reset the version number to 0.1. searches work now and I fixed a couple of misplaced icons. There was some thought into the gui design - more often we have more horizontal space than vertical and most pdf documents are layed out vertically, so doing the traditional top bar style layout would have taken usable document space, while this layout can use the full screen space.
I don't have any password protected pdfs to test on so if anyone wants that supported, post a small one that I can test.
Description |
|

Download |
Filename |
uPDF-0.1.pet |
Filesize |
16.09 KB |
Downloaded |
837 Time(s) |
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
goingnuts
Joined: 07 Dec 2008 Posts: 904
|
Posted: Wed 24 Oct 2012, 14:25 Post subject:
|
|
Works great! Thanks!
technosaurus wrote: | ..I don't have any password protected pdfs to test on so if anyone wants that supported, post a small one that I can test. |
That would be nice to have if possible - attached protected pdf with password:woofwoof
Description |
fake gz-file
|

Download |
Filename |
Puppy Linux Discussion Forum __ View topic - mupdf viewer.pdf.gz |
Filesize |
104.6 KB |
Downloaded |
834 Time(s) |
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4787 Location: Kingwood, TX
|
Posted: Thu 25 Oct 2012, 01:38 Post subject:
|
|
alright thats about enough for now - password support, activates the pdf window after each command, unified gtkdialog1 and gtkdialog4 functionality ... maybe sometime later make it work with multiple pdfs using:
xwininfo -root -int -all |awk '/\.pdf/{print}'
{replace print with print $1 or print $2 for window id or file name}
not till the next version of mupdf comes out though - with save, print and optional javascript support (using v to name a few
Description |
|

Download |
Filename |
uPDF-0.2.pet |
Filesize |
16.19 KB |
Downloaded |
839 Time(s) |
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4787 Location: Kingwood, TX
|
Posted: Fri 26 Oct 2012, 00:33 Post subject:
|
|
compacted the format (you can resize for larger entry boxes if need be), switched things around a bit, tweaked stuff, added page number support, a couple icons, better gtkdialog version compatibility
Description |
|
Filesize |
13.4 KB |
Viewed |
2335 Time(s) |

|
Description |
|

Download |
Filename |
uPDF-0.3.pet |
Filesize |
17.75 KB |
Downloaded |
934 Time(s) |
_________________ Check out my github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
|