openbsd-ports/textproc/groff/patches/patch-tmac_troffrc
schwarze d06673bd07 update to the maintenance release groff-1.22.4;
lots of small improvements, and most of our patches incorporated;
tweaks to the port and OK bcallah@
2018-12-24 10:42:00 +00:00

26 lines
700 B
Plaintext

$OpenBSD: patch-tmac_troffrc,v 1.5 2018/12/24 10:42:00 schwarze Exp $
Disable hyphenation and adjustment (local change).
Index: tmac/troffrc
--- tmac/troffrc.orig
+++ tmac/troffrc
@@ -41,10 +41,16 @@ troffrc!X100 troffrc!X100-12 troffrc!lj4 troff!lbp tro
.\" Set the hyphenation language to 'us'.
.do hla us
.
-.\" Load hyphenation patterns and exceptions.
-.do hpf hyphen.us
-.do hpfa hyphenex.us
+.\" Disable hyphenation:
+.\" Do not load hyphenation patterns and exceptions.
+.\"do hpf hyphen.us
+.\"do hpfa hyphenex.us
.
+.\" Disable adjustment by default,
+.\" such that manuals look similar with groff and mandoc(1).
+.ad l
+.de ad
+..
.\" Handle paper formats.
.do mso papersize.tmac
.