From fe714093ebb95e4a870282782e2124cff2e546e5 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Fri, 10 Dec 2021 12:12:32 +0100 Subject: 2021-12-10 11:31:00 --- doc/context/scripts/mkiv/context.html | 4 ++ doc/context/scripts/mkiv/context.man | 9 ++++ doc/context/scripts/mkiv/context.xml | 11 +++++ doc/context/scripts/mkiv/mtx-context.html | 4 ++ doc/context/scripts/mkiv/mtx-context.man | 9 ++++ doc/context/scripts/mkiv/mtx-context.xml | 11 +++++ doc/context/scripts/mkiv/mtx-pdf.html | 53 ++++++++++++++++++++++ doc/context/scripts/mkiv/mtx-pdf.man | 39 ++++++++++++++++ doc/context/scripts/mkiv/mtx-pdf.xml | 25 ++++++++++ .../general/manuals/luametatex/luametatex.tex | 10 ++++ 10 files changed, 175 insertions(+) create mode 100644 doc/context/scripts/mkiv/mtx-pdf.html create mode 100644 doc/context/scripts/mkiv/mtx-pdf.man create mode 100644 doc/context/scripts/mkiv/mtx-pdf.xml (limited to 'doc') diff --git a/doc/context/scripts/mkiv/context.html b/doc/context/scripts/mkiv/context.html index 15fa7985c..567b9b165 100644 --- a/doc/context/scripts/mkiv/context.html +++ b/doc/context/scripts/mkiv/context.html @@ -115,6 +115,10 @@ --extra=nameprocess extra (mtx-context-... in distribution) --extrasshow extras + + --ownerpassword + --userpassword + --permissions special --pdftexprocess file with texexec using pdftex diff --git a/doc/context/scripts/mkiv/context.man b/doc/context/scripts/mkiv/context.man index 93cd877be..7f6e97fda 100644 --- a/doc/context/scripts/mkiv/context.man +++ b/doc/context/scripts/mkiv/context.man @@ -188,6 +188,15 @@ process extra (mtx-context-... in distribution) .TP .B --extras show extras +.TP +.B --ownerpassword + +.TP +.B --userpassword + +.TP +.B --permissions + .SH OPTIONS: SPECIAL .TP .B --pdftex diff --git a/doc/context/scripts/mkiv/context.xml b/doc/context/scripts/mkiv/context.xml index cc13bf7df..c2e7c1c0b 100644 --- a/doc/context/scripts/mkiv/context.xml +++ b/doc/context/scripts/mkiv/context.xml @@ -223,6 +223,17 @@ show extras + + + encrypt the (pdf) file using this master password + + + use an additional password for opening the document + + + list of: print, modify, extract, add, fillin, assemble, quality + + diff --git a/doc/context/scripts/mkiv/mtx-context.html b/doc/context/scripts/mkiv/mtx-context.html index 15fa7985c..567b9b165 100644 --- a/doc/context/scripts/mkiv/mtx-context.html +++ b/doc/context/scripts/mkiv/mtx-context.html @@ -115,6 +115,10 @@ --extra=nameprocess extra (mtx-context-... in distribution) --extrasshow extras + + --ownerpassword + --userpassword + --permissions special --pdftexprocess file with texexec using pdftex diff --git a/doc/context/scripts/mkiv/mtx-context.man b/doc/context/scripts/mkiv/mtx-context.man index 93cd877be..7f6e97fda 100644 --- a/doc/context/scripts/mkiv/mtx-context.man +++ b/doc/context/scripts/mkiv/mtx-context.man @@ -188,6 +188,15 @@ process extra (mtx-context-... in distribution) .TP .B --extras show extras +.TP +.B --ownerpassword + +.TP +.B --userpassword + +.TP +.B --permissions + .SH OPTIONS: SPECIAL .TP .B --pdftex diff --git a/doc/context/scripts/mkiv/mtx-context.xml b/doc/context/scripts/mkiv/mtx-context.xml index cc13bf7df..c2e7c1c0b 100644 --- a/doc/context/scripts/mkiv/mtx-context.xml +++ b/doc/context/scripts/mkiv/mtx-context.xml @@ -223,6 +223,17 @@ show extras + + + encrypt the (pdf) file using this master password + + + use an additional password for opening the document + + + list of: print, modify, extract, add, fillin, assemble, quality + + diff --git a/doc/context/scripts/mkiv/mtx-pdf.html b/doc/context/scripts/mkiv/mtx-pdf.html new file mode 100644 index 000000000..2932b942c --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-pdf.html @@ -0,0 +1,53 @@ + + + + + + + + + + + ConTeXt PDF Helpers 0.10 + + + + + +
+
ConTeXt PDF Helpers 0.10
+
+
+
+
wiki: http://contextgarden.net | mail: ntg-context@ntg.nl | website: http://www.pragma-ade.nl
+
+
+
+ +
+
+

