groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] <OK> Backgound image slightly higher on page one


From: Dave Kemper
Subject: Re: [Groff] <OK> Backgound image slightly higher on page one
Date: Sun, 2 Dec 2012 12:22:47 -0600

On Sun, Dec 2, 2012 at 11:51 AM, Ralph Corderoy <address@hidden> 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
$



reply via email to

[Prev in Thread] Current Thread [Next in Thread]