groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff] Re: Hyphenation in -mm


From: Joergen Haegg
Subject: [Groff] Re: Hyphenation in -mm
Date: Wed, 10 Mar 2004 05:58:41 +0100

> A minor bug: groff_mm (7) says that the default value of register Hy is 
> 1, which sets hyphenation to 14.  In fact, however, m.tmac sets Hy (and 
> hence \n[.hy]) to 0, at line 100.  Moreover, setting \n(Hy to 1 at the 
> start of the file seems to have no effect; an explicit .hy 14 request 
> is required.

The manual was wrong, it should be 0.

This patch (or the latest cvs) should do it:

@@ -1193,6 +1193,9 @@
 .\" HEADER
 .de address@hidden
 .if \\n[D]>1 .tm Page# \\n[%] (\\n[.F]:\\n[c.])
+.\" check if Hy has been changed
+.ie \\n[Hy] 'hy 14
+.el 'nh
 .if \\n[Idxf] \{ .tl '<pagenr\ \\n[%]>'''
 .\}



reply via email to

[Prev in Thread] Current Thread [Next in Thread]