From: Michael Smith Date: Sat, 1 Mar 2008 10:19:51 +0000 (+0000) Subject: add extra line before SH heads only in non-TTY output X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=06f20985652e47088370994366e943f728242de7;p=docbook-dsssl add extra line before SH heads only in non-TTY output --- diff --git a/xsl/manpages/other.xsl b/xsl/manpages/other.xsl index 0f0e35665..5eecae031 100644 --- a/xsl/manpages/other.xsl +++ b/xsl/manpages/other.xsl @@ -725,10 +725,14 @@ db:manvolnum .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" SH - level-one heading that works better for non-TTY output .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - .de1 SH -.\" put an extra blank line of space above the head -.sp 1 -.sp \\n[PD]u + .de1 SH + .\" put an extra blank line of space above the head in non-TTY output + + t + + .sp 1 + + .sp \\n[PD]u .nr an-level 1 .set-an-margin .nr an-prevailing-indent \\n[IN]