[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 084/100] man/MKada_config.in: Make `EX` and `EE` man(7) macros us
From: |
G. Branden Robinson |
Subject: |
[PATCH 084/100] man/MKada_config.in: Make `EX` and `EE` man(7) macros usable on DWB. |
Date: |
Sat, 30 Mar 2024 17:01:43 -0500 |
This prevents lines in the displayed example from oversetting on DWB
nroff.
(DWB supported EX/EE, but in a way incompatible with Ninth Edition Unix
troff and [later] GNU troff. DWB's version "did too much".)
---
man/MKada_config.in | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/man/MKada_config.in b/man/MKada_config.in
index 4e0a57eb6..74b6adb79 100644
--- a/man/MKada_config.in
+++ b/man/MKada_config.in
@@ -43,6 +43,19 @@
.ie t .ds ' \(aq
.el .ds ' '
.\}
+.
+.\" Fix broken EX/EE macros on DWB troff.
+.\" Detect it: only DWB sets up a `)Y` register.
+.if !\n(.g .if \n()Y \{\
+.\" Revert the undesired changes to indentation.
+.am EX
+.in -5n
+..
+.am EE
+.in +5n
+..
+.\}
+.
.SH NAME
\fB\%adacurses@USE_CFG_SUFFIX@\-config\fP \-
configuration helper for \fI@ADA_LIBNAME@\fP libraries
--
2.30.2
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH 084/100] man/MKada_config.in: Make `EX` and `EE` man(7) macros usable on DWB.,
G. Branden Robinson <=