[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 26/40: [troff, man]: Tweak comments.
From: |
G. Branden Robinson |
Subject: |
[groff] 26/40: [troff, man]: Tweak comments. |
Date: |
Mon, 12 Dec 2022 19:28:06 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit c79461846fd819f29d6fdea897cc56bc823a06a1
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Dec 11 15:14:14 2022 -0600
[troff, man]: Tweak comments.
tmac/an.tmac: Fix terminological nit in comment.
src/roff/troff/div.cpp: Identify a chunk that should be refactored out.
---
src/roff/troff/div.cpp | 2 ++
tmac/an.tmac | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/roff/troff/div.cpp b/src/roff/troff/div.cpp
index 48565262e..647f2c0d8 100644
--- a/src/roff/troff/div.cpp
+++ b/src/roff/troff/div.cpp
@@ -814,6 +814,8 @@ void page_number()
// the ps4html register is set if we are using -Tps
// to generate images for html
+ // XXX: Yuck! Get rid of this; macro packages already test the
+ // register before invoking .pn.
reg *r = (reg *)register_dictionary.lookup("ps4html");
if (r == NULL)
if (has_arg() && get_integer(&n, topdiv->get_page_number()))
diff --git a/tmac/an.tmac b/tmac/an.tmac
index 783b6692d..76eaaed67 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -230,7 +230,7 @@
. fam \\*[an*body-family]
. ft R
.
-. nr PS 10z \" default point size
+. nr PS 10z \" default type size
. nr PS-SS 10z
. nr PS-SH 10.95z
. nr VS 12p
@@ -1423,7 +1423,7 @@ contains unsupported escape sequence
. if r P \
. pn 0\n[P]
.
-.\" point size
+.\" type size
.if !r S \{\
. nr S 10
. if '\*[.T]'X75-12' \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 26/40: [troff, man]: Tweak comments.,
G. Branden Robinson <=