aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example.pdfbin85106 -> 85083 bytes
-rw-r--r--example.t14
-rw-r--r--g.tmac34
3 files changed, 25 insertions, 23 deletions
diff --git a/example.pdf b/example.pdf
index 4325f6d..3c62d7d 100644
--- a/example.pdf
+++ b/example.pdf
Binary files differ
diff --git a/example.t b/example.t
index ea1b653..8a1033c 100644
--- a/example.t
+++ b/example.t
@@ -10,7 +10,7 @@
.
.de @f
. sp |\n(.pu-48p
-. tl ''\*(%e''
+. tl ''\*(#e''
..
.ec
.
@@ -277,11 +277,11 @@ international date, like
English date, like
.q "21 June 2021"
.p
-The date formats are defined in strings prefixed with a percent sign
-.c % ): (
-.c %i
+The formatted dates are defined in strings prefixed with a hash symbol
+.c # ): (
+.c #i
and
-.c %e
+.c #e
are provided by default,
but more may be added by the user.
.
@@ -474,7 +474,9 @@ All environment settings,
like point size, font family and indentation\c
.(
For a complete list of settings that are associated with the environment,
-see 5.26\~Environments in the full GNU troff manual
+see 5.26\~\c
+.i Environments
+in the full GNU troff manual
.nh
.c "info '(groff.\:info)Environments'" ). (
.hy
diff --git a/g.tmac b/g.tmac
index 48ecc6e..da9b6f9 100644
--- a/g.tmac
+++ b/g.tmac
@@ -91,26 +91,26 @@
. @c 0
. (e
.
-. \" set date formats
+. \" create formatted dates
. af mo 00
. af dy 00
-. ds %i \n[year]-\n(mo-\n(dy
+. ds #i \n[year]-\n(mo-\n(dy
. af mo 1
. af dy 1
-. ds %e \n(dy
-. ie \n(mo=1 .ds %e \*(%e January
-. el .ie \n(mo=2 .ds %e \*(%e February
-. el .ie \n(mo=3 .ds %e \*(%e March
-. el .ie \n(mo=4 .ds %e \*(%e April
-. el .ie \n(mo=5 .ds %e \*(%e May
-. el .ie \n(mo=6 .ds %e \*(%e June
-. el .ie \n(mo=7 .ds %e \*(%e July
-. el .ie \n(mo=8 .ds %e \*(%e August
-. el .ie \n(mo=9 .ds %e \*(%e September
-. el .ie \n(mo=10 .ds %e \*(%e October
-. el .ie \n(mo=11 .ds %e \*(%e November
-. el .ds %e \*(%e December
-. ds %e \*(%e \n[year]
+. ds #e \n(dy
+. ie \n(mo=1 .ds #e \*(%e January
+. el .ie \n(mo=2 .ds #e \*(#e February
+. el .ie \n(mo=3 .ds #e \*(#e March
+. el .ie \n(mo=4 .ds #e \*(#e April
+. el .ie \n(mo=5 .ds #e \*(#e May
+. el .ie \n(mo=6 .ds #e \*(#e June
+. el .ie \n(mo=7 .ds #e \*(#e July
+. el .ie \n(mo=8 .ds #e \*(#e August
+. el .ie \n(mo=9 .ds #e \*(#e September
+. el .ie \n(mo=10 .ds #e \*(#e October
+. el .ie \n(mo=11 .ds #e \*(#e November
+. el .ds #e \*(#e December
+. ds #e \*(#e \n[year]
..
.
.
@@ -313,7 +313,7 @@ ___________________
.de d
. br
. @e d
-. if !'\$1'' \*(%\$1
+. if !'\$1'' \*(#\$1
..
.
.\" h -- heading