diff --git a/META b/META index 1cd9c52..2dff481 100644 --- a/META +++ b/META @@ -1,6 +1,6 @@ name="cpdf" -description="High-level pdf tools based on CamlPDF" -version="2.5" +description="PDF commmand line tools" +version="2.6" requires="camlpdf" archive(byte)="cpdf.cma" archive(native)="cpdf.cmxa" diff --git a/Makefile b/Makefile index e971697..2ad47ac 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ all : $(TARGETS) clean :: rm -rf doc foo foo2 out.pdf out2.pdf foo.pdf decomp.pdf *.cmt *.cmti \ - *.json test/*.pdf debug/*.pdf *.ps *.aux *.idx *.log *.out *.toc *.cut \ + *.json test/*.pdf *.ps *.aux *.idx *.log *.out *.toc *.cut \ *.ttf *.ttx out.png DOC_FILES = $(foreach x,$(DOC),$(x).mli) diff --git a/blank.pdf b/blank.pdf deleted file mode 100644 index ba8dd23..0000000 Binary files a/blank.pdf and /dev/null differ diff --git a/blank20.pdf b/blank20.pdf deleted file mode 100644 index 23d177b..0000000 Binary files a/blank20.pdf and /dev/null differ diff --git a/blankowneruser.pdf b/blankowneruser.pdf deleted file mode 100644 index e14b714..0000000 Binary files a/blankowneruser.pdf and /dev/null differ diff --git a/cpdf.1 b/cpdf.1 index 309fab2..bce9ddb 100644 --- a/cpdf.1 +++ b/cpdf.1 @@ -1,7 +1,7 @@ .\" Process this file with .\" groff -man -Tascii cpdf.1 .\" -.TH CPDF 1 "JANUARY 2022" "" "" +.TH CPDF 1 "AUGUST 2023" "" "" .SH NAME cpdf \- PDF command line tools .SH SYNOPSIS diff --git a/debug/README.md b/debug/README.md deleted file mode 100644 index 2dc005d..0000000 --- a/debug/README.md +++ /dev/null @@ -1 +0,0 @@ -For placing temporary debug PDF files. Cleaned by make clean. diff --git a/dotnetsplits/c00.tex b/docsplits/dotnetsplits/c00.tex similarity index 100% rename from dotnetsplits/c00.tex rename to docsplits/dotnetsplits/c00.tex diff --git a/dotnetsplits/c01.tex b/docsplits/dotnetsplits/c01.tex similarity index 100% rename from dotnetsplits/c01.tex rename to docsplits/dotnetsplits/c01.tex diff --git a/dotnetsplits/c02.tex b/docsplits/dotnetsplits/c02.tex similarity index 100% rename from dotnetsplits/c02.tex rename to docsplits/dotnetsplits/c02.tex diff --git a/dotnetsplits/c03.tex b/docsplits/dotnetsplits/c03.tex similarity index 100% rename from dotnetsplits/c03.tex rename to docsplits/dotnetsplits/c03.tex diff --git a/dotnetsplits/c04.tex b/docsplits/dotnetsplits/c04.tex similarity index 100% rename from dotnetsplits/c04.tex rename to docsplits/dotnetsplits/c04.tex diff --git a/dotnetsplits/c05.tex b/docsplits/dotnetsplits/c05.tex similarity index 100% rename from dotnetsplits/c05.tex rename to docsplits/dotnetsplits/c05.tex diff --git a/dotnetsplits/c06.tex b/docsplits/dotnetsplits/c06.tex similarity index 100% rename from dotnetsplits/c06.tex rename to docsplits/dotnetsplits/c06.tex diff --git a/dotnetsplits/c07.tex b/docsplits/dotnetsplits/c07.tex similarity index 100% rename from dotnetsplits/c07.tex rename to docsplits/dotnetsplits/c07.tex diff --git a/dotnetsplits/c08.tex b/docsplits/dotnetsplits/c08.tex similarity index 100% rename from dotnetsplits/c08.tex rename to docsplits/dotnetsplits/c08.tex diff --git a/dotnetsplits/c09.tex b/docsplits/dotnetsplits/c09.tex similarity index 100% rename from dotnetsplits/c09.tex rename to docsplits/dotnetsplits/c09.tex diff --git a/dotnetsplits/c10.tex b/docsplits/dotnetsplits/c10.tex similarity index 100% rename from dotnetsplits/c10.tex rename to docsplits/dotnetsplits/c10.tex diff --git a/dotnetsplits/c11.tex b/docsplits/dotnetsplits/c11.tex similarity index 100% rename from dotnetsplits/c11.tex rename to docsplits/dotnetsplits/c11.tex diff --git a/dotnetsplits/c12.tex b/docsplits/dotnetsplits/c12.tex similarity index 100% rename from dotnetsplits/c12.tex rename to docsplits/dotnetsplits/c12.tex diff --git a/dotnetsplits/c13.tex b/docsplits/dotnetsplits/c13.tex similarity index 100% rename from dotnetsplits/c13.tex rename to docsplits/dotnetsplits/c13.tex diff --git a/dotnetsplits/c14.tex b/docsplits/dotnetsplits/c14.tex similarity index 100% rename from dotnetsplits/c14.tex rename to docsplits/dotnetsplits/c14.tex diff --git a/dotnetsplits/c15.tex b/docsplits/dotnetsplits/c15.tex similarity index 100% rename from dotnetsplits/c15.tex rename to docsplits/dotnetsplits/c15.tex diff --git a/dotnetsplits/c16.tex b/docsplits/dotnetsplits/c16.tex similarity index 100% rename from dotnetsplits/c16.tex rename to docsplits/dotnetsplits/c16.tex diff --git a/dotnetsplits/c17.tex b/docsplits/dotnetsplits/c17.tex similarity index 100% rename from dotnetsplits/c17.tex rename to docsplits/dotnetsplits/c17.tex diff --git a/dotnetsplits/c18.tex b/docsplits/dotnetsplits/c18.tex similarity index 100% rename from dotnetsplits/c18.tex rename to docsplits/dotnetsplits/c18.tex diff --git a/dotnetsplits/c19.tex b/docsplits/dotnetsplits/c19.tex similarity index 100% rename from dotnetsplits/c19.tex rename to docsplits/dotnetsplits/c19.tex diff --git a/dotnetsplits/cm1.tex b/docsplits/dotnetsplits/cm1.tex similarity index 100% rename from dotnetsplits/cm1.tex rename to docsplits/dotnetsplits/cm1.tex diff --git a/javascriptsplits/c00.tex b/docsplits/javascriptsplits/c00.tex similarity index 100% rename from javascriptsplits/c00.tex rename to docsplits/javascriptsplits/c00.tex diff --git a/javascriptsplits/c01.tex b/docsplits/javascriptsplits/c01.tex similarity index 100% rename from javascriptsplits/c01.tex rename to docsplits/javascriptsplits/c01.tex diff --git a/javascriptsplits/c02.tex b/docsplits/javascriptsplits/c02.tex similarity index 100% rename from javascriptsplits/c02.tex rename to docsplits/javascriptsplits/c02.tex diff --git a/javascriptsplits/c03.tex b/docsplits/javascriptsplits/c03.tex similarity index 100% rename from javascriptsplits/c03.tex rename to docsplits/javascriptsplits/c03.tex diff --git a/javascriptsplits/c04.tex b/docsplits/javascriptsplits/c04.tex similarity index 100% rename from javascriptsplits/c04.tex rename to docsplits/javascriptsplits/c04.tex diff --git a/javascriptsplits/c05.tex b/docsplits/javascriptsplits/c05.tex similarity index 100% rename from javascriptsplits/c05.tex rename to docsplits/javascriptsplits/c05.tex diff --git a/javascriptsplits/c06.tex b/docsplits/javascriptsplits/c06.tex similarity index 100% rename from javascriptsplits/c06.tex rename to docsplits/javascriptsplits/c06.tex diff --git a/javascriptsplits/c07.tex b/docsplits/javascriptsplits/c07.tex similarity index 100% rename from javascriptsplits/c07.tex rename to docsplits/javascriptsplits/c07.tex diff --git a/javascriptsplits/c08.tex b/docsplits/javascriptsplits/c08.tex similarity index 100% rename from javascriptsplits/c08.tex rename to docsplits/javascriptsplits/c08.tex diff --git a/javascriptsplits/c09.tex b/docsplits/javascriptsplits/c09.tex similarity index 100% rename from javascriptsplits/c09.tex rename to docsplits/javascriptsplits/c09.tex diff --git a/javascriptsplits/c10.tex b/docsplits/javascriptsplits/c10.tex similarity index 100% rename from javascriptsplits/c10.tex rename to docsplits/javascriptsplits/c10.tex diff --git a/javascriptsplits/c11.tex b/docsplits/javascriptsplits/c11.tex similarity index 100% rename from javascriptsplits/c11.tex rename to docsplits/javascriptsplits/c11.tex diff --git a/javascriptsplits/c12.tex b/docsplits/javascriptsplits/c12.tex similarity index 100% rename from javascriptsplits/c12.tex rename to docsplits/javascriptsplits/c12.tex diff --git a/javascriptsplits/c13.tex b/docsplits/javascriptsplits/c13.tex similarity index 100% rename from javascriptsplits/c13.tex rename to docsplits/javascriptsplits/c13.tex diff --git a/javascriptsplits/c14.tex b/docsplits/javascriptsplits/c14.tex similarity index 100% rename from javascriptsplits/c14.tex rename to docsplits/javascriptsplits/c14.tex diff --git a/javascriptsplits/c15.tex b/docsplits/javascriptsplits/c15.tex similarity index 100% rename from javascriptsplits/c15.tex rename to docsplits/javascriptsplits/c15.tex diff --git a/javascriptsplits/c16.tex b/docsplits/javascriptsplits/c16.tex similarity index 100% rename from javascriptsplits/c16.tex rename to docsplits/javascriptsplits/c16.tex diff --git a/javascriptsplits/c17.tex b/docsplits/javascriptsplits/c17.tex similarity index 100% rename from javascriptsplits/c17.tex rename to docsplits/javascriptsplits/c17.tex diff --git a/javascriptsplits/c18.tex b/docsplits/javascriptsplits/c18.tex similarity index 100% rename from javascriptsplits/c18.tex rename to docsplits/javascriptsplits/c18.tex diff --git a/javascriptsplits/c19.tex b/docsplits/javascriptsplits/c19.tex similarity index 100% rename from javascriptsplits/c19.tex rename to docsplits/javascriptsplits/c19.tex diff --git a/javascriptsplits/cm1.tex b/docsplits/javascriptsplits/cm1.tex similarity index 100% rename from javascriptsplits/cm1.tex rename to docsplits/javascriptsplits/cm1.tex diff --git a/javasplits/c00.tex b/docsplits/javasplits/c00.tex similarity index 100% rename from javasplits/c00.tex rename to docsplits/javasplits/c00.tex diff --git a/javasplits/c01.tex b/docsplits/javasplits/c01.tex similarity index 100% rename from javasplits/c01.tex rename to docsplits/javasplits/c01.tex diff --git a/javasplits/c02.tex b/docsplits/javasplits/c02.tex similarity index 100% rename from javasplits/c02.tex rename to docsplits/javasplits/c02.tex diff --git a/javasplits/c03.tex b/docsplits/javasplits/c03.tex similarity index 100% rename from javasplits/c03.tex rename to docsplits/javasplits/c03.tex diff --git a/javasplits/c04.tex b/docsplits/javasplits/c04.tex similarity index 100% rename from javasplits/c04.tex rename to docsplits/javasplits/c04.tex diff --git a/javasplits/c05.tex b/docsplits/javasplits/c05.tex similarity index 100% rename from javasplits/c05.tex rename to docsplits/javasplits/c05.tex diff --git a/javasplits/c06.tex b/docsplits/javasplits/c06.tex similarity index 100% rename from javasplits/c06.tex rename to docsplits/javasplits/c06.tex diff --git a/javasplits/c07.tex b/docsplits/javasplits/c07.tex similarity index 100% rename from javasplits/c07.tex rename to docsplits/javasplits/c07.tex diff --git a/javasplits/c08.tex b/docsplits/javasplits/c08.tex similarity index 100% rename from javasplits/c08.tex rename to docsplits/javasplits/c08.tex diff --git a/javasplits/c09.tex b/docsplits/javasplits/c09.tex similarity index 100% rename from javasplits/c09.tex rename to docsplits/javasplits/c09.tex diff --git a/javasplits/c10.tex b/docsplits/javasplits/c10.tex similarity index 100% rename from javasplits/c10.tex rename to docsplits/javasplits/c10.tex diff --git a/javasplits/c11.tex b/docsplits/javasplits/c11.tex similarity index 100% rename from javasplits/c11.tex rename to docsplits/javasplits/c11.tex diff --git a/javasplits/c12.tex b/docsplits/javasplits/c12.tex similarity index 100% rename from javasplits/c12.tex rename to docsplits/javasplits/c12.tex diff --git a/javasplits/c13.tex b/docsplits/javasplits/c13.tex similarity index 100% rename from javasplits/c13.tex rename to docsplits/javasplits/c13.tex diff --git a/javasplits/c14.tex b/docsplits/javasplits/c14.tex similarity index 100% rename from javasplits/c14.tex rename to docsplits/javasplits/c14.tex diff --git a/javasplits/c15.tex b/docsplits/javasplits/c15.tex similarity index 100% rename from javasplits/c15.tex rename to docsplits/javasplits/c15.tex diff --git a/javasplits/c16.tex b/docsplits/javasplits/c16.tex similarity index 100% rename from javasplits/c16.tex rename to docsplits/javasplits/c16.tex diff --git a/javasplits/c17.tex b/docsplits/javasplits/c17.tex similarity index 100% rename from javasplits/c17.tex rename to docsplits/javasplits/c17.tex diff --git a/javasplits/c18.tex b/docsplits/javasplits/c18.tex similarity index 100% rename from javasplits/c18.tex rename to docsplits/javasplits/c18.tex diff --git a/javasplits/c19.tex b/docsplits/javasplits/c19.tex similarity index 100% rename from javasplits/c19.tex rename to docsplits/javasplits/c19.tex diff --git a/javasplits/cm1.tex b/docsplits/javasplits/cm1.tex similarity index 100% rename from javasplits/cm1.tex rename to docsplits/javasplits/cm1.tex diff --git a/pysplits/c00.tex b/docsplits/pysplits/c00.tex similarity index 100% rename from pysplits/c00.tex rename to docsplits/pysplits/c00.tex diff --git a/pysplits/c01.tex b/docsplits/pysplits/c01.tex similarity index 100% rename from pysplits/c01.tex rename to docsplits/pysplits/c01.tex diff --git a/pysplits/c02.tex b/docsplits/pysplits/c02.tex similarity index 100% rename from pysplits/c02.tex rename to docsplits/pysplits/c02.tex diff --git a/pysplits/c03.tex b/docsplits/pysplits/c03.tex similarity index 100% rename from pysplits/c03.tex rename to docsplits/pysplits/c03.tex diff --git a/pysplits/c04.tex b/docsplits/pysplits/c04.tex similarity index 100% rename from pysplits/c04.tex rename to docsplits/pysplits/c04.tex diff --git a/pysplits/c05.tex b/docsplits/pysplits/c05.tex similarity index 100% rename from pysplits/c05.tex rename to docsplits/pysplits/c05.tex diff --git a/pysplits/c06.tex b/docsplits/pysplits/c06.tex similarity index 100% rename from pysplits/c06.tex rename to docsplits/pysplits/c06.tex diff --git a/pysplits/c07.tex b/docsplits/pysplits/c07.tex similarity index 100% rename from pysplits/c07.tex rename to docsplits/pysplits/c07.tex diff --git a/pysplits/c08.tex b/docsplits/pysplits/c08.tex similarity index 100% rename from pysplits/c08.tex rename to docsplits/pysplits/c08.tex diff --git a/pysplits/c09.tex b/docsplits/pysplits/c09.tex similarity index 100% rename from pysplits/c09.tex rename to docsplits/pysplits/c09.tex diff --git a/pysplits/c10.tex b/docsplits/pysplits/c10.tex similarity index 100% rename from pysplits/c10.tex rename to docsplits/pysplits/c10.tex diff --git a/pysplits/c11.tex b/docsplits/pysplits/c11.tex similarity index 100% rename from pysplits/c11.tex rename to docsplits/pysplits/c11.tex diff --git a/pysplits/c12.tex b/docsplits/pysplits/c12.tex similarity index 100% rename from pysplits/c12.tex rename to docsplits/pysplits/c12.tex diff --git a/pysplits/c13.tex b/docsplits/pysplits/c13.tex similarity index 100% rename from pysplits/c13.tex rename to docsplits/pysplits/c13.tex diff --git a/pysplits/c14.tex b/docsplits/pysplits/c14.tex similarity index 100% rename from pysplits/c14.tex rename to docsplits/pysplits/c14.tex diff --git a/pysplits/c15.tex b/docsplits/pysplits/c15.tex similarity index 100% rename from pysplits/c15.tex rename to docsplits/pysplits/c15.tex diff --git a/pysplits/c16.tex b/docsplits/pysplits/c16.tex similarity index 100% rename from pysplits/c16.tex rename to docsplits/pysplits/c16.tex diff --git a/pysplits/c17.tex b/docsplits/pysplits/c17.tex similarity index 100% rename from pysplits/c17.tex rename to docsplits/pysplits/c17.tex diff --git a/pysplits/c18.tex b/docsplits/pysplits/c18.tex similarity index 100% rename from pysplits/c18.tex rename to docsplits/pysplits/c18.tex diff --git a/pysplits/c19.tex b/docsplits/pysplits/c19.tex similarity index 100% rename from pysplits/c19.tex rename to docsplits/pysplits/c19.tex diff --git a/splitjs b/docsplits/splitjs similarity index 100% rename from splitjs rename to docsplits/splitjs diff --git a/splits/c00.tex b/docsplits/splits/c00.tex similarity index 100% rename from splits/c00.tex rename to docsplits/splits/c00.tex diff --git a/splits/c01.tex b/docsplits/splits/c01.tex similarity index 100% rename from splits/c01.tex rename to docsplits/splits/c01.tex diff --git a/splits/c02.tex b/docsplits/splits/c02.tex similarity index 100% rename from splits/c02.tex rename to docsplits/splits/c02.tex diff --git a/splits/c03.tex b/docsplits/splits/c03.tex similarity index 100% rename from splits/c03.tex rename to docsplits/splits/c03.tex diff --git a/splits/c04.tex b/docsplits/splits/c04.tex similarity index 100% rename from splits/c04.tex rename to docsplits/splits/c04.tex diff --git a/splits/c05.tex b/docsplits/splits/c05.tex similarity index 100% rename from splits/c05.tex rename to docsplits/splits/c05.tex diff --git a/splits/c06.tex b/docsplits/splits/c06.tex similarity index 100% rename from splits/c06.tex rename to docsplits/splits/c06.tex diff --git a/splits/c07.tex b/docsplits/splits/c07.tex similarity index 100% rename from splits/c07.tex rename to docsplits/splits/c07.tex diff --git a/splits/c08.tex b/docsplits/splits/c08.tex similarity index 100% rename from splits/c08.tex rename to docsplits/splits/c08.tex diff --git a/splits/c09.tex b/docsplits/splits/c09.tex similarity index 100% rename from splits/c09.tex rename to docsplits/splits/c09.tex diff --git a/splits/c10.tex b/docsplits/splits/c10.tex similarity index 100% rename from splits/c10.tex rename to docsplits/splits/c10.tex diff --git a/splits/c11.tex b/docsplits/splits/c11.tex similarity index 100% rename from splits/c11.tex rename to docsplits/splits/c11.tex diff --git a/splits/c12.tex b/docsplits/splits/c12.tex similarity index 100% rename from splits/c12.tex rename to docsplits/splits/c12.tex diff --git a/splits/c13.tex b/docsplits/splits/c13.tex similarity index 100% rename from splits/c13.tex rename to docsplits/splits/c13.tex diff --git a/splits/c14.tex b/docsplits/splits/c14.tex similarity index 100% rename from splits/c14.tex rename to docsplits/splits/c14.tex diff --git a/splits/c15.tex b/docsplits/splits/c15.tex similarity index 100% rename from splits/c15.tex rename to docsplits/splits/c15.tex diff --git a/splits/c16.tex b/docsplits/splits/c16.tex similarity index 100% rename from splits/c16.tex rename to docsplits/splits/c16.tex diff --git a/splits/c17.tex b/docsplits/splits/c17.tex similarity index 100% rename from splits/c17.tex rename to docsplits/splits/c17.tex diff --git a/splits/c18.tex b/docsplits/splits/c18.tex similarity index 100% rename from splits/c18.tex rename to docsplits/splits/c18.tex diff --git a/splits/c19.tex b/docsplits/splits/c19.tex similarity index 100% rename from splits/c19.tex rename to docsplits/splits/c19.tex diff --git a/splitwrapper b/docsplits/splitwrapper similarity index 100% rename from splitwrapper rename to docsplits/splitwrapper diff --git a/test/README.md b/test/README.md deleted file mode 100644 index 2ff8c0f..0000000 --- a/test/README.md +++ /dev/null @@ -1 +0,0 @@ -The mktext script is used for testing special characters in -add-text diff --git a/test/mktext b/test/mktext deleted file mode 100755 index 92cf40d..0000000 --- a/test/mktext +++ /dev/null @@ -1,7 +0,0 @@ -../cpdf -add-text "\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037\040\041\042\043\044\045\046\047\050\051\052\053\054\055\056\057\060\061\062\063\064\065\066\067\070\071\072\073\074\075\076\077\100\101\102\103\104\105\106\107\110\111\112\113\114\115\116\117\120\121\122\123\124\125\126\127\130\131\132\133\134\135\136\137\140\141\142\143\144\145\146\147\150\151\152\153\154\155\156\157\160\161\162\163\164\165\166\167\170\171\172\173\174\175\176\177\200\201\202\203\204\205\206\207\210\211\212\213\214\215\216\217\220\221\222\223\224\225\226\227\230\231\232\233\234\235\236\237\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377" ../blank.pdf -o text.pdf - -../cpdf -add-text "\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037\040\041\042\043\044\045\046\047\050\051\052\053\054\055\056\057\060\061\062\063\064\065\066\067\070\071\072\073\074\075\076\077\100\101\102\103\104\105\106\107\110\111\112\113\114\115\116\117\120\121\122\123\124\125\126\127\130\131\132\133\134\135\136\137\140\141\142\143\144\145\146\147\150\151\152\153\154\155\156\157\160\161\162\163\164\165\166\167\170\171\172\173\174\175\176\177\200\201\202\203\204\205\206\207\210\211\212\213\214\215\216\217\220\221\222\223\224\225\226\227\230\231\232\233\234\235\236\237\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377" ../blank.pdf -no-embed-font -o textnoembed.pdf - -../cpdf -add-text "\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065\065" -topright 50 ../blank.pdf -o textwidth.pdf - -../cpdf -add-text "\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377\377" -topright 50 ../blank.pdf -o textwidthspecial.pdf