1MUPDF(1) General Commands Manual MUPDF(1)
2
3
4
6 mupdf - MuPDF is a lightweight PDF viewer written in portable C
7
8
10 mupdf [options] file[page_number]
11
12
14 MuPDF is a document viewer that can show PDF, XPS, EPUB, XHTML, CBZ,
15 and various image formats such as PNG, JPEG, GIF, and TIFF.
16
17
19 A description of each of the supported options is included below.
20
21
22 -p password
23 Uses the given password to open an encrypted PDF file. The
24 password is tried both as user and owner password.
25
26 -r resolution
27 Changes the initial zoom level, specified as the resolution in
28 dpi. The default value is 72.
29
30 -A bits
31 Changes the anti-aliasing quality, specified as a number of bits
32 between 0 (off) and 8 (best). The default value is 8.
33
34 -C RRGGBB
35 Sets the full-page tint using hexadecimal color syntax. The
36 default value is FFFAF0.
37
38 -W width
39 Page width in points for EPUB layout.
40
41 -H height
42 Page height in points for EPUB layout.
43
44 -S size
45 Font size in points for EPUB layout.
46
47 -U CSS-file
48 User style sheet for EPUB layout.
49
50
52 Left mouse button click
53 A left click on a hyper link follows the link. In presentation
54 mode advances to the next page.
55
56 Right mouse button click
57 In presentation mode goes back to the previous page.
58
59 Left mouse button drag
60 Pan the page. Panning beyond the bottom or top edge will go to
61 the next or previous page.
62
63 Right mouse button drag
64 Select text in an area. On X11, the selected text can be pasted
65 in another application with a middle click. Press Ctrl+C to
66 copy the selected text to the clipboard. On Windows, the
67 selected text will automatically be copied to the clipboard.
68
69 Scroll wheel
70 Pan page up or down. Does not change page when reaching the
71 bottom or top edge.
72
73 Shift + Scroll wheel
74 Pan page left or right.
75
76 Control + Scroll wheel
77 Zoom in or out.
78
79
81 Page navigation:
82
83 . pgdn space
84 Go to the next page.
85
86 , pgup b
87 Go to the previous page.
88
89 123g Go to page 123.
90
91 g, G Go to the first or last page.
92
93 m Mark current page for snap back. Up to 256 pages can be marked.
94
95 t Pop back to the latest mark.
96
97 [0–9]m Save the current page number in the numbered register.
98
99 [0–9]t Go to the page saved in the numbered register.
100
101
102 Zooming and rotating:
103
104 +, - Zoom in or out.
105
106 W, H Zoom page to exactly fit width/height of window.
107
108 Z Zoom page to fit either to width or height of window.
109
110 z Reset zoom level.
111
112 [, ] Rotate page left (counter-clockwise) or right (clockwise).
113
114 w Shrinkwrap window to fit the page.
115
116 f Toggles fullscreen mode.
117
118
119 Panning:
120
121 h, left, j, k, l, right
122 Pan page left, down, up, or right.
123
124
125 Searching:
126
127 /, ? Search for text forwards or backwards.
128
129 n, N Find the next/previous search result.
130
131
132 Miscellaneous:
133
134 <, > Increase/decrease EPUB/XHTML font size.
135
136 r Reload file.
137
138 p Toggle presentation mode.
139
140 c Toggle between color and grayscale rendering.
141
142 C Toggle full-page color tinting.
143
144 I Toggle between normal and inverted color rendering.
145
146 E Toggle ICC color mode.
147
148 e Toggle spot color mode.
149
150 A Set bit of anti-aliasing to use. The default is 8. 0 means no
151 anti-aliasing, 9 means no anti-aliasing, centre-of-pixel rule,
152 10 means no anti-aliasing, any-part-of-a-pixel rule.
153
154 P Show page number and total number of pages.
155
156 S Save updated document file.
157
158 q Quit.
159
160
162 SIGHUP Sending a SIGHUP signal to the mupdf process will also cause the
163 viewed file to be reloaded automatically, for use in e.g. build
164 scripts.
165
166
168 mutool(1).
169
170
172 MuPDF is Copyright 2006–2021 Artifex Software, Inc.
173
174
175
176 Jan 12, 2021 MUPDF(1)