gbranden pushed a commit to branch master in repository groff. commit ca42eb2c736a0d24f546b2727147f0822d57899b Author: G. Branden Robinson <g.branden.robin...@gmail.com> AuthorDate: Thu Aug 7 07:26:27 2025 -0500
doc/ms.ms.in: Add nroff mode rendering guidance. Also abort if there's just no way we can format nicely. --- doc/ms.ms.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/ms.ms.in b/doc/ms.ms.in index 9833e1a45..0ceb1bd27 100644 --- a/doc/ms.ms.in +++ b/doc/ms.ms.in @@ -1,4 +1,5 @@ .\" groff -ept -ms +.\" nroff -t -rLL=$(stty size | cut -f2 -d' ')n -ms .\" .\" Copyright (C) 2001 Larry Kollar .\" Copyright (C) 2020-2025 G. Branden Robinson @@ -26,6 +27,10 @@ . ftr CBI BI . \" Redefine CW to use bold instead for a visible font change. . als CW B +. if \n[LL]<74n \{\ +. tm \n[.F]: This document needs at least 74 columns to render. +. tm \n[.F]: Consult the comment header of the file for advice. +. ab .\} .\" This document doesn't require the minus sign (in Times) but we do .\" want a copy- and-pastable hyphen-minus. _______________________________________________ groff-commit mailing list groff-commit@gnu.org https://lists.gnu.org/mailman/listinfo/groff-commit