aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--chars.c3
-rw-r--r--mandoc_char.75
-rw-r--r--regress/char/unicode/ascii.in2
-rw-r--r--regress/char/unicode/ascii.out_ascii2
-rw-r--r--regress/char/unicode/ascii.out_html2
-rw-r--r--regress/char/unicode/ascii.out_utf82
6 files changed, 9 insertions, 7 deletions
diff --git a/chars.c b/chars.c
index 4d37c325..039e6dc0 100644
--- a/chars.c
+++ b/chars.c
@@ -1,4 +1,4 @@
-/* $Id: chars.c,v 1.70 2017/06/02 12:43:52 schwarze Exp $ */
+/* $Id: chars.c,v 1.71 2017/06/14 20:57:07 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -61,6 +61,7 @@ static struct ln lines[] = {
{ "ba", "|", 0x007c },
{ "br", "|", 0x2502 },
{ "ul", "_", 0x005f },
+ { "ru", "_", 0x005f },
{ "rn", "-", 0x203e },
{ "bb", "|", 0x00a6 },
{ "sl", "/", 0x002f },
diff --git a/mandoc_char.7 b/mandoc_char.7
index 2c82a9be..a372b3e9 100644
--- a/mandoc_char.7
+++ b/mandoc_char.7
@@ -1,4 +1,4 @@
-.\" $Id: mandoc_char.7,v 1.66 2017/06/02 12:43:52 schwarze Exp $
+.\" $Id: mandoc_char.7,v 1.67 2017/06/14 20:57:07 schwarze Exp $
.\"
.\" Copyright (c) 2003 Jason McIntyre <jmc@openbsd.org>
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -16,7 +16,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: June 2 2017 $
+.Dd $Mdocdate: June 14 2017 $
.Dt MANDOC_CHAR 7
.Os
.Sh NAME
@@ -260,6 +260,7 @@ Lines:
.It \e(ba Ta \(ba Ta bar
.It \e(br Ta \(br Ta box rule
.It \e(ul Ta \(ul Ta underscore
+.It \e(ru Ta \(ru Ta underscore (width 0.5m)
.It \e(rn Ta \(rn Ta overline
.It \e(bb Ta \(bb Ta broken bar
.It \e(sl Ta \(sl Ta forward slash
diff --git a/regress/char/unicode/ascii.in b/regress/char/unicode/ascii.in
index c75da2c0..66664155 100644
--- a/regress/char/unicode/ascii.in
+++ b/regress/char/unicode/ascii.in
@@ -18,7 +18,7 @@ BEGINTEST
\[u005C]\N'92'\e\(rs REVERSE SOLIDUS
\[u005D]\N'93'\(rB RIGHT SQUARE BRACKET
\[u005E]\N'94'\(a^\(ha CIRCUMFLEX ACCENT
-\[u005F]\N'95'\(ul LOW LINE
+\[u005F]\N'95'\(ul\(ru LOW LINE
\[u0060]\N'96'\`\(ga GRAVE ACCENT
\[u007B]\N'123'\(lC LEFT CURLY BRACKET
\[u007C]\N'124'\(ba\(or VERTICAL LINE
diff --git a/regress/char/unicode/ascii.out_ascii b/regress/char/unicode/ascii.out_ascii
index 74b5d286..f46e0f36 100644
--- a/regress/char/unicode/ascii.out_ascii
+++ b/regress/char/unicode/ascii.out_ascii
@@ -21,7 +21,7 @@ DDEESSCCRRIIPPTTIIOONN
\\\\ REVERSE SOLIDUS
]]] RIGHT SQUARE BRACKET
^^^^ CIRCUMFLEX ACCENT
- ___ LOW LINE
+ ____ LOW LINE
```` GRAVE ACCENT
{{{ LEFT CURLY BRACKET
|||| VERTICAL LINE
diff --git a/regress/char/unicode/ascii.out_html b/regress/char/unicode/ascii.out_html
index deef5bcb..7ebda578 100644
--- a/regress/char/unicode/ascii.out_html
+++ b/regress/char/unicode/ascii.out_html
@@ -13,7 +13,7 @@ $$$ DOLLAR SIGN
\\\\ REVERSE SOLIDUS
]]] RIGHT SQUARE BRACKET
^^^^ CIRCUMFLEX ACCENT
-___ LOW LINE
+____ LOW LINE
```` GRAVE ACCENT
{{{ LEFT CURLY BRACKET
|||| VERTICAL LINE
diff --git a/regress/char/unicode/ascii.out_utf8 b/regress/char/unicode/ascii.out_utf8
index 74b5d286..f46e0f36 100644
--- a/regress/char/unicode/ascii.out_utf8
+++ b/regress/char/unicode/ascii.out_utf8
@@ -21,7 +21,7 @@ DDEESSCCRRIIPPTTIIOONN
\\\\ REVERSE SOLIDUS
]]] RIGHT SQUARE BRACKET
^^^^ CIRCUMFLEX ACCENT
- ___ LOW LINE
+ ____ LOW LINE
```` GRAVE ACCENT
{{{ LEFT CURLY BRACKET
|||| VERTICAL LINE