logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

mupdf - MuPDF is a lightweight PDF viewer written in portable C

Author

       MuPDF is Copyright 2006–2021 Artifex Software, Inc.

                                                  Jan 12, 2021                                          MUPDF(1)

Description

MuPDF is a document viewer that can show PDF,XPS,EPUB,XHTML,CBZ, and various image formats such as
       PNG,JPEG,GIF, and TIFF.

Environment

BROWSER
              When  mupdf  opens a link it first uses BROWSER to browse the link and falls back to "xdg-open" if
              BROWSER is not defined.

Key Bindings

       Page navigation:

       .pgdnspace
              Go to the next page.

       ,pgupb
              Go to the previous page.

       123g   Go to page 123.

       g,G   Go to the first or last page.

       m      Mark current page for snap back.  Up to 256 pages can be marked.

       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.

       Zooming and rotating:

       +,-   Zoom in or out.

       W,H   Zoom page to exactly fit width/height of window.

       Z      Zoom page to fit either to width or height of window.

       z      Reset zoom level.

       [,]   Rotate page left (counter-clockwise) or right (clockwise).

       w      Shrinkwrap window to fit the page.

       f      Toggles fullscreen mode.

       Panning:

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

       Searching:

       /,?   Search for text forwards or backwards.

       n,N   Find the next/previous search result.

       Miscellaneous:

       <,>   Increase/decrease EPUB/XHTML font size.

       r      Reload file.

       p      Toggle presentation mode.

       P      Displays the current page number temporarily.

       c      Toggle between color and grayscale rendering.

       C      Toggle full-page color tinting.

       I      Toggle between normal and inverted color rendering.

       E      Toggle ICC color mode.

       e      Toggle spot color mode.

       A      Set  bit  of  anti-aliasing  to use. The default is 8.  0 means no anti-aliasing, 9 means no anti-
              aliasing, centre-of-pixel rule, 10 means no anti-aliasing, any-part-of-a-pixel rule.

       P      Show page number and total number of pages.

       S      Save updated document file.

       q      Quit.

Mouse Behavior

Leftmousebuttonclick
              A left click on a hyper link follows the link.  In presentation mode advances to the next page.

       Rightmousebuttonclick
              In presentation mode goes back to the previous page.

       Leftmousebuttondrag
              Pan the page.  Panning beyond the bottom or top edge will go to the next or previous page.

       Rightmousebuttondrag
              Select  text  in  an  area.  On X11, the selected text can be pasted in another application with a
              middle click.  Press Ctrl+C to copy the selected text to the clipboard.  On Windows, the  selected
              text will automatically be copied to the clipboard.

       Scrollwheel
              Pan page up or down.  Does not change page when reaching the bottom or top edge.

       Shift+Scrollwheel
              Pan page left or right.

       Control+Scrollwheel
              Zoom in or out.

Name

       mupdf - MuPDF is a lightweight PDF viewer written in portable C

Options

       A description of each of the supported options is included below.

       -ppassword
              Uses  the  given  password  to open an encrypted PDF file.  The password is tried both as user and
              owner password.

       -rresolution
              Changes the initial zoom level, specified as the resolution in dpi.  The default value is 72.

       -Abits
              Changes the anti-aliasing quality, specified as a number of bits between 0  (off)  and  8  (best).
              The default value is 8.

       -CRRGGBB
              Sets the full-page tint using hexadecimal color syntax.  The default value is FFFAF0.

       -Wwidth
              Page width in points for EPUB layout.

       -Hheight
              Page height in points for EPUB layout.

       -Ssize
              Font size in points for EPUB layout.

       -UCSS-file
              User style sheet for EPUB layout.

See Also

mutool(1).

Signals

SIGHUP 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.

Synopsis

mupdf [options] file[page_number]

See Also