summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-02-25 15:37:30 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-02-29 15:56:45 +0100
commit333e8de0cbf45bb8b5758410c0dd89f0ec09ba84 (patch)
treee06466c2b96abc5047e72c8a43058f29d4740100 /docs
parent6c2f297bae8547820e33b2e2ce382eacdde228cb (diff)
downloadmupdf-333e8de0cbf45bb8b5758410c0dd89f0ec09ba84.tar.xz
Update man pages with new pdfcreate command.
Diffstat (limited to 'docs')
-rw-r--r--docs/man/mutool.131
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/man/mutool.1 b/docs/man/mutool.1
index 4d2c0914..d6bc021f 100644
--- a/docs/man/mutool.1
+++ b/docs/man/mutool.1
@@ -209,6 +209,37 @@ List form and postscript XObjects.
.B pages
Comma separated list of page numbers and ranges to include.
+.SH CREATE
+mutool create [-o output.pdf] [options] page1.txt [page2.txt ...]
+.PP
+The create command creates a new PDF file with the contents created
+from one or more input files containing graphics commands.
+.TP
+.B \-o output
+If no output file is specified, it will write the created PDF to "out.pdf"
+in the current directory.
+.TP
+.B \-a
+ASCII Hex encode binary streams.
+.TP
+.B \-z
+Deflate uncompressed streams.
+.TP
+.B page.txt
+A page is created for each input file, with the contents of the file copied
+into the content stream. Special comments in the input files are parsed to
+define the page dimensions and font and image resources:
+.PP
+%%MediaBox 0 0 500 800
+.br
+%%Rotate 90
+.br
+%%Font Tm Times-Roman
+.br
+%%Font Fn0 path/to/font/file.ttf
+.br
+%%Image Im0 path/to/image.png
+
.SH PAGES
mutool pages [options] input.pdf [pages ...]
.PP