[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 10/19: [ms]: Add "sorry" stubs for unsupported ms macros.
From: |
G. Branden Robinson |
Subject: |
[groff] 10/19: [ms]: Add "sorry" stubs for unsupported ms macros. |
Date: |
Wed, 6 Jul 2022 15:45:44 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit c1b90eb130e43edcc93e3ac20058130526255682
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Jul 6 11:43:08 2022 -0500
[ms]: Add "sorry" stubs for unsupported ms macros.
* tmac/s.tmac: Add "sorry" implementations for documented but
unsupported Unix Version 7 ms macros. This way it's easier to tell
when a historical document needs one and this case is distinguishable
from a document-private macro warned about with "groff -w mac".
---
ChangeLog | 8 ++++++++
tmac/s.tmac | 31 +++++++++++++++++++++++++------
2 files changed, 33 insertions(+), 6 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 05d78dab..0120b8ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-07-06 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * tmac/s.tmac: Add "sorry" implementations for documented but
+ unsupported Unix Version 7 ms macros. This way it's easier to
+ tell when a historical document needs one and this case is
+ distinguishable from a document-private macro warned about with
+ "groff -w mac".
+
2022-07-06 G. Branden Robinson <g.branden.robinson@gmail.com>
* tmac/s.tmac (UX): Drop undocumented support for this macro.
diff --git a/tmac/s.tmac b/tmac/s.tmac
index 20cd130e..c7d206d4 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -55,17 +55,36 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
. @diag warning: \\$*
..
.
+.de @nop
+..
+.
.de @not-implemented
.@error sorry, .\\$0 not implemented
.als \\$0 @nop
..
.
-.\" AT&T technical memorandum/Berkeley thesis mode
-.als TM @not-implemented
-.\" Chapter titles for Berkeley thesis mode
-.als CT @not-implemented
-.de @nop
-..
+.\" documented Unix Version 7 ms macros that we don't implement
+.als EG @not-implemented \" engineer's notes
+.als IM @not-implemented \" internal memorandum
+.als MF @not-implemented \" memorandum for file
+.als MR @not-implemented \" memorandum for record
+.als TM @not-implemented \" technical memorandum
+.als TR @not-implemented \" technical report
+.als AT @not-implemented \" attachments
+.als CS @not-implemented \" cover sheet info for `TM` documents
+.als CT @not-implemented \" copies to
+.als OK @not-implemented \" "other keywords" for `TM` documents
+.als SG @not-implemented \" signatures for `TM` documents
+.als HO @not-implemented \" Holmdel
+.als IH @not-implemented \" Naperville
+.als MH @not-implemented \" Murray Hill
+.als PY @not-implemented \" Piscataway
+.als WH @not-implemented \" Whippany
+.als UX @not-implemented \" Unix w/ footnote trademark
+.
+.\" 4.2BSD ms macros documented by Tuthill 1983 that we don't implement
+.\"als TM @not-implemented \" thesis mode (already handled)
+.\"als CT @not-implemented \" chapter title for thesis (already handled)
.
.\" Wrap the .di request to save the name of the file being processed
.\" when a diversion is started. This aids diagnostics when diversions
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 10/19: [ms]: Add "sorry" stubs for unsupported ms macros.,
G. Branden Robinson <=