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