summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/man/man1/pstops.1
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-04-28 22:59:31 +0000
committerKarl Berry <karl@freefriends.org>2014-04-28 22:59:31 +0000
commit0bb29634e3fdca8563bdc863ac09b90e57141d85 (patch)
tree1e2a964d362489085d53196ab4690a7bed1e1278 /Master/texmf-dist/doc/man/man1/pstops.1
parent4dd7bee8d7ac0cc3c2a3298843450649de056ad2 (diff)
general man update for TL14
git-svn-id: svn://tug.org/texlive/trunk@33735 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/man/man1/pstops.1')
-rw-r--r--Master/texmf-dist/doc/man/man1/pstops.199
1 files changed, 51 insertions, 48 deletions
diff --git a/Master/texmf-dist/doc/man/man1/pstops.1 b/Master/texmf-dist/doc/man/man1/pstops.1
index cc4d160c890..d2750877382 100644
--- a/Master/texmf-dist/doc/man/man1/pstops.1
+++ b/Master/texmf-dist/doc/man/man1/pstops.1
@@ -1,27 +1,17 @@
-.TH PSTOPS 1 "PSUtils Release 1 Patchlevel 17"
+.TH PSTOPS 1 "PSUtils"
.SH NAME
pstops \- shuffle pages in a PostScript file
.SH SYNOPSIS
.B pstops
-[
-.B \-q
-] [
-.B \-b
-] [
-.B \-w\fIwidth\fR
-] [
-.B \-h\fIheight\fR
-] [
-.B \-p\fIpaper\fR
-] [
-.B \-d\fIlwidth\fR
-]
+.RB [ \-q ]
+.RB [ \-b ]
+.RB [ \-w\fIwidth\fR ]
+.RB [ \-h\fIheight\fR ]
+.RB [ \-p\fIpaper\fR ]
+.RB [ \-d [ \fIlwidth\fR ]]
.I pagespecs
-[
-.I infile
-[
-.I outfile
-] ]
+.RI [ infile
+.RI [ outfile ]]
.SH DESCRIPTION
.I Pstops
rearranges pages from a PostScript document, creating a new PostScript file.
@@ -37,13 +27,16 @@ follow the syntax:
.RS
.TP 12
.I pagespecs
-.I = [modulo:]specs
+=
+.RI [ modulo\fB:\fP ] specs
.TP
.I specs
-.I = spec[+specs][,specs]
+=
+.IR spec [ \fB+\fPspecs | \fB,\fPspecs ]
.TP
.I spec
-.I = [-]pageno[L][R][U][@scale][(xoff,yoff)]
+=
+.RB [ - ] \fIpageno\fP [ L | R | U ][ H | V ][ @\fIscale\fP ][ ( \fIxoff\fP , \fIyoff\fP ) ]
.RE
.sp
.I modulo
@@ -74,69 +67,79 @@ to convert to centimetres or inches, or the flag
or
.B "h"
to specify as a multiple of the width or height.
-The optional parameters \fIL\fR, \fIR\fR, and \fIU\fR rotate the page left,
-right, or upside-down.
+The optional parameters
+.BR L ,
+.BR R ,
+.BR R ,
+.BR R ,
+and
+.B V
+rotate the page left, right, or upside-down, and flip (mirror) page
+horizontally or vertically.
The optional
.I scale
parameter scales the page by the fraction specified.
If the optional minus sign is specified, the page is relative to the end of
the document, instead of the start.
-If page \fIspec\fRs are separated by
-.B \+
+If page
+.IR spec s
+are separated by
+.B +
the pages will be merged into one page; if they are separated by
-.B \,
+.B ,
they will be on separate pages.
If there is only one page specification, with
.I pageno
zero, the \fIpageno\fR may be omitted.
-The shift, rotation, and scaling are performed
+The shift, rotation, and scaling are applied
+to the PostScript transformation matrix
in that order regardless of which order
they appear on the command line.
+The matrix accumulates the individual transformations.
+The effect on the image is to first scale with respect to an origin
+at the lower left corner, then rotate about the same origin, and
+finally shift.
.PP
The
-.I \-w
+.B \-w
option gives the width which is used by the
.B "w"
dimension specifier, and the
-.I \-h
+.B \-h
option gives the height which is used by the
.B "h"
dimension specifier. These dimensions are also used (after scaling) to set the
clipping path for each page.
-The
-.I \-p
-option can be used as an alternative, to set the paper size to
-.B a3, a4, a5, b5, letter, legal, tabloid, statement, executive, folio, quarto
-or
-.B 10x14.
-The default paper size is
-.B a4.
+The
+.B \-p
+option can be used as an alternative, to set the paper size. See
+.BR paper (1).
.PP
The
-.I \-b
+.B \-b
option prevents any
.B bind
operators in the PostScript prolog from binding. This may be needed in cases
where complex multi-page re-arrangements are being done.
.PP
The
-.I \-d
+.D \-d
option draws a line around the border of each page, of the specified width.
If the \fIlwidth\fR parameter is omitted, a default linewidth of 1 point is
assumed. The linewidth is relative to the original page dimensions,
-\fIi.e.\fR it is scaled up or down with the rest of the page.
+i.e., it is scaled up or down with the rest of the page.
.PP
Pstops normally prints the page numbers of the pages re-arranged; the
-.I \-q
+.B \-q
option suppresses this.
.SH EXAMPLES
This section contains some sample re-arrangements. To put two pages on one
sheet (of A4 paper), the pagespec to use is:
.sp
.ce
-2:0L@.7(21cm,0)+1L@.7(21cm,14.85cm)
+"2:0L@.7(21cm,0)+1L@.7(21cm,14.85cm)"
.sp
To select all of the odd pages in reverse order, use:
.sp
@@ -146,21 +149,21 @@ To select all of the odd pages in reverse order, use:
To re-arrange pages for printing 2-up booklets, use
.sp
.ce
-4:-3L@.7(21cm,0)+0L@.7(21cm,14.85cm)
+"4:-3L@.7(21cm,0)+0L@.7(21cm,14.85cm)"
.sp
for the front sides, and
.sp
.ce
-4:1L@.7(21cm,0)+-2L@.7(21cm,14.85cm)
+"4:1L@.7(21cm,0)+-2L@.7(21cm,14.85cm)"
.sp
for the reverse sides (or join them with a comma for duplex printing).
.SH AUTHOR
-Copyright (C) Angus J. C. Duggan 1991-1995
+Written by Angus J. C. Duggan.
.SH "SEE ALSO"
-epsffit(1), psbook(1), psnup(1), psresize(1), psselect(1), pstops(1), extractres(1), fixdlsrps(1), fixfmps(1), fixpsditps(1), fixpspps(1), fixscribeps(1), fixtpps(1), fixwfwps(1), fixwpps(1), fixwwps(1), includeres(1), psmerge(1), getafm(1)
+.BR psutils (1)
.SH TRADEMARKS
.B PostScript
is a trademark of Adobe Systems Incorporated.
.SH BUGS
-.I Pstops
+.B Pstops
does not accept all DSC comments.