From b3488837d00a540ee7d5ab78fb1784fa5b20b9f4 Mon Sep 17 00:00:00 2001 From: John Whitington Date: Mon, 21 Jun 2021 15:44:47 +0100 Subject: [PATCH] cleaning --- Changes | 8 ++++---- cpdf.1 | 3 +-- cpdfcoord.mli | 1 - cpdfwriteJSON.ml | 1 - tjllist.ml | 5 ----- tjparserMonad.ml | 1 - tjutil.ml | 1 - 7 files changed, 5 insertions(+), 15 deletions(-) diff --git a/Changes b/Changes index 1beeaab..fec96a5 100644 --- a/Changes +++ b/Changes @@ -1,15 +1,15 @@ Version 2.4 (June 2021) o New operation -extract-images +o New operation -output-json et al. to export PDF files in JSON format +o New operations to manipulate Optional Content Groups +o New operation -stamp-as-xobject to add one PDF as an xobject in another o Optional Content Groups now preserved when merging / stamping pages o Listing, coalescing and modfying Optional Content Groups. o New -labels-progress option to improve page labels interface -o New options -output-json et al. to export PDF files in JSON format -o New options to manipulate Optional Content Groups -o New option -stamp-as-xobject to add one PDF as an xobject in another -o No longer depends on Bigarray or Unix modules o Appearance streams transformed when transforming annotations o Bookmark destination positions transformed when transforming pages +o No longer depends on Bigarray or Unix modules Version 2.3 (patchlevel 1, December 2019) diff --git a/cpdf.1 b/cpdf.1 index 90216c9..1c63c50 100644 --- a/cpdf.1 +++ b/cpdf.1 @@ -1,7 +1,7 @@ .\" Process this file with .\" groff -man -Tascii cpdf.1 .\" -.TH CPDF 1 "OCTOBER 2013" "" "" +.TH CPDF 1 "JUNE 2021" "" "" .SH NAME cpdf \- PDF command line tools .SH SYNOPSIS @@ -22,4 +22,3 @@ Output a list of commands. .SH AUTHOR John Whitington - diff --git a/cpdfcoord.mli b/cpdfcoord.mli index 1355312..aef004a 100644 --- a/cpdfcoord.mli +++ b/cpdfcoord.mli @@ -6,4 +6,3 @@ val parse_coordinate : Pdf.t -> string -> float * float val parse_coordinates : Pdf.t -> string -> (float * float) list val parse_single_number : Pdf.t -> string -> float - diff --git a/cpdfwriteJSON.ml b/cpdfwriteJSON.ml index 587a438..fe00c40 100644 --- a/cpdfwriteJSON.ml +++ b/cpdfwriteJSON.ml @@ -238,4 +238,3 @@ let write fh parse_content no_stream_data pdf = J.format formatter (json_of_pdf parse_content no_stream_data pdf); Format.pp_print_flush formatter (); output_string fh (Buffer.contents b) - diff --git a/tjllist.ml b/tjllist.ml index f856f01..162fe1c 100644 --- a/tjllist.ml +++ b/tjllist.ml @@ -95,8 +95,3 @@ let of_function f = in fill () - - - - - diff --git a/tjparserMonad.ml b/tjparserMonad.ml index 6e8235f..1f9ee4c 100644 --- a/tjparserMonad.ml +++ b/tjparserMonad.ml @@ -162,4 +162,3 @@ let run_string p s = let run_function p f = run p init_state (of_function f) - diff --git a/tjutil.ml b/tjutil.ml index 95baeea..c3d6ceb 100644 --- a/tjutil.ml +++ b/tjutil.ml @@ -42,4 +42,3 @@ let to_hex n = in if n < 0 then raise (Invalid_argument (!%"to_hex: (%d)" n)) else string_of_chars @@ iter [] n -