Command line options

+ + + + + + + + + +
flagvaluedescription
--infoshow some info about the given file
--metadatashow metadata xml blob
--prettyreplace newlines in metadata
--fontsshow used fonts (--detail)
--objectshow object"/>
+
+
+
+ + diff --git a/doc/context/scripts/mkiv/mtx-pdf.man b/doc/context/scripts/mkiv/mtx-pdf.man new file mode 100644 index 000000000..ea74f2aa1 --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-pdf.man @@ -0,0 +1,39 @@ +.TH "mtx-pdf" "1" "01-01-2021" "version 0.10" "ConTeXt PDF Helpers" +.SH NAME + mtx-pdf - ConTeXt PDF Helpers +.SH SYNOPSIS +.B mtxrun --script pdf [ +.I OPTIONS ... +.B ] [ +.I FILENAMES +.B ] +.SH DESCRIPTION +.B ConTeXt PDF Helpers +.SH OPTIONS +.TP +.B --info +show some info about the given file +.TP +.B --metadata +show metadata xml blob +.TP +.B --pretty +replace newlines in metadata +.TP +.B --fonts +show used fonts (--detail) +.TP +.B --object +show object"/> +.SH AUTHOR +More information about ConTeXt and the tools that come with it can be found at: + + +.B "maillist:" +ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context + +.B "webpage:" +http://www.pragma-ade.nl / http://tex.aanhet.net + +.B "wiki:" +http://contextgarden.net diff --git a/doc/context/scripts/mkiv/mtx-pdf.xml b/doc/context/scripts/mkiv/mtx-pdf.xml new file mode 100644 index 000000000..08b04d85e --- /dev/null +++ b/doc/context/scripts/mkiv/mtx-pdf.xml @@ -0,0 +1,25 @@ + + + + mtx-pdf + ConTeXt PDF Helpers + 0.10 + + + + + show some info about the given file + show metadata xml blob + replace newlines in metadata + show used fonts ( + show object"/> + + + mtxrun --script pdf --info foo.pdf + mtxrun --script pdf --metadata foo.pdf + mtxrun --script pdf --metadata --pretty foo.pdf + mtxrun --script pdf --stream=4 foo.pdf + + + + diff --git a/doc/context/sources/general/manuals/luametatex/luametatex.tex b/doc/context/sources/general/manuals/luametatex/luametatex.tex index 9958db10a..69bfc9509 100644 --- a/doc/context/sources/general/manuals/luametatex/luametatex.tex +++ b/doc/context/sources/general/manuals/luametatex/luametatex.tex @@ -102,6 +102,16 @@ \enableexperiments[fonts.compact] % \enabledirectives[fonts.injections.method=advance] % tricky ... not all xoffsets are advance robust +% This is only for testing, use the command line (or banner line) instead. +% +% \startluacode +% lpdf.setencryption { +% ownerpassword = "password", +% userpassword = "", +% permissions = "print,quality" +% } +% \stopluacode + \pushoverloadmode \unprotect % test code \protect \popoverloadmode -- cgit v1.2.3