aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.pdfbin91606 -> 91600 bytes
-rw-r--r--README.t51
-rw-r--r--gx.tmac61
3 files changed, 64 insertions, 48 deletions
diff --git a/README.pdf b/README.pdf
index 9f07118..1810564 100644
--- a/README.pdf
+++ b/README.pdf
Binary files differ
diff --git a/README.t b/README.t
index 7e6e6f9..2d61d15 100644
--- a/README.t
+++ b/README.t
@@ -1,4 +1,5 @@
.so g.tmac
+.so gx.tmac
.so toc/toc.tmac
.
.\" configure header and footer
@@ -15,55 +16,10 @@
..
.ec
.
-.\" define macros
-.eo
-.de he
-. h
-\$*
-. te .the \n% \$*
-..
-.
-.de se
-. s
-\$*
-. te .the \n% \\h'18p'\$*
-..
-.
-.de the
-. nr _ \$1
-. shift
-. ta 0 \n(.luR
-. tc .
-\$* \n_
-. tc
-. br
-..
-.
-.de n
-. if !'\$1'' \{\
-. nr ni \$1-1
-. af ni 0
-. if !'\$2'' .af ni \$2
-. ds n. .
-. if !'\$3'' .ds n. \$3
-. \}
-. nr ni +1
-. br
-. @e n
-. ti \n(tiu
-\n(ni\*(n. \c
-..
-.ec
-.
.\" configure environments
.@e l
. fam M
. vs +1p
-.@e n
-. @c p
-. nr sq \n(sp
-. nr sp 0
-. ta 3n +3n +3n +3n
.@e
.
.\" start document
@@ -75,9 +31,8 @@ John Ankarstr\(:om
.d e
.
.s
-.ft I
-.tl ''TABLE OF CONTENTS''
-.ft
+.ce
+.i "TABLE OF CONTENTS"
.sp 4p
.@e
.to
diff --git a/gx.tmac b/gx.tmac
new file mode 100644
index 0000000..7b324a2
--- /dev/null
+++ b/gx.tmac
@@ -0,0 +1,61 @@
+.\" "/.
+.\" extra stuff for mg "/.
+.\" "/.
+.\" Permission to use, copy, modify and/or "/.
+.\" distribute this software for any purpose "/.
+.\" with or without fee is hereby granted. "/.
+.\" "/.
+.
+.eo
+.
+.\" he -- toc-enabled heading
+.de he
+. h
+\$*
+. te .the \n% \$*
+..
+.
+.\" se -- toc-enabled subheading
+.de se
+. s
+\$*
+. te .the \n% \\h'18p'\$*
+..
+.
+.\" the -- toc entry
+.de the
+. nr _ \$1
+. shift
+. ta 0 \n(.luR
+. tc .
+\$* \n_
+. tc
+. br
+..
+.
+.\" n -- numbered list item
+.de n
+. if !'\$1'' \{\
+. nr ni \$1-1
+. af ni 0
+. if !'\$2'' .af ni \$2
+. ds n. .
+. if !'\$3'' .ds n. \$3
+. \}
+. nr ni +1
+. br
+. @e n
+. ti \n(tiu
+\n(ni\*(n. \c
+..
+.
+.am @a
+. @e n
+. @c p
+. nr sq \n(sp
+. nr sp 0
+. ta 3n +3n +3n +3n
+. @e
+..
+.
+.ec