Source-Changes-D archive

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

Re: CVS commit: src/share/man/man9



On Tue, Mar 17, 2009 at 11:57:14AM +0200, Alan Barrett wrote:
> If you just teach groff-mdoc to ignore the "-fill" argument, then I
> think it will do the right thing.  You'd have to tech mdocml to handle
> -fill explicitly.

The groff part should work with the attached patch.

Joerg
Index: doc.tmac
===================================================================
RCS file: /home/joerg/repo/netbsd/src/gnu/dist/groff/tmac/doc.tmac,v
retrieving revision 1.5
diff -u -p -r1.5 doc.tmac
--- doc.tmac    6 Feb 2006 18:25:49 -0000       1.5
+++ doc.tmac    17 Mar 2009 10:14:18 -0000
@@ -3119,6 +3119,9 @@
 .
 .  ie        "\*[doc-arg\n[doc-arg-ptr]]"-compact" \
 .    nr doc-compact-list-stack\n[doc-list-depth] 1
+.  el \{ .ie "\*[doc-arg\n[doc-arg-ptr]]"-fill" \{\
+.    \" Ignore -fill for now, only supported as last column
+.  \}
 .
 .  el \{ .ie "\*[doc-arg\n[doc-arg-ptr]]"-nested" \{\
 .    ie (\n[doc-list-depth] > 1) \{\
@@ -3211,7 +3214,7 @@
 .        \}
 .        el \
 .          nr doc-list-indent-stack\n[doc-list-depth] (\n[doc-width]u * 
\n[doc-fixed-width]u)
-.  \}\}\}
+.  \}\}\}\}
 .
 .  el \{ .ie "\*[doc-arg\n[doc-arg-ptr]]"-offset" \{\
 .    nr doc-arg-ptr +1


Home | Main Index | Thread Index | Old Index