summaryrefslogtreecommitdiffstats
path: root/g.tmac
diff options
context:
space:
mode:
authorGalin Simeonov <gts@volconst.com>2021-07-17 20:16:34 +0300
committerGalin Simeonov <gts@volconst.com>2021-07-17 20:16:34 +0300
commitf55ae0006ee5a053a708627ff661c49bdbbaa29b (patch)
tree84ba58abaa1377a57b813f7c4fb200a9904ad54a /g.tmac
parenta57153bac89d7630960f468c8e5c4becc31c5282 (diff)
downloadmg-f55ae0006ee5a053a708627ff661c49bdbbaa29b.tar.gz
having no heading now still outputs space between text and top of pageHEADmaster
Diffstat (limited to 'g.tmac')
-rw-r--r--g.tmac6
1 files changed, 5 insertions, 1 deletions
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]
+\}
\}
..
\#########################################################################