Let -Tascii \(bu (bullet) output agree with groff;
authorIngo Schwarze <schwarze@openbsd.org>
Thu, 6 Nov 2014 22:28:36 +0000 (22:28 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Thu, 6 Nov 2014 22:28:36 +0000 (22:28 +0000)
this is now possible because -Tps now handles backspace overstriking.

chars.in
mdoc_man.c

index 5359d0528852e24b48d59b1f705ac2d513995fda..752015c1b6d4ec12086a159a26120a40aac99cee 100644 (file)
--- a/chars.in
+++ b/chars.in
@@ -1,4 +1,4 @@
-/*     $Id: chars.in,v 1.48 2014/10/29 03:35:09 schwarze Exp $ */
+/*     $Id: chars.in,v 1.49 2014/11/06 22:28:36 schwarze Exp $ */
 /*
  * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -364,7 +364,7 @@ CHAR("rs",                  "\\",           92)
 
 /* Text markers. */
 CHAR("ci",                     "O",            9675)
-CHAR("bu",                     "o",            8226)
+CHAR("bu",                     "+\bo",         8226)
 CHAR("dd",                     "|\b=",         8225)
 CHAR("dg",                     "|\b-",         8224)
 CHAR("lz",                     "<>",           9674)
index 62082f319286714db91c91452ff367d4ae88657f..e0fbeeb4064e737924675a65f083080ab9e3eedf 100644 (file)
@@ -1,4 +1,4 @@
-/*     $Id: mdoc_man.c,v 1.71 2014/10/30 20:10:02 schwarze Exp $ */
+/*     $Id: mdoc_man.c,v 1.72 2014/11/06 22:28:36 schwarze Exp $ */
 /*
  * Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
  *
@@ -1340,7 +1340,7 @@ pre_it(DECL_ARGS)
                        outflags |= MMAN_nl;
                        font_push('B');
                        if (LIST_bullet == bln->norm->Bl.type)
-                               print_word("o");
+                               print_word("\\(bu");
                        else
                                print_word("-");
                        font_pop();