[Top][All Lists]

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

[groff] 18/33: doc/ Fix momentary lapse of reason.

From: G. Branden Robinson
Subject: [groff] 18/33: doc/ Fix momentary lapse of reason.
Date: Sun, 16 Oct 2022 15:52:18 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit e3d2070cf9b116abd6a435675b81ca2d0e29c502
Author: G. Branden Robinson <>
AuthorDate: Wed Oct 12 12:21:23 2022 -0500

    doc/ Fix momentary lapse of reason.
    Partially revert commit 1728f9229a, 5 October.  I must have eaten the
    wrong mushrooms; the correct argument order was "h w" all along.  That
    is what pic(1) produces and what me(7) must accept.
    DWB 3.3 pic:
    pltroff.c: printf(".PS %.3fi %.3fi %s", yconv(ymin), xconv(xmax), s);
    GNU pic:
    src/preproc/pic/troff.cpp: printf(".PS %.3fi %.3fi", height, width);
    4.4BSD e.tmac:
    .de PS \" *** start picture: $1=height, $2=width in units or inches
    .nr g7 \\$2
    .in (\\n(.lu-\\n(g7u)/2u
    .ne \\$1u
    GNU e.tmac:
    .de PS  \" *** start picture: $1=height, $2=width in units or inches
    .nr g7 \\$2
    .in (u;\\n(.l-\\n(g7>?0/2)
    .ne \\$1u
 ChangeLog       | 5 +----
 doc/ | 6 +++---
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 456ee0df5..b0b9ef0b3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -185,10 +185,7 @@
 2022-10-05  G. Branden Robinson <>
-       * doc/ Fix documentation errors.
-       (Preprocessor Support) <PS>: Swap argument order (width comes
-       first), note empty defaults, and (vaguely) describe their
-       purpose.  DWB and GNU pic semantics evidently diverge here.
+       * doc/ Fix documentation error.
        (Summary) <\_>: Describe as "underrule", not "underscore".
        These are distinct: the latter is a glyph; the former is drawn
        by typesetters and rendered with SGR attributes on terminals.
diff --git a/doc/ b/doc/
index 464a66ace..fff4ea3f6 100644
--- a/doc/
+++ b/doc/
@@ -1330,16 +1330,16 @@ End
 .b .PS
-.i w
 .i h
+.i w
 .i \%@g@pic (1)
-.i w
+.i h
-.i h
+.i w
 if present,
 scale the image.

reply via email to

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