summaryrefslogtreecommitdiffstats
path: root/mandoc_char.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-27 12:02:49 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-27 12:02:49 +0000
commit61fb396c8d05a2962048d0555165f4958be68c85 (patch)
tree825cade74aa48439c8233a309810779b3cca1b33 /mandoc_char.7
parent8864a7d6aa589a8b74c798ad8866a7b71e812a78 (diff)
downloadmandoc-61fb396c8d05a2962048d0555165f4958be68c85.tar.gz
Correct handling of \*(xx, \*[xxx], \*x versus \x, \(xx, \([xxx]: predefined strings and escape characters, respectively.
Diffstat (limited to 'mandoc_char.7')
-rw-r--r--mandoc_char.744
1 files changed, 15 insertions, 29 deletions
diff --git a/mandoc_char.7 b/mandoc_char.7
index cfeaf16e..168b262b 100644
--- a/mandoc_char.7
+++ b/mandoc_char.7
@@ -39,8 +39,18 @@ Both
.Xr mdoc 7
and
.Xr man 7
-encode special characters with slightly different semantics; consult the
-respective manuals for these escapes.
+encode these special characters with
+.Sq \eX
+.Pq for a one-character escape ,
+.Sq \e(XX
+.Pq two-character ,
+and
+.Sq \e[N]
+.Pq N-character .
+One may generalise
+.Sq \e(XX
+as
+.Sq \e[XX] .
.\" PARAGRAPH
.Pp
Typographic:
@@ -51,10 +61,12 @@ Typographic:
.Pq space
.It \e^
.Pq zero-width space
-.It \e^
+.It \e%
.Pq zero-width space
.It \e&
.Pq zero-width space
+.It \e|
+.Pq zero-width space
.El
.\" PARAGRAPH
.Pp
@@ -111,12 +123,8 @@ Enclosures:
.Pq double-quote
.It \e(lq
.Pq left double-quote
-.It \e(Lq
-.Pq left double-quote, deprecated
.It \e(rq
.Pq right double-quote
-.It \e(Rq
-.Pq right double-quote, deprecated
.It \e(oq
.Pq left single-quote
.It \e(aq
@@ -211,36 +219,20 @@ Mathematical:
.Pq approximately equals
.It \e(=~
.Pq congruent
-.It \e(Gt
-.Pq greater-than, deprecated
-.It \e(Lt
-.Pq less-than, deprecated
.It \e(<=
.Pq less-than-equal
-.It \e(Le
-.Pq less-than-equal, deprecated
.It \e(>=
.Pq greater-than-equal
-.It \e(Ge
-.Pq greater-than-equal
.It \e(==
.Pq equal
.It \e(!=
.Pq not equal
-.It \e(Ne
-.Pq not equal, deprecated
.It \e(if
.Pq infinity
-.It \e(If
-.Pq infinity, deprecated
.It \e(na
.Pq NaN , an extension
-.It \e(Na
-.Pq NaN, deprecated
.It \e(+-
.Pq plus-minus
-.It \e(Pm
-.Pq plus-minus, deprecated
.It \e(**
.Pq asterisk
.El
@@ -457,20 +449,14 @@ Special symbols:
.Pq bar
.It \e(bb
.Pq broken bar
-.It \e(Ba
-.Pq bar, deprecated
.It \e(co
.Pq copyright
.It \e(rg
.Pq registered
.It \e(tm
.Pq trademarked
-.It \e&
-.Pq non-breaking space
.It \ee
.Pq escape
-.It \e(Am
-.Pq ampersand, deprecated
.El
.\" SECTION
.Sh COMPATIBILITY