📄 xpdf.cat
字号:
Menu Pressing the right mouse button will post a popup menu with the following commands: Open... Open a new PDF file via a file requester. Open in new window... Create a new window and open a new PDF file via a file requester. Reload Reload the current PDF file. Note that Xpdf will reload the file automatically (on a page change or redraw) if it has changed since it was last loaded. Save as... Save the current file via a file requester. Rotate counterclockwise Rotate the page 90 degrees counterclockwise. Rotate clockwise Rotate the page 90 degrees clockwise. The two rotate commands are intended primarily for PDF files where the rotation isn't correctly specified 05 December 2002 5xpdf(1) xpdf(1) in the file, but they're also useful if your X server doesn't support font rotation. Close Close the current window. If this is the only open window, the document is closed, but the window is left open (i.e., this menu command won't quit xpdf). Quit Quit xpdf. Text selection Dragging the mouse with the left button held down will highlight an arbitrary rectangle. Any text inside this rectangle will be copied to the X selection buffer. Links Clicking on a hyperlink will jump to the link's destina- tion. A link to another PDF document will make xpdf load that document. A 'launch' link to an executable program will display a dialog, and if you click 'ok', execute the program. URL links call an external command (see the WEB BROWSERS section below). Panning Dragging the mouse with the middle button held down pans the window. Key bindings o Open a new PDF file via a file requester. r Reload the current PDF file. Note that Xpdf will reload the file automatically (on a page change or redraw) if it has changed since it was last loaded. control-L Redraw the current page. control-W Close the current window. f or control-F Find a text string. control-G Find next occurrence. control-P Print. n Move to the next page. Scrolls to the top of the 05 December 2002 6xpdf(1) xpdf(1) page, unless scroll lock is turned on. p Move to the previous page. Scrolls to the top of the page, unless scroll lock is turned on. <Space> or <PageDown> or <Next> Scroll down on the current page; if already at bot- tom, move to next page. <Backspace> or <Delete> or <PageUp> or <Previous> Scroll up on the current page; if already at top, move to previous page. v Move forward along the history path. b Move backward along the history path. <Home> Scroll to top of current page. <End> Scroll to bottom of current page. control-<Home> Scroll to first page of document. control-<End> Scroll to last page of document. arrows Scroll the current page. g Activate the page number text field ("goto page"). 0 Set the zoom factor to zero (72 dpi). + Zoom in (increment the zoom factor by 1). - Zoom out (decrement the zoom factor by 1). z Set the zoom factor to 'page' (fit page to window). w Set the zoom factor to 'width' (fit page width to window). q Quit xpdf.WEB BROWSERS If you want to run xpdf automatically from netscape or mosaic (and probably other browsers) when you click on a link to a PDF file, you need to edit (or create) the files .mime.types and .mailcap in your home directory. In .mime.types add the line: application/pdf pdf In .mailcap add the lines: 05 December 2002 7xpdf(1) xpdf(1) # Use xpdf to view PDF files. application/pdf; xpdf -q %s Make sure that xpdf is on your executable search path. When you click on a URL link in a PDF file, xpdf will exe- cute the command specified by the urlCommand config file option, replacing an occurrence of '%s' with the URL. For example, to call netscape with the URL, add this line to your config file: urlCommand "netscape -remote 'openURL(%s)'"REMOTE SERVER MODE Xpdf can be started in remote server mode by specifying a server name (in addition to the file name and page num- ber). For example: xpdf -remote myServer file.pdf If there is currently no xpdf running in server mode with the name 'myServer', a new xpdf window will be opened. If another command: xpdf -remote myServer another.pdf 9 is issued, a new copy of xpdf will not be started. Instead, the first xpdf (the server) will load another.pdf and display page nine. If the file name is the same: xpdf -remote myServer another.pdf 4 the xpdf server will simply display the specified page. The -raise option tells the server to raise its window; it can be specified with or without a file name and page num- ber. The -quit option tells the server to close its window and exit.EXIT CODES The Xpdf tools use the following exit codes: 0 No error. 1 Error opening a PDF file. 2 Error opening an output file. 3 Error related to PDF permissions. 99 Other error. 05 December 2002 8xpdf(1) xpdf(1)AUTHOR The xpdf software and documentation are copyright 1996-2002 Glyph & Cog, LLC.SEE ALSO pdftops(1), pdftotext(1), pdfinfo(1), pdffonts(1), pdftopbm(1), pdfimages(1), xpdfrc(5) http://www.foolabs.com/xpdf/ 05 December 2002 9
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -