From 8864a7d6aa589a8b74c798ad8866a7b71e812a78 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 26 Jul 2009 19:53:40 +0000 Subject: Fixed \% special char (via groff.7). Added some typographic special chars to mandoc_char.7. --- ascii.in | 2 +- mandoc_char.7 | 36 +++++++++++++++++++++++++----------- 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 -- cgit