aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/chars.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-08-21 01:59:22 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-08-21 01:59:22 +0000
commitad0864c38192de84199a5ec12f8ae619a3f124c6 (patch)
tree1828d7d17ae02ff07be012519f6d2705cfe3ee81 /chars.c
parent90f42c1ca55bc5c689d6936a5fe3eaf6312e5208 (diff)
downloadmandoc-ad0864c38192de84199a5ec12f8ae619a3f124c6.tar.gz
mandoc-ad0864c38192de84199a5ec12f8ae619a3f124c6.tar.zst
mandoc-ad0864c38192de84199a5ec12f8ae619a3f124c6.zip
Fix some issues found looking at groff_char(7):
* Add two missing characters, \('Y and \('y. * The Weierstrass p is not capital, see http://unicode.org/notes/tn27/. * Add a groff-compatible ASCII transliteration for U+02DC: "~".
Diffstat (limited to 'chars.c')
-rw-r--r--chars.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/chars.c b/chars.c
index 21c6b59b..46f408d4 100644
--- a/chars.c
+++ b/chars.c
@@ -1,4 +1,4 @@
-/* $Id: chars.c,v 1.74 2018/08/19 23:48:36 schwarze Exp $ */
+/* $Id: chars.c,v 1.75 2018/08/21 01:59:22 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -241,7 +241,7 @@ static struct ln lines[] = {
{ "Ah", "<Aleph>", 0x2135 },
{ "Im", "<Im>", 0x2111 },
{ "Re", "<Re>", 0x211c },
- { "wp", "P", 0x2118 },
+ { "wp", "p", 0x2118 },
{ "pd", "<del>", 0x2202 },
{ "-h", "/h", 0x210f },
{ "hbar", "/h", 0x210f },
@@ -288,6 +288,7 @@ static struct ln lines[] = {
{ "ho", ",", 0x02db },
{ "ha", "^", 0x005e },
{ "ti", "~", 0x007e },
+ { "u02DC", "~", 0x02dc },
/* Accented letters. */
{ "'A", "'\bA", 0x00c1 },
@@ -295,11 +296,13 @@ static struct ln lines[] = {
{ "'I", "'\bI", 0x00cd },
{ "'O", "'\bO", 0x00d3 },
{ "'U", "'\bU", 0x00da },
+ { "'Y", "'\bY", 0x00dd },
{ "'a", "'\ba", 0x00e1 },
{ "'e", "'\be", 0x00e9 },
{ "'i", "'\bi", 0x00ed },
{ "'o", "'\bo", 0x00f3 },
{ "'u", "'\bu", 0x00fa },
+ { "'y", "'\by", 0x00fd },
{ "`A", "`\bA", 0x00c0 },
{ "`E", "`\bE", 0x00c8 },
{ "`I", "`\bI", 0x00cc },