mupdf viewer

Word processors, spreadsheets, presentations, translation, etc.
Message
Author
User avatar
Dingo
Posts: 1437
Joined: Tue 11 Dec 2007, 17:48
Location: somewhere at the end of rainbow...
Contact:

#16 Post by Dingo »

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 ... nt-5651555
replace .co.cc with .info to get access to stuff I posted in forum
dropbox 2GB free
OpenOffice for Puppy Linux

User avatar
antiloquax
Posts: 405
Joined: Fri 27 Jan 2012, 09:17

#17 Post by antiloquax »

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. :oops:
My System:Arch-Arm on RPi!
"[url=http://murga-linux.com/puppy/viewtopic.php?t=76049l]RacyPy[/url]" puplet on Toshiba Tecra 8200. PIII, 256 MB RAM.
[url=http://raspberrypy.tumblr.com/]RaspberryPy[/url]: Lobster and I blog about the RPi.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#18 Post by technosaurus »

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.
Last edited by technosaurus on Sun 21 Oct 2012, 22:38, edited 1 time in total.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

zygo
Posts: 243
Joined: Sat 08 Apr 2006, 20:15
Location: UK

How is a mubusy tool invoked in Puppy?

#19 Post by zygo »

technosaurus,

Thanks for these. How is mupdfextract invoked in Puppy?

Code: Select all

# 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.
:(

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#20 Post by technosaurus »

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 [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

zygo
Posts: 243
Joined: Sat 08 Apr 2006, 20:15
Location: UK

symlink mupdfextract to mubusy

#21 Post by zygo »

I see now.

In /bin make a symlink called mupdfextract to mubusy then invoke with

Code: Select all

mupdfextract args
:wink:

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#22 Post by technosaurus »

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/viewto ... 066#636066
could be a nice addon to vlc-gtk too
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Puppyt
Posts: 907
Joined: Fri 09 May 2008, 23:37
Location: Moorooka, Queensland
Contact:

#23 Post by Puppyt »

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/Pu ... -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
[url]http://puppylinux.us/psearch.html[/url]; [url=https://cse.google.com/cse?cx=015995643981050743583%3Aabvzbibgzxo&q=#gsc.tab=0]Google Custom Search[/url]; [url]http://wellminded.net63.net/[/url] others TBA...

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#24 Post by technosaurus »

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. ... 618#601618

and xdotool here:
http://murga-linux.com/puppy/viewtopic. ... 151#639151

TODO
needs support for the command line options in mu_open
-b antialiasing bits 0-8
-p password
-r resolution
beautifications
Attachments
mupdf-gtk-0.2.pet
gtkdialog, gtkdialog4 or gtkdialog1 supported
(1.79 KiB) Downloaded 1124 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#25 Post by technosaurus »

I added some icons and fixed up the layout a bit while making it compatible with gtkdialog1 and latest gtkdialog4.
Attachments
mupdf-gtk.png
(16.57 KiB) Downloaded 2724 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#26 Post by technosaurus »

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 [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#27 Post by technosaurus »

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.
Attachments
uPDF-0.1.pet
(16.09 KiB) Downloaded 1062 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

goingnuts
Posts: 932
Joined: Sun 07 Dec 2008, 13:33
Contact:

#28 Post by goingnuts »

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
Attachments
Puppy Linux Discussion Forum __ View topic - mupdf viewer.pdf.gz
fake gz-file
(104.6 KiB) Downloaded 1044 times

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#29 Post by technosaurus »

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 v8) to name a few
Attachments
uPDF-0.2.pet
(16.19 KiB) Downloaded 1041 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#30 Post by technosaurus »

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
Attachments
updf.png
(13.4 KiB) Downloaded 2453 times
uPDF-0.3.pet
(17.75 KiB) Downloaded 1154 times
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#31 Post by ttuuxxx »

technosaurus wrote:latest svn (post 1.0 release)
would be nice if epdfview had comic book support. comics are basically packaged jpg files.
.cb7 → 7z
.cba → ACE
.cbr → RAR
.cbt → TAR
.cbz → ZIP
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

jplt

#32 Post by jplt »

It would be nice if someone can compile the last version http://mupdf.com/downloads/

HoerMirAuf have done it great thanks to him.

Post Reply