Em 16-04-2013 12:16, Ken Moffat escreveu:
> On Tue, Apr 16, 2013 at 09:13:42PM +0800, Iru Cai wrote:
>>
>> I'm glad to see a mupdf user in the BLFS Support List. I've tried to
>> install mupdf in my LFS system before, but I failed due to dependencies. So
>> I hope it can be written in BLFS book.
> 
>  What was your problem ?  I've just built a DESTDIR install of 1.2,
> and AFAICS the only required dependencies are unzip and xorg.  It
> includes its own versions of freetype, jbig2dec, jpeg, openjpeg and
> zlib.
> 
>  The user interface is a bit too minimal for me (only able to scroll
> up/down a page at a time using the arrow keys - on *some* PDFs page
> up/down works), can't zoom, and filename must be passed to the
> program).  But it does work.
> 
>  To build with the shipped versions, just
> unzip
> make prefix=/usr
> make prefix=/usr [DESTDIR=/wherever] install
> 
>  This will install a static libfitz, as well as the mupdf and mudraw
> progs.  There is a mutool manpage, but no prog.
> 
>  Note that I don't have jbig2dec or openjpeg installed.  The
> thirdparty/README file says that if the subdirectories there are
> empty it will try to use system versions.  So I've cleaned out the
> freetype, jpeg, zlib directories and given it a second build and
> DESTDIR install.  Successfully linked to system freetype, (turbo)
> jpeg, libz.
> 
> ĸen
> 

I did install jbig2dec and openjpeg and then mupdf-1.2, today. I miss
the left column with the page miniatures found in evince, perhaps can
get used to not having them, will see.

I found curious that "Viewing man pages as PDFs" can be done with it
(perhaps also with other pdf readers it could be done):

<https://wiki.archlinux.org/index.php/Man_Page#Viewing_man_pages_as_PDFs>

From the manpage of mupdf (seemed different from what I have found
online from ubuntu):


MOUSE AND KEY BINDINGS
       In  addition to the key bindings described below, the mouse can
also be
       used. Clicking the left mouse button follows links within the PDF
while
       dragging  with  the  left mouse button pans the page. Dragging
with the
       right mouse button selects an area and copies the enclosed text
to  the
       clipboard  buffer.  Using the scroll-wheel while pressing Control
zooms
       in/out, if Shift is pressed on the other hand then the page is
panned.

       L, R   Rotate page left (clockwise) or right (counter-clockwise).

       h, j, k, l
              Scroll page left, down, up, or right.

       +, -   Zoom in or out.

       W, H   Zoom so page exactly fits width or height of window.

       w      Shrinkwrap window to fit the page.

       r      Reload file.
       . pgdn right space
              Go to the next page

       , pgup left b backspace
              Go to the previous page

       <, >   Skip back/forth 10 pages at a time.

       m      Mark page for snap back.

       t      Pop back to the latest mark.

       [0-9]m Save the current page number in the numbered register.

       [0-9]t Go to the page saved in the numbered register.

       123g   Go to page 123.

       /      Search for text.
       n, N   Find the next/previous search result.

       c      Toggle between color and grayscale rendering.

       i      Toggle between normal and inverted color rendering.

       Sending a SIGHUP signal to the mupdf process will also cause the
viewed
       file to be reloaded automatically, for use in e.g. build scripts.


-- 
[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to