From 34c551bdd57e92ced941777217596e44b5b428c6 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 | 4 ++-- mandoc_char.7 | 40 +++++++++++++++++++++++++++------------- 2 files changed, 29 insertions(+), 15 deletions(-) diff --git a/ascii.in b/ascii.in index 7a4bc078..d925587d 100644 --- a/ascii.in +++ b/ascii.in @@ -1,4 +1,4 @@ -/* $Id: ascii.in,v 1.11 2009/07/12 08:45:56 kristaps Exp $ */ +/* $Id: ascii.in,v 1.12 2009/07/26 19:53:40 kristaps Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons * @@ -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 c6aebeea..1d90fc69 100644 --- a/mandoc_char.7 +++ b/mandoc_char.7 @@ -1,4 +1,4 @@ -.\" $Id: mandoc_char.7,v 1.7 2009/07/12 08:45:56 kristaps Exp $ +.\" $Id: mandoc_char.7,v 1.8 2009/07/26 19:53:40 kristaps Exp $ .\" .\" Copyright (c) 2009 Kristaps Dzonsons .\" @@ -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 12 2009 $ +.Dd $Mdocdate: July 26 2009 $ .Dt MANDOC_CHAR 7 .Os .\" SECTION @@ -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 v1.2.3-56-ge451