aboutsummaryrefslogtreecommitdiff
path: root/u.tmac
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-24 22:38:08 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-24 22:38:08 +0200
commite8086631ecabb0018062c1b8a519a2fa265c92f9 (patch)
tree94c82bb6735d6394255b11cca357b998648e1e4d /u.tmac
parent51b0a6c8bfd93e035ca80a46838771972e473600 (diff)
downloadmk-e8086631ecabb0018062c1b8a519a2fa265c92f9.tar.gz
Split q macro into " (inline) and q (block-level)
Diffstat (limited to 'u.tmac')
-rw-r--r--u.tmac29
1 files changed, 12 insertions, 17 deletions
diff --git a/u.tmac b/u.tmac
index 52bfbab..2091474 100644
--- a/u.tmac
+++ b/u.tmac
@@ -243,6 +243,11 @@ ___________________
.
.\" Inline macros ------------------------------
.
+.\" " -- inline quotation
+.de "
+\&\$3\(lq\$1\(rq\$2
+..
+.
.\" b -- bold font
.de b
\&\$3\fB\$1\fP\$2
@@ -287,23 +292,6 @@ ___________________
..
.
.
-.\" Hybrid macros ------------------------------
-.
-.\" q -- quotation
-.de q
-.
-. \" inline
-. ie !'\$1'' \&\$3\(lq\$1\(rq\$2
-.
-. \" block
-. el \{\
-. br
-. @e q
-. ti \n(tiu
-. \}
-..
-.
-.
.\" Environment macros -------------------------
.
.
@@ -335,6 +323,13 @@ ___________________
. if '\*[%penv]'p' .ti \n(tiu
..
.
+.\" q -- quotation
+.de q
+. br
+. @e q
+. ti \n(tiu
+..
+.
.\" s -- subheading
.de s
. br