source: trunk/src/testing/app-3rd-party/sagepdf/README @ 4

Revision 4, 1.5 KB checked in by ajaworski, 13 years ago (diff)

Added modified SAGE sources

Line 
120110309 CKW
2
3sagepdf is a PDF viewer for a tiled display running SAGE.
4
5Prerequisites to compile include poppler, cairo and gtk+.
6To build the full version, run:
7        make
8
9To install the compiled sagepdf application
10(into $SAGE_DIRECTORY/bin), run:
11        make install
12
13
14To display a PDF on both local and tiled displays,
15run:
16        sagepdf /full/path/to/yourfile.pdf [-show_original] [-page num] [-scale num]
17
18The PDF filename is a mandatory argument; the remainder are optional.
19        -show_original
20means no DXT compression is used
21
22        -page num
23(num is some integer) denotes which page number
24should be displayed at startup
25
26        -scale num
27(num is some integer) denotes a scaling factor
28to be applied _before_ the conversion from pdf to bitmap
29is made for the tiled display (defaults to 4). The
30scaling factor has no effect on the locally displayed
31output.
32
33To run just on the desktop, build with the command:
34        make nosage
35
36No connection to a tiled display is (or can be) made
37when running this version. This may be useful for
38experimenting with just the gui code.
39
40
41Interaction with the local pdf window is, firstly,
42via the keyboard:
43        Home                    = go to 1st page
44        End                     = go to last page
45        Page Up, Left Arrow     = go back 1 page
46        Page Down, Right Arrow  = go forward 1 page
47
48The local pdf window also responds to the same mouse events
49as the tiled display instance:
50        Left Click      = go forward 1 page
51        Drag Right      = go forward pages while dragging
52        Right Click     = go back 1 page
53        Drag Left       = go back pages while dragging
54
Note: See TracBrowser for help on using the repository browser.