[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 02/15: tmac/troffrc: Skip "papersize.tmac" if not troff.
From: |
G. Branden Robinson |
Subject: |
[groff] 02/15: tmac/troffrc: Skip "papersize.tmac" if not troff. |
Date: |
Fri, 3 Jun 2022 05:04:50 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit e96e181ad22f01d1c9a02e16083ab9374b136f0d
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Jun 1 12:59:14 2022 -0500
tmac/troffrc: Skip "papersize.tmac" if not troff.
* tmac/troffrc: Skip loading of "papersize.tmac" if not in troff mode.
Fixes <https://savannah.gnu.org/bugs/?62238>. Thanks to Bjarni Ingi
Gislason for the report.
---
ChangeLog | 8 ++++++++
tmac/troffrc | 6 +++---
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index d12b28c9..01a05a02 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-06-01 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * tmac/troffrc: Skip loading of "papersize.tmac" if not in troff
+ mode.
+
+ Fixes <https://savannah.gnu.org/bugs/?62238>. Thanks to Bjarni
+ Ingi Gislason for the report.
+
2022-05-31 G. Branden Robinson <g.branden.robinson@gmail.com>
* configure.ac (AC_INIT): Add `--fallback` argument to
diff --git a/tmac/troffrc b/tmac/troffrc
index 59ee9c07..a2784d78 100644
--- a/tmac/troffrc
+++ b/tmac/troffrc
@@ -57,10 +57,10 @@ troffrc!html
.\" Set the input localization to English.
.do mso en.tmac
.
-.\" Handle paper formats.
-.do mso papersize.tmac
+.\" Handle paper formats on typesetting devices.
+.if t .do mso papersize.tmac
.
-.\" Handle PS images.
+.\" Handle Encapsulated PostScript images.
.do mso pspic.tmac
.do mso pdfpic.tmac
.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 02/15: tmac/troffrc: Skip "papersize.tmac" if not troff.,
G. Branden Robinson <=