home *** CD-ROM | disk | FTP | other *** search
/ Freelog 11 / Freelog011.iso / BeOS / BAS / Bureau / bepdf / xpdf / xpdf.hlp < prev   
Text File  |  1999-01-26  |  11KB  |  339 lines

  1. ! Generated automatically by mantohlp
  2. 1 xpdf
  3.  
  4.        xpdf  -  Portable  Document Format (PDF) file viewer for X
  5.        (version 0.80)
  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.        the X Window System on UNIX, VMS, and OS/2.
  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.        You can also start xpdf without opening any files:
  25.  
  26.               xpdf
  27.  
  28. 2 OPTIONS
  29.  
  30.        X  resources are listed in square brackets with the corre-
  31.        sponding option.
  32.  
  33.        -err   Send error messages to /dev/tty instead  of  stderr
  34.               (useful  if  xpdf  is started from another applica-
  35.               tion, e.g., netscape which  otherwise  pops  up  an
  36.               annoying little window for every error).
  37.  
  38.        -z number
  39.               Set  the initial zoom factor (-5 .. 5).  [xpdf.ini-
  40.               tialZoom]
  41.  
  42.        -g geometry
  43.               Set the initial  window  geometry.   (-geometry  is
  44.               equivalent.)  [xpdf.geometry]
  45.  
  46.        -remote name
  47.               Start/contact  xpdf  remote  server  with specified
  48.               name (see the REMOTE SERVER MODE section below).
  49.  
  50.        -raise Raise  xpdf  remote  server  window  (with  -remote
  51.               only).
  52.  
  53.        -quit  Kill xpdf remote server (with -remote only).
  54.  
  55.        -cmap  Install  a  private  colormap.   This is ignored on
  56.               TrueColor visuals.  [xpdf.installCmap]
  57.  
  58.        -rgb number
  59.               Set the size of largest RGB cube xpdf will  try  to
  60.               allocate.  The default is 5 (for a 5x5x5 cube); set
  61.               to  a  smaller  number  to  conserve  color   table
  62.               entries.   This  is  ignored with private colormaps
  63.               and on TrueColor visuals.
  64.  
  65.        -papercolor color
  66.               Set the "paper color", i.e., the background of  the
  67.               page display.  This will not work too well with PDF
  68.               files that do things like filling in  white  behind
  69.               the text.  [xpdf.paperColor]
  70.  
  71.        -ps PS-file
  72.               Set  the  default  file name for PostScript output.
  73.               This can also be of the form '|command' to pipe the
  74.               PostScript through a command.  [xpdf.psFile]
  75.  
  76.        -paperw size
  77.               Set  the  paper  width,  in points.  [xpdf.psPaper-
  78.               Width]
  79.  
  80.        -paperh size
  81.               Set the paper height,  in  points.   [xpdf.psPaper-
  82.               Height]
  83.  
  84.        -level1
  85.               Generate   Level   1   PostScript.   The  resulting
  86.               PostScript files will be significantly  larger  (if
  87.               they  contain  images),  but  will print on Level 1
  88.               printers.  This also converts all images  to  black
  89.               and white.  [xpdf.psLevel1]
  90.  
  91.        -cmd   Print  commands  as  they're  executed  (useful for
  92.               debugging).
  93.  
  94.        -h     Print usage information.  (-help is equivalent.)
  95.  
  96.        Several other standard X options and resources  will  work
  97.        as expected:
  98.  
  99.        -display display
  100.               [xpdf.display]
  101.  
  102.        -fg color
  103.               (-foreground is equivalent.)  [xpdf.foreground]
  104.  
  105.        -bg color
  106.               (-background is equivalent.)  [xpdf.background]
  107.  
  108.        -font font
  109.               (-fn is equivalent.)  [xpdf.font]
  110.  
  111.        The  color and font options only affect the user interface
  112.        elements, not the PDF display (the 'paper').
  113.  
  114.        The following X resources do not have command line  option
  115.        equivalents:
  116.  
  117.        xpdf.urlCommand
  118.               Set  the  command  executed when you click on a URL
  119.               link.  See  the  WEB  BROWSERS  section  below  for
  120.               details.
  121.  
  122. 2 CONTROLS
  123.  
  124.    On-screen controls, at the bottom of the xpdf window
  125.        left/right arrow buttons
  126.               Move to the previous/next page.
  127.  
  128.        double left/right arrow buttons
  129.               Move backward or forward by ten pages.
  130.  
  131.        'Page' entry box
  132.               Move  to  a specific page number.  Click in the box
  133.               to activate it, type  the  page  number,  then  hit
  134.               return.
  135.  
  136.        magnifying glass buttons
  137.               Increase and decrease the resolution, i.e., zoom in
  138.               and zoom out.
  139.  
  140.        binoculars button
  141.               Find a text string.
  142.  
  143.        print button
  144.               Bring up a dialog for generating a PostScript file.
  145.               The  dialog  has  options  to  set  the pages to be
  146.               printed and the PostScript  file  name.   The  file
  147.               name  can  be  '-' for stdout or '|command' to pipe
  148.               the PostScript through a command, e.g., '|lpr'.
  149.  
  150.        '?' button
  151.               Bring up the 'about xpdf' window.
  152.  
  153.        link info
  154.               The space between the '?'  and  'Quit'  buttons  is
  155.               used to show the URL or external file name when the
  156.               mouse is over a link.
  157.  
  158.        'Quit' button
  159.               Quit xpdf.
  160.  
  161.    Menu
  162.        Pressing the right mouse button will  post  a  popup  menu
  163.        with the following commands:
  164.  
  165.        Open...
  166.               Open a new PDF file via a file requester.
  167.  
  168.        Save PDF...
  169.               Save the current file via a file requester.
  170.  
  171.        Rotate left
  172.               Rotate the page 90 degrees counterclockwise.
  173.  
  174.        Rotate right
  175.               Rotate  the  page  90  degrees  clockwise.  The two
  176.  
  177.               rotate commands  are  intended  primarily  for  PDF
  178.               files  where the rotation isn't correctly specified
  179.               in the file, but they're  also  useful  if  your  X
  180.               server doesn't support font rotation.
  181.  
  182.        Quit   Quit xpdf.
  183.  
  184.    Text selection
  185.        Dragging  the  mouse  with  the left button held down will
  186.        highlight an arbitrary rectangle.  Any  text  inside  this
  187.        rectangle will be copied to the X selection buffer.
  188.  
  189.    Links
  190.        Clicking  on  a hyperlink will jump to the link's destina-
  191.        tion.  A link to another PDF document will make xpdf  load
  192.        that  document.   A 'launch' link to an executable program
  193.        will display a dialog, and if you click 'ok', execute  the
  194.        program.   URL links call an external command (see the WEB
  195.        BROWSERS section below).
  196.  
  197.    Panning
  198.        Dragging the mouse with the middle button held  down  pans
  199.        the window.
  200.  
  201.    Key bindings
  202.        o      Open a new PDF file via a file requester.
  203.  
  204.        f      Find a text string.
  205.  
  206.        n      Move to the next page.
  207.  
  208.        p      Move to the previous page.
  209.  
  210.        <Space> or <PageDown> or <Next>
  211.               Scroll down on the current page; if already at bot-
  212.               tom, move to next page.
  213.  
  214.        <Backspace> or <Delete> or <PageUp> or <Previous>
  215.               Scroll up on the current page; if already  at  top,
  216.               move to previous page.
  217.  
  218.        <Home> Scroll to top of current page.
  219.  
  220.        <End>  Scroll to bottom of current page.
  221.  
  222.        arrows Scroll the current page.
  223.  
  224.        control-L
  225.               Redraw the current page.
  226.  
  227.        q      Quit xpdf.
  228.  
  229. 2 WEB_BROWSERS
  230.  
  231.        If  you  want  to  run xpdf automatically from netscape or
  232.        mosaic (and probably other browsers) when you click  on  a
  233.        link to a PDF file, you need to edit (or create) the files
  234.        .mime.types and  .mailcap  in  your  home  directory.   In
  235.        .mime.types add the line:
  236.  
  237.               application/pdf pdf
  238.  
  239.        In .mailcap add the lines:
  240.  
  241.               # Use xpdf to view PDF files.
  242.               application/pdf; xpdf -err %s
  243.  
  244.        Make sure that xpdf is on your executable search path.
  245.  
  246.        When you click on a URL link in a PDF file, xpdf will exe-
  247.        cute  the  command  specified   by   the   xpdf.urlCommand
  248.        resource,  replacing  an  occurrence of '%s' with the URL.
  249.        For example, to call  netscape  with  the  URL,  use  this
  250.        resource setting:
  251.  
  252.               xpdf.urlCommand: netscape -remote 'openURL(%s)'
  253.  
  254. 2 REMOTE_SERVER_MODE
  255.  
  256.        Xpdf  can be started in remote server mode by specifying a
  257.        server name (in addition to the file name  and  page  num-
  258.        ber).  For example:
  259.  
  260.               xpdf -remote myServer file.pdf
  261.  
  262.        If  there is currently no xpdf running in server mode with
  263.        the name 'myServer', a new xpdf window will be opened.  If
  264.        another command:
  265.  
  266.               xpdf -remote myServer another.pdf 9
  267.  
  268.        is  issued,  a  new  copy  of  xpdf  will  not be started.
  269.        Instead, the first xpdf (the server) will load another.pdf
  270.        and display page nine.  If the file name is the same:
  271.  
  272.               xpdf -remote myServer another.pdf 4
  273.  
  274.        the xpdf server will simply display the specified page.
  275.  
  276.        The -raise option tells the server to raise its window; it
  277.        can be specified with or without a file name and page num-
  278.        ber.
  279.  
  280.        The  -quit option tells the server to close its window and
  281.        exit.
  282.  
  283. 2 CONFIGURATION_FILE
  284.  
  285.        Xpdf will read a file called .xpdfrc from your home direc-
  286.        tory (if it exists).  This file can contain two  types  of
  287.        entries.
  288.  
  289.        fontpath directory
  290.               Look for Type 1 fonts in directory.  Xpdf uses this
  291.               only to get the font encoding.   For  display,  the
  292.               font must also be mapped with a fontmap entry.
  293.  
  294.        fontmap PDF-font X-font
  295.               Map  PDF-font  (as  referenced in a PDF file) to X-
  296.               font, which should be a standard X font  descriptor
  297.               with '%s' in the pixel size position.
  298.  
  299.        For example, use:
  300.  
  301.               fontmap        TimesCE-Roman       -*-times-medium-
  302.               r-*-*-%s-*-*-*-*-*-iso8859-2
  303.  
  304.        to map the  Central  European  (Latin-2)  version  of  the
  305.        Times-Roman  font.  This assumes that you've installed the
  306.        appropriate X fonts (see mkfontdir(1)).  Xpdf knows  about
  307.        the ISO8859-2 encoding, so you don't need a fontpath entry
  308.        for these fonts.  To use the Bakoma Type 1 fonts, do this:
  309.  
  310.               fontpath /home/derekn/fonts/bakoma
  311.               fontmap      cmb10      -bakoma-cmb10-medium-r-nor-
  312.               mal--%s-*-*-*-p-*-adobe-fontspecific
  313.               fontmap    cmbsy10    -bakoma-cmbsy10-medium-r-nor-
  314.               mal--%s-*-*-*-p-*-adobe-fontspecific
  315.               etc...
  316.  
  317.        This  assumes  that the Type 1 font files are available in
  318.        the directory /home/derekn/fonts/bakoma.
  319.  
  320. 2 BUGS
  321.  
  322.        This  is  a  beta  release  of xpdf, and there are still a
  323.        bunch of PDF features which I have yet to implement.
  324.  
  325.        At this point, the biggest problem is that embedded  fonts
  326.        are not handled properly.
  327.  
  328. 2 AUTHOR
  329.  
  330.        The   xpdf   software   and  documentation  are  copyright
  331.        1996-1998 Derek B. Noonburg (derekn@foolabs.com).
  332.  
  333. 2 SEE_ALSO
  334.  
  335.        pdftops(1),  pdftotext(1), pdfinfo(1), pdftopbm(1), pdfim-
  336.        ages(1)
  337.        http://www.foolabs.com/xpdf/
  338.  
  339.