PAPERSPECS(5)
π paperspecs π
okay bestie, welcome to paperspecs from the File Formats Manual π this is the file that tells your system what paper sizes exist, and honestly it's giving organization π
π NAME π
paperspecs is the paper size specifications file. Basically, the list of paper sizes, all in one place β¨
πΈ DESCRIPTION πΈ
It's a CSV format list of the paper size specs used by paper. Each line has these fields, in this exact order:
NAME,WIDTH,HEIGHT,UNIT
For the units, you've got three options: pt (PostScript points), mm, and in π
β οΈ a size can be defined more than once, but only the first definition is normally used. So the user's paperspecs file wins over the system file (see FILES below) π€ main character energy for your own list π
Multiple definitions are also a thing, and it's lowkey genius. They let inexact definitions get looked up by size π§ For example, the LC_PAPER mechanism on some systems defines paper sizes in whole millimetres, so you end up with a Letter size that doesn't exactly match the inches definition. Iykyk π
π¦ FILES π¦
/etc/paperspecsβ the system list of paper sizes.$XDG_CONFIG_HOME/paperspecsβ the user's own list of paper sizes. This gets prepended to the system list, so it goes first β¨
π BUGS π
π¨ the CSV format is restricted, so quotes are not allowed. That means fields cannot be escaped. no cap, this one is a little rough π
π§ CREDITS π§
The original list of paper names came from Ghostscript 3.68's gs_stadt.ps. Respect to the OG source π«Ά
π AUTHOR π
Reuben Thomas, Reuben Thomas <rrt@sc3d.org>, the real one π
π SEE ALSO π
paper(1)β the command that actually uses all of this. go check it out π₯
that's the tea, bestie π«Ά PAPERSPECS(5), last updated 11 January 2014. stay iconic π π
π¦ where this page comes from
- alpine 3.22: libpaper-doc 2.2.5-r0 Β· LGPL-2.1-or-later OR MIT
- alpine 3.23: libpaper-doc 2.2.6-r0 Β· LGPL-2.1-or-later OR MIT
- alpine 3.24: libpaper-doc 2.2.6-r0 Β· LGPL-2.1-or-later OR MIT
- arch rolling: libpaper 2.2.8-1 Β· LGPL-2.1-or-later AND LicenseRef-Public-Domain AND GPL-3.0-or-later AND LGPL-2.0-or-later AND FSFAP AND MIT
- debian trixie: libpaper2 2.2.5-0.3+b2 Β· MIT
- fedora 43: paper 1:2.1.1-9.fc43 Β· GPL-3.0-or-later AND FSFAP AND GPL-2.0-only
- fedora 44: paper 1:2.1.1-10.fc44 Β· GPL-3.0-or-later AND FSFAP AND GPL-2.0-only
- opensuse-leap 16.0: libpaper 2.1.0-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: libpaper 2.1.0-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: libpaper 2.1.0-160000.2.2 Β· GPL-3.0-or-later
- opensuse-leap 16.0: libpaper 2.1.0-160000.2.2 Β· GPL-3.0-or-later
- ubuntu questing: libpaper2 2.2.5-0.3 Β· MIT
- ubuntu resolute: libpaper2 2.2.5-0.3maysync1 Β· MIT
- ubuntu stonking: libpaper2 2.2.5-0.4 Β· MIT
- Copyright (c) 2013-2021 Reuben Thomas <rrt@sc3d.org>
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms