From 8ed813fb04e1f67b5ea8bcbbce497abd80284e95 Mon Sep 17 00:00:00 2001 From: wl Date: Sat, 6 Sep 2008 07:03:21 +0000 Subject: * tmac/doc-common (Dd, Os, Dt): Reset `doc-command-name' to make `.Nm' work properly if next manual page is printed. --- tmac/doc-common | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tmac/doc-common') diff --git a/tmac/doc-common b/tmac/doc-common index dc8cc28c..30003cf2 100644 --- a/tmac/doc-common +++ b/tmac/doc-common @@ -219,6 +219,7 @@ .\" NS doc-document-title .\" NS doc-section .\" NS doc-volume +.\" NS doc-command-name .\" NS .\" NS local variables: .\" NS doc-volume-as-XXX @@ -319,6 +320,7 @@ . ds doc-document-title UNTITLED . ds doc-volume LOCAL . ds doc-section Null +. ds doc-command-name . . if !"\$1"" \ . ds doc-document-title "\$1 @@ -379,6 +381,7 @@ .\" NS .\" NS modifies: .\" NS doc-operating-system +.\" NS doc-command-name .\" NS .\" NS local variables: .\" NS doc-operating-system-XXX-XXX @@ -503,6 +506,8 @@ .ds doc-operating-system-DragonFly-1.5 1.5 . .de Os +. ds doc-command-name +. . ie "\$1"" \ . ds doc-operating-system "\*[doc-default-operating-system] . el \{ .ie "\$1"ATT" \{\ @@ -563,6 +568,7 @@ .\" NS .\" NS modifies: .\" NS doc-date-string +.\" NS doc-command-name .\" NS .\" NS local variables: .\" NS doc-date-XXX @@ -583,6 +589,8 @@ .ds doc-date-12 December . .de Dd +. ds doc-command-name +. . ie \n[.$] \{\ . ie (\n[.$] == 3) \ . ds doc-date-string \$1\~\$2 \$3 -- cgit v1.2.1