From d860a20e7d9ceb9a4acf7778cdc070895689cf1e Mon Sep 17 00:00:00 2001 From: malc Date: Sat, 12 Jun 2010 22:23:55 +0400 Subject: [PATCH] Some docs --- BUILDING | 22 ++++++++++++++++++++++ KEYS | 25 +++++++++++++++++++++++++ README | 9 +++++++++ Thanks | 7 +++++++ 4 files changed, 63 insertions(+) create mode 100644 BUILDING create mode 100644 KEYS create mode 100644 README create mode 100644 Thanks diff --git a/BUILDING b/BUILDING new file mode 100644 index 0000000..a8b7908 --- /dev/null +++ b/BUILDING @@ -0,0 +1,22 @@ +At the time of this writing[1] vanilla MuPDF[2] does not work (text +spans are somewhat fucked up), the (patched) version from +SumatraPDF[3]'s SVN repository[4] however works nicely (SumatraPDF's +SVN repository also contains all the other prerequisites (such as +openjpeg, jbig2dec, etc) + +llpp also depends on OCaml[5] and lablGL[6], having a C compiler +wouldn't hurt either. + +To build llpp, provided that all prereqs are already built, one should +invoke `sh build.sh' from the top of llpp's directory. + +If everything goes fine llpp binary will appear, it can be used like so: + +$ ./llpp /path/to/some.pdf + +[1] 12-06-10 +[2] http://www.mupdf.com +[3] http://blog.kowalczyk.info/software/sumatrapdf/index.html +[4] http://sumatrapdf.googlecode.com/svn/trunk/mupdf [Revision: 1948] +[5] http://caml.inria.fr/ +[4] http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/lablgl.html diff --git a/KEYS b/KEYS new file mode 100644 index 0000000..c9fd5c2 --- /dev/null +++ b/KEYS @@ -0,0 +1,25 @@ +up/down arrow - scroll up/down +mouse buttons 3/4 - .............. +primary mouse button[1] - click on link or select text[2] +escape/q - quit +backspace - go back after jumping (clicking link and suchlike) +u - dehighlight +/,? - enter text to search for (/ - forward, ? backward) ++ - set page bias +- - set some tunables (i - toggle case sensetivity of + searches ...) +0..9 - enter page number to jump to +b - toggle scroll bar +f - toggle fullscreen +n - repeat last search (forward) +p - .................. (backward) +t - align top of the screen with the top of the page +space, N - go to the next page +delete, P - go to the previous page += - show current position +w - change height to encompass all of the page + +[1] i'm somewhat mouse button confused, since i use "left handed" mouse + while not being lefthanded + +[2] selecting text is not really implemented right now diff --git a/README b/README new file mode 100644 index 0000000..57cc944 --- /dev/null +++ b/README @@ -0,0 +1,9 @@ + Oh my god it's full of bugs + =========================== + +This is llpp a graphical PDF viewer which aims to superficially +resemble less(1) + +The rendering library used is MuPDF (http://www.mupdf.com/) + + diff --git a/Thanks b/Thanks new file mode 100644 index 0000000..8dbf5f1 --- /dev/null +++ b/Thanks @@ -0,0 +1,7 @@ +Whole OCaml team + +Jacques Garrigue, Isaac Trotts, Erick Tryzelaar and Christophe Raffali + +Krzysztof Kowalczyk + +Artifex Software Inc., Tor Andersson -- 2.11.4.GIT