bookman(1)
π BOOKMAN(1) β bestie, we're making a whole BOOK π
okay so like. imagine taking a giant pile of man pages and turning them into an actual, literal, bound-and-printed book. that's bookman(1). she's giving librarian energy but make it β¨compilerβ¨. no cap.
β¨ NAME β¨
bookman β Generate a book from man pages ππ¦
π SYNOPSIS π
bookman [-pPxn] [-o outfile] [-a author] [-d date] [-r release]
[-t title] [-v volume] [-c coverfile] [manfile]
π DESCRIPTION π
so here's the tea, bestie: bookman compiles a whole set of man page files β the ones you name with the manfile arguments β into one glorious book. iconic behavior, truly.
and if you don't hand her a single manfile? no problem, queen. she just reads your filenames straight from standard input. she's flexible like that. πββοΈ
π OPTIONS π
-pβ PDF output format. yes bestie, glowy pdf book π-Pβ Postscript output format. retro but make it slay.-xβ X11 previewing, usinggxditview(1). look at your book before you commit, we love a vibe check π-nβ no format at all; the output is directgtroffintermediate format. raw. unfiltered. main character energy.-ooutfile β output into the file outfile. the default is standard output, just fyi π«Ά-aauthor β sets the author, right there on the cover page. put your name on it, you earned it βοΈ-ddate β sets the date on the cover page. π-rrelease β sets the book name and the release on the cover page. two for one, we love a deal π-ttitle β sets the title on the cover page. this is the fun one, go feral β¨-vvolume β specifies the name of the volume. π-ccoverfile β uses the file coverfile to generate the cover page, which means every page before the table of content. heads up though: coverfile must be ingroff_ms(7)format, or it's not gonna work π
π ENVIRONMENT π
SOURCE_DATE_EPOCHβ a Unix timestamp π°οΈ that gets used for the date in the header instead of the current date. for all my reproducible-build girlies out there π
π EXAMPLE π
say you wanna build a reference manual out of section 2 man pages (the syscall section, we stan), you literally just do:
$ cd /usr/share/man/man2
$ bookman -p -t 'Unix Reference Manual' * >book.pdf
and BOOM. book.pdf. ate. π₯
π SEE ALSO π
man(1), mandoc(7), groff_ms(7), groff(1), troff(1), grops(1), gxditview(1), ps2pdf(1).
like, read them too bestie, iykyk π
π§ AUTHOR π§
Marc Vertes <mvertes@free.fr> β the legend who made all of this possible π«Ά
and that's the whole page, no cap π this lil masterpiece came from txt2man-1.7.1, dated 09 May 2025. periodt. πΈβ¨
π¦ where this page comes from
- debian trixie: txt2man 1.7.1-5 Β· GPL-2.0-or-later
- ubuntu resolute: txt2man 1.7.1-5 Β· GPL-2.0-or-later
- ubuntu stonking: txt2man 1.7.1-5 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms