Opdf

OPDF


Opdf is a fast pdf viewer mainly for beamer talks. In addition to standard overlays, it features a nice scrolling, giving the speaker the possibility to develop an idea without having to "turn the page". It does not support hyperlinks and forms. (Well, maybe hyperlinks will be supported in the future...)

It is at an early stage of development (the code it actually very small), but you can already use it.

Features

Requisites

Opdf itself is quite light, but to use it you need:
In linux, in case your graphics card is not very powerful, you can get very nice results by desactivating 3D desktop effects (for instance, ALT-SHIFT f12 in Kubuntu).

How to get Opdf ?

Opdf is open-source software released under the GNU General Public License. It is hosted on OCamlForge. You may download the source or try a precompiled binary for your system.

Get the source

In order to compile Opdf, you need ocaml, ocamlsdl and lablgl.
In an ubuntu box, the following should be enough:
sudo apt-get install libsdl-ocaml-dev liblablgl-ocaml-dev

Archives are available on this page
The current version can be fetched using the git system:
git clone http://forge.ocamlcore.org/anonscm/git/opdf/opdf.git

You are welcome to hack the source to make it better, and submit your patches.

Get binaries

For Linux, don't forget to install the "requisites" above.

Opdf 0.4.5 for ubuntu 11.10 (oneiric) amd64 (900k)
Opdf 0.4.4 ubuntu 11.04 (natty) i686 (500k)

For Windows, I don't know any easy way to install the requisites by a couple of clicks or command lines, so I packed up everything in the archive below:
Opdf 0.4.4 for Windows with dependencies

For Mac OS, it'll be here soon !

Usage

Command line

Usage: opdf [options] <filename>
where <filename> should be a PDF document.
Options:
-w <n>   or  --width=<n>     : set the width of the window
-m <n>   or  --max=<n>       : set the maximal number of pages that are kept in memory
-f       or  --fullscreen    : start in fullscreen mode
-p <s>   or  --profile=<s>   : set the shape: <s> can be "roll" or "flat"
-s       or  --no-shadow     : disable shadows
-d       or  --debug         : debug mode

Navigate through the document

It should be very intuitive.

[SPACE] / [BACKSPACE] or
[N] / [P] will go to the next/previous page (which can be either an overlay of the same slide, or a new slide).
[LEFT] / [RIGHT] can be used to navigate through the overlays of the current slide.
[UP] / [DOWN] fine tune the vertical scroll between slides.
[PAGE_UP] [PAGE_DOWN] quickly navigate through slides
[MOUSE WHEEL] does about the same effect as [PAGE_UP] [PAGE_DOWN].

Tools

[CTRL-p] switch perspective mode.
[CTRL-f] switch fullscreen mode (change screen resolution but keep pixel size)

Details

By default Opdf keeps only 100 pages in memory, so the memory usage should not exceed about 50Mo. In case you have little memory, this can be tuned with the --max option.

By default Opdf opens documents with a width of 800 pixels. You can change this with the --width option.

Automatic detection of overlays and slides should work out of the box for most PDF documents generated by Beamer or Prosper. If you use an unusual beamer style, you might need to fine tune it or enter the document structure manually (TODO)

TODO.....