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 Asks for a filename and writes the current image as
138 Shows the current image using external
140 program in a separate window. This is mostly usefull for
144 Button 3 raises a menu of the
146 to be selected for viewing in any order.
151 control-D exits the program.
153 To go to a specific page, one can type its number followed by enter.
154 Typing left arrow, backspace, or minus displays the previous page.
155 Typing right arrow, space, or enter displays the next page.
156 The up and down arrow pan up and down one half screen height,
157 changing pages when panning off the top or bottom of the page.
162 to draw each page of PostScript
166 It also calls a variety of conversion programs, such as those described in
168 to convert the various raster graphics formats
169 into Inferno bitmap files.
170 Pages are converted ``on the fly,'' as needed.
174 page /sys/src/cmd/gs/examples/tiger.eps
175 Display a color PostScript file.
178 page /usr/inferno/icons/*.bit
179 Browse the Inferno bitmap library.
182 man -t page | page -w
183 Preview this manual in a new window.
190 .B /sys/src/cmd/page.c
192 The interface to the plumber is unsatisfactory. In particular,
193 document references cannot be sent
194 via plumbing messages.