home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / p / pdf / xpdf_docs / xpdf < prev   
Encoding:
Text File  |  1996-11-13  |  8.2 KB  |  257 lines

  1. ! Generated automatically by mantohlp
  2. 1 xpdf
  3.  
  4.        xpdf  -  Portable  Document Format (PDF) file viewer for X
  5.        (version 0.6)
  6.  
  7.        xpdf [options] [PDF-file [page]]
  8.  
  9.        Xpdf is a viewer for Portable Document Format (PDF) files.
  10.        (These  are  also  sometimes  also called 'Acrobat' files,
  11.        from the name of Adobe's PDF software.)  Xpdf  runs  under
  12.        UNIX or VMS and the X Window System.
  13.  
  14.        To run xpdf, simply type:
  15.  
  16.               xpdf file.pdf
  17.  
  18.        where  file.pdf  is  your  PDF file.  The file name can be
  19.        followed by a number specifying the page which  should  be
  20.        displayed first, e.g.:
  21.  
  22.               xpdf file.pdf 18
  23.  
  24. 2 OPTIONS
  25.  
  26.        X  resources are listed in square brackets with the corre-
  27.        sponding option.
  28.  
  29.        -err   Send error messages to /dev/tty instead  of  stderr
  30.               (useful  if  xpdf  is started from another applica-
  31.               tion, e.g., netscape which  otherwise  pops  up  an
  32.               annoying little window for every error).
  33.  
  34.        -z number
  35.               Set  the initial zoom factor (-5 .. 5).  [xpdf.ini-
  36.               tialZoom]
  37.  
  38.        -g geometry
  39.               Set the initial  window  geometry.   (-geometry  is
  40.               equivalent.)  [xpdf.geometry]
  41.  
  42.        -remote name
  43.               Start/contact  xpdf  remote  server  with specified
  44.               name (see the REMOTE SERVER MODE section below).
  45.  
  46.        -raise Raise  xpdf  remote  server  window  (with  -remote
  47.               only).
  48.  
  49.        -quit  Kill xpdf remote server (with -remote only).
  50.  
  51.        -rgb number
  52.               Set  the  size of largest RGB cube xpdf will try to
  53.               allocate.  The default is 5 (for a 5x5x5 cube); set
  54.               to   a  smaller  number  to  conserve  color  table
  55.               entries.
  56.  
  57.        -ps PS-file
  58.               Set the default file name  for  PostScript  output.
  59.               This can also be of the form '|command' to pipe the
  60.               PostScript through a command.  [xpdf.psFile]
  61.  
  62.        -cmd   Print commands  as  they're  executed  (useful  for
  63.               debugging).
  64.  
  65.        -h     Print usage information.  (-help is equivalent.)
  66.  
  67.        Several  other  standard X options and resources will work
  68.        as expected:
  69.  
  70.        -display display
  71.               [xpdf.display]
  72.  
  73.        -fg color
  74.               (-foreground is equivalent.)  [xpdf.foreground]
  75.  
  76.        -bg color
  77.               (-background is equivalent.)  [xpdf.background]
  78.  
  79.        -font font
  80.               (-fn is equivalent.)  [xpdf.font]
  81.  
  82.        The color and font options only affect the user  interface
  83.        elements, not the PDF display (the 'paper').
  84.  
  85. 2 CONTROLS
  86.  
  87.    On-screen controls, at the bottom of the xpdf window
  88.        left/right arrow buttons
  89.               Move to the previous/next page.
  90.  
  91.        double left/right arrow buttons
  92.               Move backward or forward by ten pages.
  93.  
  94.        'Page' entry box
  95.               Move  to  a specific page number.  Click in the box
  96.               to activate it, type  the  page  number,  then  hit
  97.               return.
  98.  
  99.        magnifying glass buttons
  100.               Increase and decrease the resolution, i.e., zoom in
  101.               and zoom out.
  102.  
  103.        print button
  104.               Bring up a dialog for generating a PostScript file.
  105.               The  dialog  has  options  to  set  the pages to be
  106.               printed and the PostScript  file  name.   The  file
  107.               name  can  be  '-' for stdout or '|command' to pipe
  108.               the PostScript through a command, e.g., '|lpr'.
  109.  
  110.        curved arrow buttons
  111.               Rotate the  page  clockwise  and  counterclockwise.
  112.               These  are  intended  primarily for PDF files where
  113.               the rotation isn't correctly specified in the file,
  114.               but  they're  also  useful if your X server doesn't
  115.               support font rotation.
  116.  
  117.        '?' button
  118.               Bring up the 'about xpdf' window.
  119.  
  120.        'Quit' button
  121.               Quit xpdf.
  122.  
  123.    Links
  124.        Clicking on a hyperlink will jump to the  link's  destina-
  125.        tion.   Currently,  only  links within PDF documents or to
  126.        another PDF file are supported.  Clicking on  a  URL  link
  127.        just  prints  the URL.  Clicking on any other type of link
  128.        (e.g., links to executable programs) prints an error  mes-
  129.        sage.
  130.  
  131.    Key bindings
  132.        n      Move to the next page.
  133.  
  134.        p      Move to the previous page.
  135.  
  136.        <Space> or <PageDown> or <Next>
  137.               Scroll  down  on  the  current  page; if already at
  138.  
  139.               bottom, move to next page.
  140.  
  141.        <Backspace> or <Delete> or <PageUp> or <Previous>
  142.               Scroll up on the current page; if already  at  top,
  143.               move to previous page.
  144.  
  145.        <Home> Scroll to top of current page.
  146.  
  147.        <End>  Scroll to bottom of current page.
  148.  
  149.        arrows Scroll the current page.
  150.  
  151.        control-L
  152.               Redraw the current page.
  153.  
  154.        q      Quit xpdf.
  155.  
  156. 2 WEB_BROWSERS
  157.  
  158.        If  you  want  to  run xpdf automatically from netscape or
  159.        mosaic (and probably other browsers) when you click  on  a
  160.        link to a PDF file, you need to edit (or create) the files
  161.        .mime.types and  .mailcap  in  your  home  directory.   In
  162.        .mime.types add the line:
  163.  
  164.               application/pdf pdf
  165.  
  166.        In .mailcap add the lines:
  167.  
  168.               # Use xpdf to view PDF files.
  169.               application/pdf; xpdf -err %s
  170.  
  171.        Make sure that xpdf is on your executable search path.
  172.  
  173. 2 REMOTE_SERVER_MODE
  174.  
  175.        Xpdf  can be started in remote server mode by specifying a
  176.        server name (in addition to the file name  and  page  num-
  177.        ber).  For example:
  178.  
  179.               xpdf -remote myServer file.pdf
  180.  
  181.        If  there is currently no xpdf running in server mode with
  182.        the name 'myServer', a new xpdf window will be opened.  If
  183.        another command:
  184.  
  185.               xpdf -remote myServer another.pdf 9
  186.  
  187.        is  issued,  a  new  copy  of  xpdf  will  not be started.
  188.        Instead, the first xpdf (the server) will load another.pdf
  189.        and display page nine.  If the file name is the same:
  190.  
  191.               xpdf -remote myServer another.pdf 4
  192.  
  193.        the xpdf server will simply display the specified page.
  194.  
  195.        The -raise option tells the server to raise its window; it
  196.        can be specified with or without a file name and page num-
  197.        ber.
  198.  
  199.        The  -quit option tells the server to close its window and
  200.        exit.
  201.  
  202. 2 CONFIGURATION_FILE
  203.  
  204.        Xpdf will read a file called .xpdfrc from your home direc-
  205.        tory (if it exists).  This file can contain two  types  of
  206.        entries.
  207.  
  208.        fontpath directory
  209.               Look for Type 1 fonts in directory.  Xpdf uses this
  210.               only to get the font encoding.   For  display,  the
  211.               font must also be mapped with a fontmap entry.
  212.  
  213.        fontmap PDF-font X-font
  214.               Map  PDF-font  (as  referenced in a PDF file) to X-
  215.               font, which should be a standard X font  descriptor
  216.               with '%s' in the pixel size position.
  217.  
  218.        For example, use:
  219.  
  220.               fontmap        TimesCE-Roman       -*-times-medium-
  221.               r-*-*-%s-*-*-*-*-*-iso8859-2
  222.  
  223.        to map the  Central  European  (Latin-2)  version  of  the
  224.        Times-Roman  font.  This assumes that you've installed the
  225.        appropriate X fonts (see mkfontdir(1)).  Xpdf knows  about
  226.        the ISO8859-2 encoding, so you don't need a fontpath entry
  227.        for these fonts.  To use the Bakoma Type 1 fonts, do this:
  228.  
  229.               fontpath /home/derekn/fonts/bakoma
  230.               fontmap      cmb10      -bakoma-cmb10-medium-r-nor-
  231.               mal--%s-*-*-*-p-*-adobe-fontspecific
  232.               fontmap    cmbsy10    -bakoma-cmbsy10-medium-r-nor-
  233.               mal--%s-*-*-*-p-*-adobe-fontspecific
  234.               etc...
  235.  
  236.        This  assumes  that the Type 1 font files are available in
  237.        the directory /home/derekn/fonts/bakoma.
  238.  
  239. 2 BUGS
  240.  
  241.        This  is  a  beta  release  of xpdf, and there are still a
  242.        bunch of PDF features which I have yet to implement.
  243.  
  244.        At this point, the biggest problem is that embedded  fonts
  245.        are not handled properly.
  246.  
  247. 2 AUTHOR
  248.  
  249.        The  xpdf  software  and  documentation are copyright 1996
  250.        Derek B. Noonburg (derekn@ece.cmu.edu).
  251.  
  252. 2 SEE_ALSO
  253.  
  254.        pdftops(1)
  255.        http://www.contrib.andrew.cmu.edu/usr/dn0o/xpdf/xpdf.html
  256.  
  257.