The CPDF PDF command line tool for editing PDF files. cpdf as an OCaml library
Go to file
John Whitington b3488837d0 cleaning
2021-06-21 15:44:47 +01:00
html_manual
splits splits 2021-06-18 14:19:43 +01:00
.gitignore
blank20.pdf
blank.pdf
blankowneruser.pdf
Changes cleaning 2021-06-21 15:44:47 +01:00
cpdf.1 cleaning 2021-06-21 15:44:47 +01:00
cpdf.ml cache time 2021-06-10 16:09:59 +01:00
cpdf.mli ocg list split 2021-06-08 16:58:35 +01:00
cpdfcommand.ml install script 2021-06-20 16:27:46 +01:00
cpdfcommand.mli
cpdfcommandrun.ml
cpdfcoord.ml more 2019-09-26 13:30:22 +01:00
cpdfcoord.mli cleaning 2021-06-21 15:44:47 +01:00
cpdfmanual.pdf more 2021-06-20 16:49:50 +01:00
cpdfmanual.tex more 2021-06-20 16:49:50 +01:00
cpdfstrftime.ml more 2020-12-02 17:20:43 +00:00
cpdfstrftime.mli cache time 2021-06-10 16:09:59 +01:00
cpdfwriteJSON.ml cleaning 2021-06-21 15:44:47 +01:00
cpdfwriteJSON.mli Added -output-json-no-stream-data 2020-02-01 10:18:15 +00:00
hello.pdf
LICENSE
logo.pdf
Makefile Unix gone finally 2020-12-02 13:31:23 +00:00
META more 2021-05-21 17:02:08 +01:00
mkinstall install script 2021-06-20 16:27:46 +01:00
mktext
mktext.ml
OCamlMakefile
README.md
splitwrapper splits 2021-06-18 14:19:43 +01:00
tjjson.ml Vendored in JSON library, other updates to begin v2.4 2020-01-24 16:20:40 +08:00
tjjson.mli Vendored in JSON library, other updates to begin v2.4 2020-01-24 16:20:40 +08:00
tjllist.ml cleaning 2021-06-21 15:44:47 +01:00
tjllist.mli Vendored in JSON library, other updates to begin v2.4 2020-01-24 16:20:40 +08:00
tjparserMonad.ml cleaning 2021-06-21 15:44:47 +01:00
tjparserMonad.mli Vendored in JSON library, other updates to begin v2.4 2020-01-24 16:20:40 +08:00
tjutf16.ml Vendored in JSON library, other updates to begin v2.4 2020-01-24 16:20:40 +08:00
tjutf16.mli Vendored in JSON library, other updates to begin v2.4 2020-01-24 16:20:40 +08:00
tjutil.ml cleaning 2021-06-21 15:44:47 +01:00
tjutil.mli Vendored in JSON library, other updates to begin v2.4 2020-01-24 16:20:40 +08:00
xmlm.ml
xmlm.mli Vendored in JSON library, other updates to begin v2.4 2020-01-24 16:20:40 +08:00

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

If downloading from Github, obtain the correct source. This means choosing the tag for a particular version, such as "v2.1.1". The head of the master branch is unstable.

  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