aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-20 10:52:11 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-20 10:52:11 +0200
commitdb4b7f51c9a06b407e550c9c3d0b609ebdc2ac67 (patch)
treecd071bc654a4bddecad4af441cbcf8175533a582
parentd581ad33700c57396092839a3b0bcf8bd720d58b (diff)
downloadmk-db4b7f51c9a06b407e550c9c3d0b609ebdc2ac67.tar.gz
Remove n macro (use d instead)
When limiting yourself to one-letter macros, you need to be clever.
-rw-r--r--g.tmac21
1 files changed, 6 insertions, 15 deletions
diff --git a/g.tmac b/g.tmac
index 8418e40..4db6e69 100644
--- a/g.tmac
+++ b/g.tmac
@@ -123,18 +123,14 @@
. \" post-environment operations
. if !'\$1'' \{\
. \" add small space after title
-. if '\*[_penv]'t' \{\
-. if '\*[_env]'n' .sp 0.1v
-. if '\*[_env]'d' .sp 0.1v
-. \}
+. if '\*[_penv]'t' .if '\*[_env]'d' .sp 0.1v
.
-. \" add space after date/name/title
+. \" add space after title block (including date)
. if !'\*[_env]'n' .if !'\*[_env]'d' \{\
-. nr _dnt 0
-. ie '\*[_penv]'t' .nr _dnt 1
-. el .ie '\*[_penv]'n' .nr _dnt 1
-. el .if '\*[_penv]'d' .nr _dnt 1
-. if \n[_dnt]==1 \{\
+. nr _tb 0
+. ie '\*[_penv]'t' .nr _tb 1
+. el .if '\*[_penv]'d' .nr _tb 1
+. if \n[_tb]==1 \{\
. sp 0.5i
. ns
. \}
@@ -294,11 +290,6 @@ ___________________
. br
. _e l
..
-.\" n -- name (of author)
-.de n
-. br
-. _e n
-..
.
.\" p -- paragraph
.de p