5 image, graphic, PostScript, PDF, and
22 is a general purpose document viewer.
23 It can be used to display the individual pages
31 device independent output
36 output is simply converted to PostScript in order to be viewed.
37 It can also be used to view any number of
44 file, an Inferno bitmap file, or other common format).
48 In the absence of named files,
50 reads one from standard input.
54 runs in the window in which it is started
55 and leaves the window unchanged.
60 to grow the window if necessary
61 to display the page being viewed.
66 to create a new window for itself.
67 The newly created window will grow as under the
70 If being used to display
72 only one file may be specified on the command line.
76 option sets the resolution for PostScript and PDF
77 files, in pixels per inch.
78 The default is 100 ppi.
81 option reverses the order in which pages are displayed.
83 When viewing images with
90 for more images to display.
95 to not load any graphics files nor to read
96 from standard input but rather to listen
97 for ones to load from the plumbing channel.
99 Pressing and holding button 1 permits panning about the page.
101 Button 2 raises a menu of operations on the current image or the
102 entire set. The image transformations are non-destructive and are
103 valid only for the currently displayed image. They are lost as soon
104 as another image is displayed.
105 The button 2 menu operations are:
109 Restores the image to the original. All modifications are lost.
112 controls magnification.
115 Resizes the image so that it fits in the current window.
118 Rotates the image 90 degrees clockwise
121 Toggles whether images are displayed upside-down.
124 Displays the next page.
127 Displays the previous page.
130 Displays the current image in a new page window.
131 Useful for selecting important pages from large documents.
134 Button 3 raises a menu of the
136 to be selected for viewing in any order.
141 control-D exits the program.
143 To go to a specific page, one can type its number followed by enter.
144 Typing left arrow, backspace, or minus displays the previous page.
145 Typing right arrow, space, or enter displays the next page.
146 The up and down arrow pan up and down one half screen height,
147 changing pages when panning off the top or bottom of the page.
152 to draw each page of PostScript
156 It also calls a variety of conversion programs, such as those described in
158 to convert the various raster graphics formats
159 into Inferno bitmap files.
160 Pages are converted ``on the fly,'' as needed.
164 page /sys/src/cmd/gs/examples/tiger.eps
165 Display a color PostScript file.
168 page /usr/inferno/icons/*.bit
169 Browse the Inferno bitmap library.
172 man -t page | page -w
173 Preview this manual in a new window.
180 .B /sys/src/cmd/page.c
182 The interface to the plumber is unsatisfactory. In particular,
183 document references cannot be sent
184 via plumbing messages.