[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 02/06: tmac/*.tmac: Clarify fatal diagnostics.
From: |
G. Branden Robinson |
Subject: |
[groff] 02/06: tmac/*.tmac: Clarify fatal diagnostics. |
Date: |
Fri, 25 Sep 2020 09:33:51 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit a334cc97abbdfb9c41e28fcd7c187b81a0a3ceac
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Sep 25 21:37:04 2020 +1000
tmac/*.tmac: Clarify fatal diagnostics.
* tmac/an-old.tmac:
* tmac/andoc.tmac:
* tmac/doc.tmac-u:
* tmac/s.tmac: Clarify fatal diagnostics by informing the user that the
program is aborting.
---
ChangeLog | 8 ++++++++
tmac/an-old.tmac | 3 ++-
tmac/andoc.tmac | 2 +-
tmac/doc.tmac-u | 2 +-
tmac/s.tmac | 7 +++++--
5 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index cf20d87..43f30d2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2020-09-25 G. Branden Robinson <g.branden.robinson@gmail.com>
+ * tmac/an-old.tmac:
+ * tmac/andoc.tmac:
+ * tmac/doc.tmac-u:
+ * tmac/s.tmac: Clarify fatal diagnostics by informing the user
+ that the program is aborting.
+
+2020-09-25 G. Branden Robinson <g.branden.robinson@gmail.com>
+
* tmac/www.tmac.in: Revise diagnostic message handling.
(www:fatal): New macro handles fatal macro usage errors.
(www:lenstr): Use www:fatal instead of writing to standard error
diff --git a/tmac/an-old.tmac b/tmac/an-old.tmac
index 674caf5..03b9f5d 100644
--- a/tmac/an-old.tmac
+++ b/tmac/an-old.tmac
@@ -23,7 +23,8 @@
.\" The file man.local is loaded at the end. Put local additions there.
.\" If you need to add things to TH, use '.am1 TH'.
.
-.if !\n(.g .ab These man macros work only with groff.
+.if !\n(.g \
+. ab groff man macros require groff extensions; aborting
.
.do if d RI .nx
.
diff --git a/tmac/andoc.tmac b/tmac/andoc.tmac
index 8fe2a25..91f6544 100644
--- a/tmac/andoc.tmac
+++ b/tmac/andoc.tmac
@@ -25,7 +25,7 @@
.\"
.
.if !\n(.g \
-. ab These macros require groff.
+. ab groff man macros require groff extensions; aborting
.
.do nr *groff_andoc_tmac_C \n[.cp]
.cp 0
diff --git a/tmac/doc.tmac-u b/tmac/doc.tmac-u
index 94f99f9..6877b48 100644
--- a/tmac/doc.tmac-u
+++ b/tmac/doc.tmac-u
@@ -48,7 +48,7 @@
.
.
.if !\n(.g \
-. ab This version of mdoc can be run with GNU troff only!
+. ab groff mdoc macros require groff extensions; aborting
.
.
.do if d Dd .nx
diff --git a/tmac/s.tmac b/tmac/s.tmac
index 00bc0bf..0d10261 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -20,9 +20,12 @@ for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
..
-.if !\n(.g .ab These ms macros require groff.
+.if !\n(.g \
+. ab groff ms macros require groff extensions; aborting
+.
.if \n(.C \
-. ab The groff ms macros do not work in compatibility mode.
+. ab groff ms macros do not work in compatibility mode; aborting
+.
.\" See if already loaded.
.if r GS .nx
.mso devtag.tmac
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 02/06: tmac/*.tmac: Clarify fatal diagnostics.,
G. Branden Robinson <=