From f55ae0006ee5a053a708627ff661c49bdbbaa29b Mon Sep 17 00:00:00 2001 From: Galin Simeonov Date: Sat, 17 Jul 2021 20:16:34 +0300 Subject: having no heading now still outputs space between text and top of page --- g.tmac | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'g.tmac') diff --git a/g.tmac b/g.tmac index ef73f4c..4e57a08 100644 --- a/g.tmac +++ b/g.tmac @@ -336,7 +336,7 @@ .. .de paste_header .if !(\\n[.pn]=1) \{\ -.if '\\*[show_header]'yes' \{\ +.ie '\\*[show_header]'yes' \{\ .ev header_env .br .sp \n[header_text_from_top_spacing] @@ -348,6 +348,10 @@ .sp \n[header_real_text_from_line_spacing] .ev \} +.el \{\ +.sp \n[header_text_from_top_spacing] +.sp \n[header_real_text_from_line_spacing] +\} \} .. \######################################################################### -- cgit v1.2.3