groff-commit
[Top][All Lists]
Advanced

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

[groff] 28/40: doc/ms.ms: Set rendering parameters for nroff.


From: G. Branden Robinson
Subject: [groff] 28/40: doc/ms.ms: Set rendering parameters for nroff.
Date: Wed, 10 Feb 2021 01:32:20 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 81df24c8317d1a64d18096c88bb2df5f759b9bbc
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Feb 8 19:31:20 2021 +1100

    doc/ms.ms: Set rendering parameters for nroff.
    
    * Set line length to 91n in nroff mode--any shorter and we have to
      rework the tables.  Shorter than 91n, and we get warnings from grotty
      about writing characters above the first line.  Shorter than 89n, and
      we start getting warnings from tbl-generated roff about the table
      being wider than the line width and columns being squeezed.
    * Set LT register by interpolating \n[LL].
    * Set paragraph indentation to 4n in nroff mode.
---
 doc/ms.ms | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/doc/ms.ms b/doc/ms.ms
index f0898f0..56463d2 100644
--- a/doc/ms.ms
+++ b/doc/ms.ms
@@ -13,11 +13,13 @@
 \s-1\\$1\s0\\$2
 ..
 .\".RP
-.nr LL 6.5i
-.nr LT 6.5i
+.ie t .nr LL 6.5i
+.el   .nr LL 91n
+.nr LT \n[LL]
 .nr PS 11
 .nr VS 13
-.nr PI 3.5n
+.ie t .nr PI 3.5n
+.el   .nr PI 4n
 .ND February 2021
 .EH '%''February 2021'
 .EF ''''



reply via email to

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