The CPDF PDF command line tool for editing PDF files. cpdf as an OCaml library
Go to file
John Whitington c721b085b8 Removed dependency on Unix 2013-11-11 16:39:45 +00:00
cpdfmanual Fixed META, build advice 2013-09-03 17:13:59 +01:00
.gitignore Add .gitignore for generated files 2013-09-16 13:18:52 +01:00
LICENSE Added LICENSE 2013-08-20 21:08:30 +01:00
META Fixed META, build advice 2013-09-03 17:13:59 +01:00
Makefile Removed dependency on Unix 2013-11-11 16:39:45 +00:00
OCamlMakefile Removed dependency on Unix 2013-11-11 16:39:45 +00:00
README.md Markdown layout fixes, and note that OPAM installs the binary now 2013-09-16 13:43:55 +01:00
TODO Added TODO file 2013-10-03 16:22:09 +01:00
cpdf.1 Updates to manual 2013-10-25 16:33:31 +01:00
cpdf.ml Can now add page labels 2013-10-24 15:21:54 +01:00
cpdf.mli Can now add page labels 2013-10-24 15:21:54 +01:00
cpdfcommand.ml Can now add page labels 2013-10-24 15:21:54 +01:00
cpdfcommand.mli Started to improve ocamldoc documentation 2013-08-27 17:35:16 +01:00
cpdfcommandrun.ml Initial commit 2013-08-20 15:32:57 +01:00
cpdfmanual.pdf Updates to manual 2013-10-25 16:33:31 +01:00
cpdfmanual.tex More to-dos 2013-11-04 16:52:02 +00:00
cpdfstrftime.ml Removed dependency on Unix 2013-11-11 16:39:45 +00:00
cpdfstrftime.mli Started to improve ocamldoc documentation 2013-08-27 17:35:16 +01:00
cpdfunix.ml Removed dependency on Unix 2013-11-11 16:39:45 +00:00
cpdfunix.mli Removed dependency on Unix 2013-11-11 16:39:45 +00:00
cst2constr.c Removed dependency on Unix 2013-11-11 16:39:45 +00:00
cst2constr.h Removed dependency on Unix 2013-11-11 16:39:45 +00:00
gettimeofday.c Removed dependency on Unix 2013-11-11 16:39:45 +00:00
gmtime.c Removed dependency on Unix 2013-11-11 16:39:45 +00:00
hello.pdf Changed multiline text support to deal properly with double backslashes, for example '\\\\n' on command line gives '\\n' which should print '\n' not act as a newline 2013-10-18 11:52:01 +01:00
logo.pdf Fixed building of cpdfmanual.tex by adding logo.pdf 2013-08-29 12:12:36 +01:00
unixsupport.c Removed dependency on Unix 2013-11-11 16:39:45 +00:00
unixsupport.h Removed dependency on Unix 2013-11-11 16:39:45 +00:00

README.md

cpdf-source

Free for non-commercial use. See LICENSE for details. Copyright Coherent Graphics Ltd 2013.

This code builds two things:

a) The CPDF PDF Command Line Tools, which are a popular commercial command line tool for editing PDF files.

b) cpdf as an OCaml library.

Prerequisites to build

The OCaml compiler

http://ocaml.org

The camlpdf library

http://github.com/johnwhitington/camlpdf

The ocamlfind library manager

http://projects.camlcity.org/projects/findlib.html

If you are using the OPAM package manager:

http://opam.ocamlpro.com

these can be installed by:

opam install camlpdf

To build

  1. Type make to make the cpdf executable and the library

  2. Type make install to install the OCaml cpdf library.

The cpdf executable should be manually placed somewhere suitable.

Alternatively, the library and command-line binary can be installed by

opam install cpdf

Documentation

The file cpdfmanual.pdf in this folder is the documentation for the command line tools. The documentation for the cpdf OCaml library is in doc/html/cpdf/ in this folder once the library has been built.

Contact

contact@coherentgraphics.co.uk