summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/man.3
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-04-04 13:41:24 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-04-04 13:41:24 +0000
commit4370366bf5f88ceda7d8b2bebf7a6b06d12a8e57 (patch)
tree6787739d931d70a77ab04ec3553bb84edb089cb1 /usr.bin/mandoc/man.3
parentc54a108441190a39fde11037b3acb0afb5cc478c (diff)
Adding the pod2man(1) special characters to mandoc_char(7) was a bad idea.
The mandoc_char(7) manual is supposed to document standard characters for man(7) and mdoc(7), and these are not standard in any sense. So move the documentation to an implementation-specific manual. noticed by kristaps@ and merged in 1.9.22 ok jmc@ who also noticed that \*(TH broke the nroff -Tps build
Diffstat (limited to 'usr.bin/mandoc/man.3')
-rw-r--r--usr.bin/mandoc/man.328
1 files changed, 26 insertions, 2 deletions
diff --git a/usr.bin/mandoc/man.3 b/usr.bin/mandoc/man.3
index f6eb59bb35f..420dba343f7 100644
--- a/usr.bin/mandoc/man.3
+++ b/usr.bin/mandoc/man.3
@@ -1,4 +1,4 @@
-.\" $Id: man.3,v 1.8 2010/03/29 22:56:52 schwarze Exp $
+.\" $Id: man.3,v 1.9 2010/04/04 13:41:23 schwarze Exp $
.\"
.\" Copyright (c) 2009-2010 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: March 29 2010 $
+.Dd $Mdocdate: April 4 2010 $
.Dt MAN 3
.Os
.
@@ -127,6 +127,30 @@ closing
.Pq part of the standard preamble for Perl documentation .
Handled as a current-scope line macro.
.El
+.Pp
+Furthermore, the following escapes are accepted to allow
+.Xr pod2man 1
+documents to be correctly formatted:
+\e*(-- (dash),
+\e*(PI (pi),
+\e*(L" (left double-quote),
+\e*(R" (right double-quote),
+\e*(C+ (C++),
+\e*(C` (left single-quote),
+\e*(C' (right single-quote),
+\e*(Aq (apostrophe),
+\e*^ (hat),
+\e*, (comma),
+\e*~ (tilde),
+\e*/ (forward slash),
+\e*: (umlaut),
+\e*8 (beta),
+\e*o (degree),
+\e*(D- (Eth),
+\e*(d- (eth),
+\e*(Th (Thorn),
+and
+\e*(th (thorn).
.
.
.Sh REFERENCE