?? xpdf.1
字號:
.\" Copyright 1996-2007 Glyph & Cog, LLC.TH xpdf 1 "27 February 2007".SH NAMExpdf \- Portable Document Format (PDF) file viewer for X (version 3.02).SH SYNOPSIS.B xpdf[options].RI [ PDF-file.RI [ page " | +" dest ]].SH DESCRIPTION.B Xpdfis a viewer for Portable Document Format (PDF) files. (These are alsosometimes also called \'Acrobat' files, from the name of Adobe's PDFsoftware.) Xpdf runs under the X Window System on UNIX, VMS, andOS/2..PPTo run xpdf, simply type:.PP.RSxpdf file.pdf.RE.PPwhere.I file.pdfis your PDF file. The file name can be followed by a numberspecifying the page which should be displayed first, e.g.:.PP.RSxpdf file.pdf 18.RE.PPYou can also give a named destination, prefixed with \'+' in place ofthe page number. (This is only useful with PDF files that providenamed destination targets.).PPYou can also start xpdf without opening any files:.PP.RSxpdf.RE.SH CONFIGURATION FILEXpdf reads a configuration file at startup. It first tries to findthe user's private config file, ~/.xpdfrc. If that doesn't exist, itlooks for a system-wide config file, typically /usr/local/etc/xpdfrc(but this location can be changed when xpdf is built). See the.BR xpdfrc (5)man page for details..SH OPTIONSMany of the following options can be set with configuration filecommands or X resources. These are listed in square brackets with thedescription of the corresponding command line option..TP.BI \-g " geometry"Set the initial window geometry..RB ( \-geometryis equivalent.).RB "[X resource: " xpdf.geometry ].TP.BI \-title " title"Set the window title. By default, the title will be "xpdf: foo.pdf"..RB "[X resource: " xpdf.title ].TP.B \-cmapInstall a private colormap. This is ignored on TrueColor visuals..RB "[X resource: " xpdf.installCmap ].TP.BI \-rgb " number"Set the size of largest RGB cube xpdf will try to allocate. Thedefault is 5 (for a 5x5x5 cube); set to a smaller number to conservecolor table entries. This is ignored with private colormaps and onTrueColor visuals..RB "[X resource: " xpdf.rgbCubeSize ].TP.B \-rvSet reverse video mode. This reverses the colors of everything exceptimages. It may not always produce great results for PDF files whichdo weird things with color. This also causes the paper color todefault to black..RB "[X resource: " xpdf.reverseVideo ].TP.BI \-papercolor " color"Set the "paper color", i.e., the background of the page display. Thiswill not work too well with PDF files that do things like filling inwhite behind the text..RB "[X resource: " xpdf.paperColor ].TP.BI \-mattecolor " color"Set the matte color, i.e., the color used for background outside theactual page area. (There is a separate setting,xpdf.fullScreenMatteColor, for full-screen mode.).RB "[X resource: " xpdf.matteColor ].TP.BI \-z " zoom"Set the initial zoom factor. A number specifies a zoom percentage,where 100 means 72 dpi.You may also specify \'page', to fit the pageto the window size, or \'width', to fit the page width to the windowwidth..RB "[config file: " initialZoom "; or X resource: " xpdf.initialZoom ].TP.B \-contStart in continuous view mode, i.e., with one vertical scroll bar forthe whole document..RB "[config file: " continuousView ].TP.BI \-t1lib " yes | no"Enable or disable t1lib (a Type 1 font rasterizer). This defaults to"yes"..RB "[config file: " enableT1lib ].TP.BI \-freetype " yes | no"Enable or disable FreeType (a TrueType / Type 1 font rasterizer).This defaults to "yes"..RB "[config file: " enableFreeType ].TP.BI \-aa " yes | no"Enable or disable font anti-aliasing. This defaults to "yes"..RB "[config file: " antialias ].TP.BI \-aaVector " yes | no"Enable or disable vector anti-aliasing. This defaults to "yes"..RB "[config file: " vectorAntialias ].TP.BI \-ps " PS-file"Set the default file name for PostScript output (i.e., the name whichwill appear in the print dialog). This can also be of the form\'|command' to pipe the PostScript through a command..RB "[config file: " psFile ].TP.BI \-paper " size"Set the paper size to one of "letter", "legal", "A4", or "A3". Thiscan also be set to "match", which will set the paper size to match thesize specified in the PDF file..RB "[config file: " psPaperSize ].TP.BI \-paperw " size"Set the paper width, in points..RB "[config file: " psPaperSize ].TP.BI \-paperh " size"Set the paper height, in points..RB "[config file: " psPaperSize ].TP.B \-level1Generate Level 1 PostScript. The resulting PostScript files will besignificantly larger (if they contain images), but will print on Level1 printers. This also converts all images to black and white..RB "[config file: " psLevel ].TP.BI \-enc " encoding-name"Sets the encoding to use for text output. The.I encoding\-namemust be defined with the unicodeMap command (see.BR xpdfrc (5)).This defaults to "Latin1" (which is a built-in encoding)..RB "[config file: " textEncoding ].TP.BI \-eol " unix | dos | mac"Sets the end-of-line convention to use for text output..RB "[config file: " textEOL ].TP.BI \-opw " password"Specify the owner password for the PDF file. Providing this willbypass all security restrictions..TP.BI \-upw " password"Specify the user password for the PDF file..TP.B \-fullscreenOpen xpdf in full-screen mode, useful for presentations..TP.BI \-remote " name"Start/contact xpdf remote server with specified name (see the.B "REMOTE SERVER MODE"section below)..TP.BI \-exec " command"Execute a command (see the.B COMMANDSsection below) in an xpdf remote server window (with -remote only)..TP.B \-reloadReload xpdf remote server window (with -remote only)..TP.B \-raiseRaise xpdf remote server window (with -remote only)..TP.B \-quitKill xpdf remote server (with -remote only)..TP.B \-cmdPrint commands as they're executed (useful for debugging)..RB "[config file: " printCommands ].TP.B \-qDon't print any messages or errors..RB "[config file: " errQuiet ].TP.BI \-cfg " config-file"Read.I config-filein place of ~/.xpdfrc or the system-wide config file..TP.B \-vPrint copyright and version information..TP.B \-hPrint usage information..RB ( \-helpand.B \-\-helpare equivalent.).PPSeveral other standard X options and resources will work as expected:.TP.BI \-display " display".RB "[X resource: " xpdf.display ].TP.BI \-fg " color".RB ( \-foregroundis equivalent.).RB "[X resource: " xpdf*Foreground ].TP.BI \-bg " color".RB ( \-backgroundis equivalent.).RB "[X resource: " xpdf*Background ].TP.BI \-font " font".RB ( \-fnis equivalent.).RB "[X resource: " xpdf*fontList ].PPThe color and font options only affect the user interface elements,not the PDF display (the \'paper')..PPThe following X resources do not have command line option equivalents:.TP.B xpdf.toolTipEnableEnables (if set to true) or disables (if set to false) the tool-tipson the toolbar buttons..TP.B xpdf.fullScreenMatteColorSets the matte color to be used in full-screen mode. The defaultsetting is "black"..SH CONTROLS.SS On-screen controls, at the bottom of the xpdf window.TP.B "left/right arrow buttons"Move to the previous/next page..TP.B "double left/right arrow buttons"Move backward or forward by ten pages..TP.B "dashed left/right arrow buttons"Move backward or forward along the history path..TP.B "\'Page' entry box"Move to a specific page number. Click in the box to activate it, typethe page number, then hit return..TP.B "zoom popup menu"Change the zoom factor (see the description of the -z option above)..TP.B "binoculars button"Find a text string..TP.B "print button"Bring up a dialog for generating a PostScript file. The dialog hasoptions to set the pages to be printed and the PostScript file name.The file name can be \'-' for stdout or \'|command' to pipe thePostScript through a command, e.g., \'|lpr'..TP.B "\'?' button"Bring up the \'about xpdf' window..TP.B "link info"The space between the \'?' and \'Quit' buttons is used to show the URLor external file name when the mouse is over a link..TP.B "\'Quit' button"Quit xpdf..PP.SS MenuPressing the right mouse button will post a popup menu with thefollowing commands:.TP.B "Open..."Open a new PDF file via a file requester..TP.B "Open in new window..."Create a new window and open a new PDF file via a file requester..TP.B "Reload"Reload the current PDF file. Note that Xpdf will reload the fileautomatically (on a page change or redraw) if it has changed since itwas last loaded..TP.B "Save as..."Save the current file via a file requester..TP.B "Continuous view"Toggles between single page and continuous view modes..TP.B "Rotate counterclockwise"Rotate the page 90 degrees counterclockwise..TP.B "Rotate clockwise"Rotate the page 90 degrees clockwise. The two rotate commands areintended primarily for PDF files where the rotation isn't correctlyspecified in the file..TP.B "Zoom to selection"Zoom in to the currently selected rectangle..TP.B "Close"Close the current window. If this is the only open window, thedocument is closed, but the window is left open (i.e., this menucommand won't quit xpdf)..TP.B "Quit"Quit xpdf..PP.SS OutlineIf the PDF contains an outline (a.k.a., bookmarks), there will be anoutline pane on the left side of the window. The width of the outlinepane is adjustable with a vertical split bar via the knob near itsbottom end..PP.SS Text selectionDragging the mouse with the left button held down will highlight anarbitrary rectangle. Any text inside this rectangle will be copied tothe X selection buffer..PP.SS LinksClicking on a hyperlink will jump to the link's destination. A linkto another PDF document will make xpdf load that document. A\'launch' link to an executable program will display a dialog, and ifyou click \'ok', execute the program. URL links call an externalcommand (see the.B WEB BROWSERSsection below)..PP.SS PanningDragging the mouse with the middle button held down pans the window..PP.SS Key bindings.TP.B oOpen a new PDF file via a file requester..TP.B rReload the current PDF file. Note that Xpdf will reload the fileautomatically (on a page change or redraw) if it has changed since itwas last loaded..TP.B control-LRedraw the current page..TP.B control-WClose the current window..TP.B f or control-FFind a text string..TP.B control-GFind next occurrence..TP.B control-PPrint..TP.B nMove to the next page. Scrolls to the top of the page, unless scrolllock is turned on..TP.B pMove to the previous page. Scrolls to the top of the page, unlessscroll lock is turned on..TP.BR <Space> " or " <PageDown> " or " <Next>Scroll down on the current page; if already at bottom, move to nextpage..TP.BR <Backspace> " or " <Delete> " or " <PageUp> " or " <Previous>Scroll up on the current page; if already at top, move to previouspage..TP.B vMove forward along the history path..TP.B bMove backward along the history path..TP.B <Home>Scroll to top of current page..TP.B <End>Scroll to bottom of current page..TP.B control-<Home>Scroll to first page of document..TP.B control-<End>Scroll to last page of document..TP.B arrowsScroll the current page..TP.B gActivate the page number text field ("goto page")..TP.B 0Set the zoom factor to 125%..TP.B +Zoom in (increment the zoom factor by 1)..TP.B -Zoom out (decrement the zoom factor by 1)..TP.B zSet the zoom factor to 'page' (fit page to window)..TP.B wSet the zoom factor to 'width' (fit page width to window)..TP.B alt-FToggle full-screen mode..TP.B qQuit xpdf..SH "WEB BROWSERS"If you want to run xpdf automatically from netscape or mosaic (and
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -