[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 03/40: [ms]: Fix font warning from .CW in nroff mode.
From: |
G. Branden Robinson |
Subject: |
[groff] 03/40: [ms]: Fix font warning from .CW in nroff mode. |
Date: |
Wed, 10 Feb 2021 01:32:11 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit df8017e6dc93dc86bc4c38e10c22e6fa6d2adcdb
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Feb 4 16:18:35 2021 +1100
[ms]: Fix font warning from .CW in nroff mode.
* tmac/s.tmac (initialization): Call par*define-font-macro with
arguments "CW" and "R" in nroff mode to silence font warnings
from documents using .CW macro in nroff mode.
...part of a slow process of getting this document nroff-ready.
---
ChangeLog | 6 ++++++
tmac/s.tmac | 3 ++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 823a810..32b7125 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-02-04 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * tmac/s.tmac (initialization): Call par*define-font-macro with
+ arguments "CW" and "R" in nroff mode to silence font warnings
+ from documents using .CW macro in nroff mode.
+
2021-02-03 G. Branden Robinson <g.branden.robinson@gmail.com>
* src/preproc/tbl/table.cpp (table::init_output): Save value of
diff --git a/tmac/s.tmac b/tmac/s.tmac
index 252b5a6..d0e360e 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -1491,7 +1491,8 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
.par*define-font-macro B B
.par*define-font-macro I I
.par*define-font-macro BI BI
-.par*define-font-macro CW CR
+.ie n .par*define-font-macro CW R
+.el .par*define-font-macro CW CR
.\" underline a word
.de UL
\Z'\\$1'\v'.25m'\D'l \w'\\$1'u 0'\v'-.25m'\\$2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 03/40: [ms]: Fix font warning from .CW in nroff mode.,
G. Branden Robinson <=