[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 01/37: [man]: Add deprecation warnings to AT, UC, HP.
From: |
G. Branden Robinson |
Subject: |
[groff] 01/37: [man]: Add deprecation warnings to AT, UC, HP. |
Date: |
Mon, 14 Mar 2022 01:59:05 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit aea1dfb11bbe99df52ca3124eb4cfd11c36a1faa
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Mar 6 08:53:41 2022 +1100
[man]: Add deprecation warnings to AT, UC, HP.
* tmac/an.tmac (AT, UC, HP): Add deprecation warnings. For the last,
only do so if we're not inside a synopsis (SY/YS), since our
definition of `SY` calls `HP` internally. (This does seem
hypocritical. Perhaps if we knew the correct CSS incantation to speak
in grohtml, we could un-deprecate `HP`.)
---
ChangeLog | 8 ++++++++
tmac/an.tmac | 3 +++
2 files changed, 11 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index edec6a9f..2d75b3bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-03-06 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * tmac/an.tmac (AT, UC, HP): Add deprecation warnings. For the
+ last, only do so if we're not inside a synopsis (SY/YS), since
+ our definition of `SY` calls `HP` internally. (This does seem
+ hypocritical. Perhaps if we knew the correct CSS incantation
+ to speak in grohtml, we could un-deprecate `HP`.)
+
2022-03-06 G. Branden Robinson <g.branden.robinson@gmail.com>
* tmac/tmac.an (M4CHECK): Rename stamp file to make its purpose
diff --git a/tmac/an.tmac b/tmac/an.tmac
index f14b3c7f..f33b5dae 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -341,6 +341,7 @@
.\" Designate an AT&T Unix man page.
.\" .AT [system-id[ release-id]]
.de1 AT
+\\*[an-deprecation-warn]\\
. ds an-extra2 "7th Edition\"
. if "\\$1"3" .ds an-extra2 "7th Edition\"
. if "\\$1"4" .ds an-extra2 "System III\"
@@ -353,6 +354,7 @@
.\" Designate a BSD Unix man page.
.\" .UC [system-id]
.de1 UC
+\\*[an-deprecation-warn]\\
. ds an-extra2 "3rd Berkeley Distribution\"
. if "\\$1"3" .ds an-extra2 "3rd Berkeley Distribution\"
. if "\\$1"4" .ds an-extra2 "4th Berkeley Distribution\"
@@ -746,6 +748,7 @@
.\" Set a paragraph with a hanging indentation.
.\" .HP [indent]
.de1 HP
+. if !\\n[mS] \\*[an-deprecation-warn]\c
. an-break-paragraph
. ne (1v + 1u)
. if \\n[.$] .nr an-prevailing-indent (n;\\$1)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 01/37: [man]: Add deprecation warnings to AT, UC, HP.,
G. Branden Robinson <=