aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit0441b4f4454e1e8fa3005d8b12b9731e24099509 (patch)
treefa9722aef313d84823a932a823613cff4c0b0fb3 /mandoc_char.7
parent34c551bdd57e92ced941777217596e44b5b428c6 (diff)
downloadmandoc-0441b4f4454e1e8fa3005d8b12b9731e24099509.tar.gz
mandoc-0441b4f4454e1e8fa3005d8b12b9731e24099509.tar.zst
mandoc-0441b4f4454e1e8fa3005d8b12b9731e24099509.zip
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.748
1 files changed, 17 insertions, 31 deletions
diff --git a/mandoc_char.7 b/mandoc_char.7
index 1d90fc69..f4ce7041 100644
--- a/mandoc_char.7
+++ b/mandoc_char.7
@@ -1,4 +1,4 @@
-.\" $Id: mandoc_char.7,v 1.8 2009/07/26 19:53:40 kristaps Exp $
+.\" $Id: mandoc_char.7,v 1.9 2009/07/27 12:02:49 kristaps Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
.\"
@@ -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: July 26 2009 $
+.Dd $Mdocdate: July 27 2009 $
.Dt MANDOC_CHAR 7
.Os
.\" SECTION
@@ -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