summaryrefslogtreecommitdiff
path: root/Build/source/libs/libpaper/libpaper-src/man/paperconf.1.in
blob: fc45c0a878c42898186154d78f0e9bf7ac10e09a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
.TH PAPERCONF 1 "25 October 2013"
.SH NAME
.B paperconf
\- print paper configuration information
.SH SYNOPSIS
\fBpaperconf\fR
[\fB\-z\fR]
[\fB\-n\fR|\fB\-N\fR]
[\fB\-s\fR|\fB\-w\fR|\fB\-h\fR]
[\fB\-c\fR|\fB\-m\fR|\fB\-i\fR]
[[\fB\-p\fR] \fIpaper\fR|\fB\-d\fR|\fB\-a\fR]
.SH DESCRIPTION
.B paperconf
prints information about a given paper.
The information that can be obtained is the name of the paper, its
size and its width or height.
When called without arguments,
.B paperconf
prints the name of the system- or user-specified paper, obtained by
looking in order at the
.B @PAPERSIZEVAR@
environment variable
or by using
.B a4
as a fall-back value.
By default, width and height of the paper are printed in PostScript points.
.SH OPTIONS
.TP
.BI \-p " paper"
Specify the name of the
.I paper
about which information is asked.
.TP
.B \-d
Use the default builtin paper name.
.TP
.B \-a
Consider all known paper names.
.TP
.B \-z
If the paper name is unknown, print it but issue a message on the
standard error and exit with a non-zero code.
.TP
.B \-n
Print the name of the paper.
.TP
.B \-N
Print the name of the paper with the first letter capitalized.
.TP
.B \-s
Print the size (width followed by height) of the paper.
.TP
.B \-w
Print the width of the paper.
.TP
.B \-h
Print the height of the paper.
.TP
.B \-c
Use centimetres as unit for paper size.
.TP
.B \-m
Use millimetres as unit for paper size.
.TP
.B \-i
Use inches as unit for paper size.

.SH ENVIRONMENT
.TP 20
.B @PAPERSIZEVAR@
Paper size to use.
.SH AUTHOR
Yves Arrouye <arrouye@debian.org>

Modified for TeX Live by Peter Breitenlohner <tex-live@tug.org>