summaryrefslogtreecommitdiff
path: root/tmac/doc.tmac
diff options
context:
space:
mode:
authorwlemb <wlemb>2001-03-30 12:52:02 +0000
committerwlemb <wlemb>2001-03-30 12:52:02 +0000
commit56da562cadf86527bd9794240398be96f83b062e (patch)
treed13c224506d97ab18d904a5c6b8aba67816f453f /tmac/doc.tmac
parent23abe4f0a4086b81f18014c0cb43e62f8497f577 (diff)
downloadgroff-56da562cadf86527bd9794240398be96f83b062e.tar.gz
Remove .Ld from mdoc package; replace it with special handling of
`...'. * tmac/doc-common: Remove `Ld' register. Uncomment `doc-volume-ds-*' strings. Remove `doc-operating-system-default'. (Os): Updated. * tmac/doc-syms (Ld): Removed. * tmac/doc.tmac (doc-parse-args, doc-parse-arg-vector): Handle `...' specially. * NEWS: Updated. * tmac/groff_mdoc.man: Many fixes and updates. * tmac/www.tmac: Save compatibility mode.
Diffstat (limited to 'tmac/doc.tmac')
-rw-r--r--tmac/doc.tmac12
1 files changed, 9 insertions, 3 deletions
diff --git a/tmac/doc.tmac b/tmac/doc.tmac
index 8a77c999..14f2c1fc 100644
--- a/tmac/doc.tmac
+++ b/tmac/doc.tmac
@@ -161,11 +161,14 @@
.
. nr doc-arg-limit +1
.
-. \" handle `|' specially
-. ie "\$1"|" \
+. \" handle `|' and `...' specially
+. ie "\$1"|" \
. ds doc-arg\n[doc-arg-limit] \f[R]|\f[P]
+. el \{ .ie "\$1"..." \
+. ds doc-arg\n[doc-arg-limit] \|.\|.\|.
. el \
. ds doc-arg\n[doc-arg-limit] "\$1
+. \}
.
. \" get argument type and set spacing
. doc-get-arg-type* \n[doc-arg-limit]
@@ -208,8 +211,11 @@
.
. nr doc-arg-limit +1
.
-. if "\*[doc-arg\n[doc-arg-limit]]"|" \
+. ie "\*[doc-arg\n[doc-arg-limit]]"|" \
. ds doc-arg\n[doc-arg-limit] \f[R]|\f[P]
+. el \{ .if "\*[doc-arg\n[doc-arg-limit]]"..." \
+. ds doc-arg\n[doc-arg-limit] \|.\|.\|.
+. \}
.
. doc-get-arg-type* \n[doc-arg-limit]
. nr doc-type\n[doc-arg-limit] \n[doc-arg-type]