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 Thu 18 Sep 2014, 16:07
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Documents
mupdf viewer
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [30 Posts]   Goto page: Previous 1, 2
Author Message
Dingo


Joined: 11 Dec 2007
Posts: 1417
Location: somewhere at the end of rainbow...

PostPosted: 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
View user's profile Send private message Visit poster's website 
antiloquax


Joined: 27 Jan 2012
Posts: 405

PostPosted: 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. Embarassed

_________________
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
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4351

PostPosted: 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.
mubusy-musl-1.0.tar.gz
Description 
gz

 Download 
Filename  mubusy-musl-1.0.tar.gz 
Filesize  747.4 KB 
Downloaded  485 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101

Last edited by technosaurus on Sun 21 Oct 2012, 18:38; edited 1 time in total
Back to top
View user's profile Send private message 
zygo

Joined: 08 Apr 2006
Posts: 211
Location: UK

PostPosted: 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.

Sad
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4351

PostPosted: 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.

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
zygo

Joined: 08 Apr 2006
Posts: 211
Location: UK

PostPosted: 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

Code:
mupdfextract args

Wink
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4351

PostPosted: 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

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Puppyt

Joined: 09 May 2008
Posts: 567
Location: Gatton, Queensland

PostPosted: 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 Smile

_________________
Toowoomba Linux Community
http://groups.google.com/group/toowoombalinux
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4351

PostPosted: 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
mupdf-gtk-0.2.pet
Description  gtkdialog, gtkdialog4 or gtkdialog1 supported
pet

 Download 
Filename  mupdf-gtk-0.2.pet 
Filesize  1.79 KB 
Downloaded  553 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4351

PostPosted: 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.
mupdf-gtk.png
 Description   
 Filesize   16.57 KB
 Viewed   1232 Time(s)

mupdf-gtk.png

mupdf-gtk-0.3.pet
Description  contains:
latest mupdf-gtk and icons
upx'd gtkdialog1, xdotool and mupdf static builds
Resource usage is still only about 1/5th of epdf
pet

 Download 
Filename  mupdf-gtk-0.3.pet 
Filesize  1.26 MB 
Downloaded  504 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4351

PostPosted: 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.
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4351

PostPosted: 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.
uPDF-0.1.pet
Description 
pet

 Download 
Filename  uPDF-0.1.pet 
Filesize  16.09 KB 
Downloaded  507 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 780

PostPosted: 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
Puppy Linux Discussion Forum __ View topic - mupdf viewer.pdf.gz
Description  fake gz-file
gz

 Download 
Filename  Puppy Linux Discussion Forum __ View topic - mupdf viewer.pdf.gz 
Filesize  104.6 KB 
Downloaded  474 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4351

PostPosted: 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 vCool to name a few
uPDF-0.2.pet
Description 
pet

 Download 
Filename  uPDF-0.2.pet 
Filesize  16.19 KB 
Downloaded  517 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4351

PostPosted: 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
updf.png
 Description   
 Filesize   13.4 KB
 Viewed   1076 Time(s)

updf.png

uPDF-0.3.pet
Description 
pet

 Download 
Filename  uPDF-0.3.pet 
Filesize  17.75 KB 
Downloaded  554 Time(s) 

_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 2 [30 Posts]   Goto page: Previous 1, 2
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.0861s ][ Queries: 13 (0.0110s) ][ GZIP on ]