On Sun, Dec 2, 2012 at 11:51 AM, Ralph Corderoy <ra...@inputplus.co.uk> wrote: > The table split across its pages 14/15 describing .ns and .rs both have > `space' as the second field, Initial value, stating space mode is the > default. Empirically, it seems correct. > > $ nroff <<<foo | uniq -c > 1 foo > 65 > $ printf '.sp 3.14i\nfoo\n' | nroff | uniq -c > 19 > 1 foo > 46 > $
More generally, while plain groff starts in space mode, some macro packages start in no-space mode. $ nroff -me <<<foo | uniq -c 7 1 foo 58 $ printf '.sp 20\nfoo\n' | nroff -me | uniq -c 7 1 foo 58 $ nroff -ms <<<foo | uniq -c 6 1 foo 59 $ printf '.sp 20\nfoo\n' | nroff -ms | uniq -c 6 1 foo 59 $ nroff -mom <<<foo | uniq -c 1 1 foo 64 $ printf '.sp 20\nfoo\n' | nroff -mom | uniq -c 21 1 foo 44 $