summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-26 19:53:40 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-26 19:53:40 +0000
commit8864a7d6aa589a8b74c798ad8866a7b71e812a78 (patch)
tree9f70751fb6104bd6f6be7e31ca757ce42e480959
parent18c501b26d25af31970f147b8121d2ee4f424d0f (diff)
downloadmandoc-8864a7d6aa589a8b74c798ad8866a7b71e812a78.tar.gz
Fixed \% special char (via groff.7).
Added some typographic special chars to mandoc_char.7.
-rw-r--r--ascii.in2
-rw-r--r--mandoc_char.736
2 files changed, 26 insertions, 12 deletions
diff --git a/ascii.in b/ascii.in
index 37fe4ed5..53cc270e 100644
--- a/ascii.in
+++ b/ascii.in
@@ -27,7 +27,7 @@
LINE("\\", 1, "\\", 1)
LINE("\'", 1, "\'", 1)
LINE("`", 1, "`", 1)
-LINE("%", 1, "%", 1)
+LINE("%", 1, "", 0)
LINE("-", 1, "-", 1)
LINE(" ", 1, " ", 1)
LINE("~", 1, " ", 1)
diff --git a/mandoc_char.7 b/mandoc_char.7
index ded93dd4..cfeaf16e 100644
--- a/mandoc_char.7
+++ b/mandoc_char.7
@@ -41,9 +41,25 @@ and
.Xr man 7
encode special characters with slightly different semantics; consult the
respective manuals for these escapes.
+.\" PARAGRAPH
+.Pp
+Typographic:
+.Bl -tag -width Ds -offset indent -compact
+.It \e~
+.Pq non-breaking space
+.It \e
+.Pq space
+.It \e^
+.Pq zero-width space
+.It \e^
+.Pq zero-width space
+.It \e&
+.Pq zero-width space
+.El
+.\" PARAGRAPH
.Pp
Grammatic:
-.Bl -tag -width 12n -offset "XXXX" -compact
+.Bl -tag -width Ds -offset indent -compact
.It \e(em
.Pq em-dash
.It \e(en
@@ -56,8 +72,6 @@ Grammatic:
.Pq apostrophe
.It \e`
.Pq back-tick
-.It \e
-.Pq space
.It \e.
.Pq period
.It \e(r!
@@ -68,7 +82,7 @@ Grammatic:
.\" PARAGRAPH
.Pp
Enclosures:
-.Bl -tag -width 12n -offset "XXXX" -compact
+.Bl -tag -width Ds -offset indent -compact
.It \e(lh
.Pq left hand
.It \e(rh
@@ -115,7 +129,7 @@ Enclosures:
.\" PARAGRAPH
.Pp
Indicatives:
-.Bl -tag -width 12n -offset "XXXX" -compact
+.Bl -tag -width Ds -offset indent -compact
.It \e(<-
.Pq left arrow
.It \e(->
@@ -140,7 +154,7 @@ Indicatives:
.\" PARAGRAPH
.Pp
Mathematical:
-.Bl -tag -width 12n -offset "XXXX" -compact
+.Bl -tag -width Ds -offset indent -compact
.It \e(es
.Pq empty set
.It \e(ca
@@ -233,7 +247,7 @@ Mathematical:
.\" PARAGRAPH
.Pp
Ligatures:
-.Bl -tag -width 12n -offset "XXXX" -compact
+.Bl -tag -width Ds -offset indent -compact
.It \e(ss
.Pq German eszett
.It \e(AE
@@ -258,7 +272,7 @@ Ligatures:
.\" PARAGRAPH
.Pp
Diacritics and letters:
-.Bl -tag -width 12n -offset "XXXX" -compact
+.Bl -tag -width Ds -offset indent -compact
.It \e(ga
.Pq grave accent
.It \e(aa
@@ -407,7 +421,7 @@ Diacritics and letters:
.\" PARAGRAPH
.Pp
Monetary:
-.Bl -tag -width 12n -offset "XXXX" -compact
+.Bl -tag -width Ds -offset indent -compact
.It \e(Cs
.Pq Scandinavian
.It \e(Do
@@ -424,7 +438,7 @@ Monetary:
.\" PARAGRAPH
.Pp
Special symbols:
-.Bl -tag -width 12n -offset "XXXX" -compact
+.Bl -tag -width Ds -offset indent -compact
.It \e0
.Pq white-space
.It \e(de
@@ -465,7 +479,7 @@ This section documents compatibility of
with older or existing versions of
.Xr groff 1 :
.Pp
-.Bl -tag -width 12n -offset "XXXX" -compact
+.Bl -tag -width Ds -offset indent -compact
.It \e(ss
Renders differently in
.Fl T Ns Ar ascii