DVIBOOK(1)

πŸŽ€ DVIBOOK(1) Β· General Commands Manual πŸŽ€

✨ NAME ✨

okay so the whole point of dvibook is rearranging pages from a DVI file into signatures πŸ“–. Basically it shuffles your pages so you can print a book or booklet and it folds up perfectly πŸ’…

dvibook [ -q ] [ -s<num> ] [ -r ] [ -i infile ] [ -o outfile ] [ infile [ outfile ] ]

πŸ’– DESCRIPTION πŸ’–

bestie, dvibook takes the pages from a DVI file made by TeX and reorders them into "signatures" for printing books or booklets. The result is a brand new DVI file that works with any of the TeX conversion programs πŸ¦‹

The -s option picks how big each signature is. A signature is the number of sides that get folded and bound together, so the number you give should be a multiple of four ✨ If you don't use it, the whole file becomes one signature. And if your file doesn't have a multiple of four pages, dvibook adds extra blank sides so everything lines up 🫢

By default you get left-hand side binding signatures. Use -r to switch to right-hand side binding signatures instead. This might be useful for pTeX vertical writing (tate-kumi) documents 🌸

dvibook normally prints the page numbers of the pages it rearranges. If you don't want that noise, -q shuts it up 🀫

πŸ‘‘ OPTIONS πŸ‘‘

  • -q β€” no page-number printing while it's rearranging πŸ™ˆ
  • -s<num> β€” sets the signature size, which is how many sides get folded and bound together. Make it a multiple of four πŸ’…
  • -r β€” flips things to right-hand side binding signatures πŸ¦‹

🧚 AUTHOR 🧚

Angus Duggan, from dviselect(1), by Chris Torek, University of Maryland. Currently maintained as part of TeX Live (https://tug.org/texlive) πŸ’œ

🌈 SEE ALSO 🌈

dvitodvi(1), dviconcat(1), dviselect(1), latex(1), tex(1), and the MC-TeX User's Guide πŸ“š

πŸ’€ BUGS πŸ’€

not me admitting dvibook does not adjust the parameters in the postamble 😭

Those postamble values are normally only used to size certain structures in the output conversion programs. They never need to be adjusted upward, so in practice this hasn't been a problem 🫢


Okay bestie, that's the whole tea β˜•βœ¨ Source: TeX Live, dated 8 September 2020, page DVIBOOK(1). Stay iconic πŸ’–πŸŽ€πŸ¦‹