> John Gardner <gardnerjo...@gmail.com> wrote: > > I'm using the dl register to set page indent with .in, which works fine in > nroff, but generates absurdly large sizes in groff. For instance, a > diversion with a width of 624 in TTY output becomes 286946 in PostScript. > > I'm aware this is connected to the matter of device resolution, but is > there any way to reliably convert the device's "native units" (?) into > inches, or what-have-you? I tried making use of the .H register, but it's > reporting a value of 1 for PostScript. Oddly, it's reporting 24 for > terminal output.
Is there some reason you can’t use device-independent units like inches or ens? .in 1i \” One inch indent on all devices .in 6n \” Six ens, (1 en is roughly the current text size) — Larry