diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-06 22:28:36 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-11-06 22:28:36 +0000 |
commit | 3656477d258002490ebe1ae226e993fcfab79dc0 (patch) | |
tree | 014393d7ef96cdbf2620224abe51aed3b829b632 | |
parent | 570b884a913ba6a94be4cb30c6d39915256fe27b (diff) | |
download | mandoc-3656477d258002490ebe1ae226e993fcfab79dc0.tar.gz mandoc-3656477d258002490ebe1ae226e993fcfab79dc0.tar.zst mandoc-3656477d258002490ebe1ae226e993fcfab79dc0.zip |
Let -Tascii \(bu (bullet) output agree with groff;
this is now possible because -Tps now handles backspace overstriking.
-rw-r--r-- | chars.in | 4 | ||||
-rw-r--r-- | mdoc_man.c | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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) @@ -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(); |