From 56da562cadf86527bd9794240398be96f83b062e Mon Sep 17 00:00:00 2001 From: wlemb Date: Fri, 30 Mar 2001 12:52:02 +0000 Subject: 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. --- tmac/doc.tmac | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'tmac/doc.tmac') 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] -- cgit v1.2.1