groff
[Top][All Lists]
Advanced

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

[Groff] www.tmac patch


From: Larry Kollar
Subject: [Groff] www.tmac patch
Date: Mon, 24 May 2004 22:38:52 -0400

The following patch allows for spacing between list items when creating printed output.

--- www.tmac.orig       Mon May 24 22:27:10 2004
+++ www.tmac    Mon May 24 22:34:53 2004
@@ -104,6 +104,17 @@
.\" --------------------------------------------------------------------
 .
.\" --------------------------------------------------------------------
+.\" www:paraspace
+.\"
+.\" Space before paragraph. Use \n[PD] if it exists.
+.\"
+.nr www:pd 0.5v
+.de www:paraspace
+.  ie r PD .sp \\n[PD]u
+.  el .sp \\n[www:pd]u
+..
+.
+.\" --------------------------------------------------------------------
 .\" www:error (<test>...)
 .\"
 .\" Print error message
@@ -755,6 +766,7 @@
 .  ie \\n[www-html] \
 .    HTML "<li>"
 .  el \{\
+.    www:paraspace
 .    in \\n[www-depth]u
 .    ti -\w'\\*[www-level\\n[www-level]]'u
 .    nop \\*[www-level\\n[www-level]]\c

--
Larry Kollar     k  o  l  l  a  r  @  a  l  l  t  e  l  .  n  e  t
Unix Text Processing: "UTP Revival"
http://home.alltel.net/kollar/utp/



reply via email to

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