summaryrefslogtreecommitdiff
path: root/Build/source/libs/libpaper/libpaper-src/man/papersize.5.in
blob: a753e3e365e6553bf30581bf0714c51612352d8a (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
.TH PAPERSIZE 5
.SH NAME
.B papersize
\- specify preferred paper size
.SH SYNOPSYS
.B @PAPERCONF@
.SH DESCRIPTION
The
.B papersize
file is used to specify the preferred paper size to use by available
commands and programs generating documents.
.PP
The format of this file is extremely simple: whitespace and anything
starting with `#' is ignored, and the name of the paper is the first
string found; the case in the name of the paper does not import (see
.B CAVEATS
section however).
.SH "PAPER NAMES"
The following names are commonly understood by programs:
.BR a3 ", " a4 ", " a5 ", " b5 ", " letter ", " legal ", " executive ,
.B note
and
.BR 11x17 .
.PP
Additional paper names that one may encounter are:
.BR a0 ", " a1 ", " a2 ", " a6 ", " a7 ", " a8 ", " a9 ", " a10 ,
.BR b0 ", " b1 ", " b2 ", " b3 ", " b4 ", " tabloid ,
.BR statement ", " note ,
.BR halfletter ", " halfexecutive ", " folio ", " quarto ", " ledger ,
.BR archA ", " archB ", " archC ", " archD ", " archE ", " flsa ,
.BR flse ", " csheet ", " dsheet ,
.B esheet
and
.BR 10x14 .
.PP
The value of the
.B papersize
file can be overridden by
looking in order at the
.B @PAPERSIZEVAR@
environment variable, then at the contents of the file specified by the
.B @PAPERCONFVAR@
environment variable.  If the
.B papersize
file does not exist, programs using the paper library default to using
.B letter
as a fall-back value
.SH CAVEATS
This manual page documents the format of the
.B papersize
file that is read by the
.B libpaper
library.
Some programs that read this file do not yet use the library and may have
trouble ignoring whitespace and comments in the file; they may also
require that the paper names use a specific capitalization.
.SH DOCUMENTATION
Yves Arrouye <arrouye@debian.org>
.SH SEE ALSO
.BR paperconf (1)
.br
.BR paperconfig (8)