summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-11-06 22:28:36 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-11-06 22:28:36 +0000
commitff905717c89842f1cb420f099793db00bd1ece3c (patch)
tree3230947c3e43cf56583476219bfe06b141216ed7
parente91f833a2c7da961fc0742650eae391056d9ccc3 (diff)
downloadmandoc-ff905717c89842f1cb420f099793db00bd1ece3c.tar.gz
Let -Tascii \(bu (bullet) output agree with groff;
this is now possible because -Tps now handles backspace overstriking.
-rw-r--r--chars.in2
-rw-r--r--mdoc_man.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/chars.in b/chars.in
index 06c7d068..15974823 100644
--- a/chars.in
+++ b/chars.in
@@ -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)
diff --git a/mdoc_man.c b/mdoc_man.c
index 309b508f..234b9929 100644
--- a/mdoc_man.c
+++ b/mdoc_man.c
@@ -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();