gbranden pushed a commit to branch master
in repository groff.
commit e96e181ad22f01d1c9a02e16083ab9374b136f0d
Author: G. Branden Robinson <[email protected]>
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 <[email protected]>
+
+ * 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 <[email protected]>
* 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
.
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit