From 700a09db9e3c350c8bbfac1db95158b42cec9994 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Sat, 5 Jul 2003 22:58:04 +0000 Subject: [PATCH] Fix for troff mode. The .Pp .Bd -literal ... fragment resulted in two vertical spaces. From ChangeLog: 2003-07-04 Ruslan Ermilov * tmac/doc.tmac (Bd): Change to doc-Li-font later. --- contrib/groff/tmac/doc.tmac | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/contrib/groff/tmac/doc.tmac b/contrib/groff/tmac/doc.tmac index 7f4090f7b4a..059534cd3e8 100644 --- a/contrib/groff/tmac/doc.tmac +++ b/contrib/groff/tmac/doc.tmac @@ -2696,10 +2696,8 @@ . nr doc-display-ft-stack\n[doc-display-depth] \n[.f] . nr doc-display-ps-stack\n[doc-display-depth] \n[.ps] . -. ie t \{\ -. nop \*[doc-Li-font]\c +. ie t \ . ta T 9n -. \} . el \ . ta T 8n . nf @@ -2747,6 +2745,10 @@ . if !\n[doc-is-compact] \ . sp \n[doc-display-vertical]u . +. if "\*[doc-display-type-stack\n[doc-display-depth]]"literal" \ +. if t \ +. nop \*[doc-Li-font]\c +. . if !\n[cR] \ . ne 2v .