~ubuntu-branches/ubuntu/oneiric/evince/oneiric-updates

1.7.1 by Frederic Peters
Import upstream version 3.0.0
1
<?xml version="1.0" encoding="utf-8"?>
2
<page xmlns="http://projectmallard.org/1.0/" type="topic" style="task" id="commandline" xml:lang="ca">
3
4
  <info>
5
    <link type="guide" xref="index#advanced"/>
6
    <title type="sort">Command Line</title>
7
    <desc>The <cmd>evince</cmd> command can open any number of files, at specific pages and in various modes.</desc>
8
    <revision pkgversion="2.30.3" version="0.1" date="2010-07-26" status="review"/>
9
    <credit type="author">
10
      <name>Phil Bull</name>
11
      <email>philbull@gmail.com</email>
12
    <name>Tiffany Antopolski</name>
13
    <email>tiffany@antopolski.com</email>
14
    </credit>
15
    <license>
16
      <p>Creative Commons Share Alike 3.0</p>
17
    </license>
18
19
  </info>
20
21
<title>The Command Line</title>
22
23
<p>
24
To start the Document Viewer from the command line, type <cmd>evince</cmd>. You
25
can open a specific file by typing the filename after the evince command:
26
</p>
27
28
<screen>evince file.pdf</screen>
29
<p>
30
You can open multiple files by typing the filenames after the evince command, separating the filenames by a space:
31
</p>
32
<screen>evince file1.pdf file2.pdf</screen>
33
<p>
34
Evince also supports the handling of files on the web.  For example, after the evince command you can give the location of a file on the web:
35
</p>
36
<screen>evince http://www.claymath.org/millennium/P_vs_NP/pvsnp.pdf</screen>
37
<section>
38
    <title>Opening A Document At A Specific Page</title>
39
    <p>
40
    You can use the <cmd>--page-label</cmd> switch to open a document at a
41
    specific page. For example, to open a document to page 3, you would type:
42
    </p>
43
    <screen>evince --page-label=3</screen>
44
    <p>
45
    The page label should be in the same format as the page number displayed in
46
    the Document Viewer toolbar.
47
    </p>
48
</section>
49
<section>
50
    <title>Opening A Document In Fullscreen Mode</title>
51
    <screen>evince --fullscreen file.pdf</screen>
52
</section>
53
<section>
54
    <title>Opening A Document In Presentation Mode</title>
55
    <screen>evince --presentation file.pdf</screen>
56
</section>
57
<section>
58
    <title>Opening A Document In Preview Mode</title>
59
    <screen>evince --preview file.pdf</screen>
60
</section>
61
</page>