diff --git a/Changes b/Changes index fb20afa..4270fa8 100644 --- a/Changes +++ b/Changes @@ -1,4 +1,4 @@ -2.7.3 (to come) +2.8 (December 2024) New features: diff --git a/META b/META index 37528ba..35ce4bb 100644 --- a/META +++ b/META @@ -1,6 +1,6 @@ name="cpdf" description="PDF commmand line tools" -version="2.7.2" +version="2.8" requires="camlpdf" archive(byte)="cpdf.cma" archive(native)="cpdf.cmxa" diff --git a/README.md b/README.md index a88a6f9..c04b99b 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ To build -------- If downloading from Github, obtain the correct source. This means choosing the -tag for a particular version, such as "v2.7.2". The head of the master branch +tag for a particular version, such as "v2.8". The head of the master branch is unstable. 1. Type `make` to make the cpdf executable and the library diff --git a/cpdf.1 b/cpdf.1 index b84a930..303298c 100644 --- a/cpdf.1 +++ b/cpdf.1 @@ -1,7 +1,7 @@ .\" Process this file with .\" groff -man -Tascii cpdf.1 .\" -.TH CPDF 1 "OCTOBER 2024" "" "" +.TH CPDF 1 "DECEMBER 2024" "" "" .SH NAME cpdf \- PDF command line tools .SH SYNOPSIS diff --git a/cpdf.opam b/cpdf.opam index e86c20e..6e2b4e7 100644 --- a/cpdf.opam +++ b/cpdf.opam @@ -1,6 +1,6 @@ opam-version: "2.0" name: "cpdf" -version: "2.7.2" +version: "2.8" maintainer: "contact@coherentgraphics.co.uk" license: "AGPL-3.0-or-later" build: [[make]] diff --git a/cpdfcommand.ml b/cpdfcommand.ml index b9e3fb4..3e14c70 100644 --- a/cpdfcommand.ml +++ b/cpdfcommand.ml @@ -2,9 +2,9 @@ let demo = false let agpl = true let major_version = 2 -let minor_version = 7 -let minor_minor_version = 3 -let version_date = "(devel, 3rd December 2024)" +let minor_version = 8 +let minor_minor_version = 0 +let version_date = "(10th December 2024)" open Pdfutil open Pdfio @@ -3061,7 +3061,7 @@ let specs = and usage_msg = "Syntax: cpdf [] [-o ]\n\n\ Copyright Coherent Graphics Ltd.\n\n\ -Version " ^ (if agpl then "AGPLv3-licensed " else "") ^ string_of_int major_version ^ "." ^ string_of_int minor_version ^ "." ^ string_of_int minor_minor_version ^ " " ^ version_date ^ "\n\n\ +Version " ^ (if agpl then "AGPLv3-licensed " else "") ^ string_of_int major_version ^ "." ^ string_of_int minor_version ^ "." ^ (if minor_minor_version = 0 then "" else string_of_int minor_minor_version) ^ " " ^ version_date ^ "\n\n\ https://www.coherentpdf.com/\n\n\ Input names are distinguished by containing a '.' and may be\n\ followed by a page range specification, for instance \"1,2,3\"\n\ @@ -3704,7 +3704,7 @@ let print_obj json pdf objspec = let print_version () = flprint - ("cpdf " ^ (if agpl then "AGPL " else "") ^ "Version " ^ string_of_int major_version ^ "." ^ string_of_int minor_version ^ "." ^ string_of_int minor_minor_version ^ " " ^ version_date ^ "\n") + ("cpdf " ^ (if agpl then "AGPL " else "") ^ "Version " ^ string_of_int major_version ^ "." ^ string_of_int minor_version ^ (if minor_minor_version = 0 then "" else "." ^ string_of_int minor_minor_version) ^ " " ^ version_date ^ "\n") let replace_obj pdf objspec obj = let split_chain str = map (fun x -> "/" ^ x) (tl (String.split_on_char '/' str)) in diff --git a/cpdfmanual.pdf b/cpdfmanual.pdf index 02fb266..8f9b79b 100644 Binary files a/cpdfmanual.pdf and b/cpdfmanual.pdf differ diff --git a/cpdfmanual.tex b/cpdfmanual.tex index 29b8ee8..344ffe6 100644 --- a/cpdfmanual.tex +++ b/cpdfmanual.tex @@ -1,16 +1,5 @@ %Add copyright for Matterhorn extracts -%\DocumentMetadata{ -% lang = de, -% pdfversion = 2.0, -% pdfstandard = ua-2, -% pdfstandard = a-4f, %or a-4 -% testphase = -% {phase-III, -% title, -% table, -% math, -% firstaid} -%} +%\DocumentMetadata{lang=en, pdfversion=2.0, pdfstandard=ua-2, pdfstandard=a-4f, testphase={phase-III, title, table, math, firstaid}} \documentclass{book} % Edit here to produce cpdfmanual.pdf, cpdflibmanual.pdf, pycpdfmanual.pdf, % dotnetcpdflibmanual.pdf, jcpdflibmanual.pdf jscpdflibmanual.pdf etc. @@ -79,7 +68,7 @@ Command Line Tools} \vspace{12mm} {\Huge User Manual}\\ -Version 2.7.3 (January 2025) +Version 2.8 (December 2024) \vspace{25mm} @@ -5986,7 +5975,7 @@ Cpdf can add PDF/UA structure data when drawing on new PDF/UA files. For example \section{Remediation of PDF/UA verification errors} %FIXME Check copyright is added for Matterhorn descriptions -\noindent\begin{longtable}{lp{5cm}lp{5cm}} +\noindent\begin{tabular}{lp{5cm}lp{5cm}} \textbf{Number} & \textbf{Description} & \textbf{Reference} & \textbf{Remediation}\\ 01-003 & Content marked as Artifact is present inside tagged content. & UA1:7.1-1 & Description\\ 01-004 & Tagged content is present inside content marked as Artifact. & UA1:7.1-1 & d\\ @@ -6075,7 +6064,7 @@ Cpdf can add PDF/UA structure data when drawing on new PDF/UA files. For example 31-028 & One or more Unicode values specified in the ToUnicode CMap are zero (0). & UA1:7.21.7-2 & d\\ 31-029 & One or more Unicode values specified in the ToUnicode CMap are equal to either U+FEFF or U+FFFE. & UA1:7.21.7-3 & d\\ 31-030 & One or more characters used in text showing operators reference the .notdef glyph. & UA1:7.21.8-1 & d\\ -\end{longtable} +\end{tabular}