From 3ea3625363ef1d13288de47e35bfb037d130d3f5 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 29 Aug 2010 11:28:09 +0000 Subject: Remove overstrike `\o'. This isn't the best solution because we really should be printing the contents, but for the time being, this is good enough. --- man.7 | 6 ++++-- mandoc.c | 6 +++--- mdoc.7 | 6 ++++-- out.c | 4 +++- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/man.7 b/man.7 index 6feee9d2..01366f76 100644 --- a/man.7 +++ b/man.7 @@ -1,4 +1,4 @@ -.\" $Id: man.7,v 1.86 2010/08/28 22:08:38 kristaps Exp $ +.\" $Id: man.7,v 1.87 2010/08/29 11:28:09 kristaps Exp $ .\" .\" Copyright (c) 2009, 2010 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: August 28 2010 $ +.Dd $Mdocdate: August 29 2010 $ .Dt MAN 7 .Os .Sh NAME @@ -944,6 +944,8 @@ The .Pq string length , .Sq \ek .Pq horizontal position marker , +.Sq \eo +.Pq text overstrike , and .Sq \es .Pq text size diff --git a/mandoc.c b/mandoc.c index b8d07d07..5598ca81 100644 --- a/mandoc.c +++ b/mandoc.c @@ -1,4 +1,4 @@ -/* $Id: mandoc.c,v 1.33 2010/08/24 13:56:51 kristaps Exp $ */ +/* $Id: mandoc.c,v 1.34 2010/08/29 11:28:09 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -59,8 +59,6 @@ mandoc_special(char *p) /* FALLTHROUGH */ case ('R'): /* FALLTHROUGH */ - case ('o'): - /* FALLTHROUGH */ case ('N'): /* FALLTHROUGH */ case ('l'): @@ -199,6 +197,8 @@ mandoc_special(char *p) return(*p ? (int)(p - sv) : 0); } break; + case ('o'): + /* FALLTHROUGH */ case ('w'): if ('\'' == *p++) { term = '\''; diff --git a/mdoc.7 b/mdoc.7 index a8497b1b..e98219e5 100644 --- a/mdoc.7 +++ b/mdoc.7 @@ -1,4 +1,4 @@ -.\" $Id: mdoc.7,v 1.156 2010/08/28 22:08:38 kristaps Exp $ +.\" $Id: mdoc.7,v 1.157 2010/08/29 11:28:09 kristaps Exp $ .\" .\" Copyright (c) 2009, 2010 Kristaps Dzonsons .\" Copyright (c) 2010 Ingo Schwarze @@ -15,7 +15,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: August 28 2010 $ +.Dd $Mdocdate: August 29 2010 $ .Dt MDOC 7 .Os .Sh NAME @@ -2852,6 +2852,8 @@ The .Pq string length , .Sq \ek .Pq horizontal position marker , +.Sq \eo +.Pq text overstrike , and .Sq \es .Pq text size diff --git a/out.c b/out.c index 8be9514e..2a683fae 100644 --- a/out.c +++ b/out.c @@ -1,4 +1,4 @@ -/* $Id: out.c,v 1.28 2010/08/24 13:56:51 kristaps Exp $ */ +/* $Id: out.c,v 1.29 2010/08/29 11:28:09 kristaps Exp $ */ /* * Copyright (c) 2009, 2010 Kristaps Dzonsons * @@ -315,6 +315,8 @@ a2roffdeco(enum roffdeco *d, const char **word, size_t *sz) } else lim = 1; break; + case ('o'): + /* FALLTHROUGH */ case ('w'): if ('\'' == wp[i++]) { term = '\''; -- cgit v1.2.3-56-ge451