dvibook โ rearrange pages in DVI file into signatures
| Use Case | Command | Description |
|---|---|---|
| ๐ Booklet printing (4-page signature) | dvibook -s4 input.dvi output.dvi | Rearrange pages into 4-page signatures for booklet binding |
| ๐ Specify signature size | dvibook -s16 input.dvi | Use 16โpage signatures (multiple of 4) |
| ๐ Rightโhand binding | dvibook -r input.dvi | Switch to rightโhand side binding (e.g., for pTeX vertical writing) |
| ๐ Suppress page number output | dvibook -q input.dvi | Run quietly without printing rearranged page numbers |
| ๐ Explicit input/output files | dvibook -i input.dvi -o output.dvi | Specify input and output files explicitly |
dvibook [ -q ] [ -s<num> ] [ -r ] [ -i infile ] [ -o outfile ] [ infile [ outfile ] ]
Dvibook rearranges pages from a DVI file produced by TeX into โsignaturesโ for printing books or booklets, creating a new DVI file usable by any of the TeX conversion programs.
๐ The -s option selects the size of signature which will be used. The signature size is the number of sides which will be folded and bound together; the number given should be a multiple of four. The default is to use one signature for the whole file. Extra blank sides will be added if the file does not contain a multiple of four pages.
๐ By default, dvibook rearranges the pages into leftโhand side binding signatures; the -r option switches to rightโhand side binding signatures. This might be useful for pTeX vertical writing (tateโkumi) documents.
๐ Dvibook normally prints the page numbers of the pages rearranged; the -q option suppresses this.
Angus Duggan, from dviselect(1), by Chris Torek, University of Maryland. Currently maintained as part of TeX Live (https://tug.org/texlive).
Dvibook does not adjust the parameters in the postamble; however, since these values are normally used only to size certain structures in the output conversion programs, and the parameters never need to be adjusted upward, this has not proven to be a problem.
TeX Live โ 8 September 2020
Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-04 19:58 @216.73.216.243
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)